Different groups views
Steve Dussaux
stevox2000 at yahoo.com
Fri Apr 25 15:38:07 CEST 2003
I think I could manage to be able to do what I want but I'm sure I will have problems
with stats.
I think it's not possible to have 2 views in Nagios without alterating stats (reporting).
Steve
--- Dean Bishop <dbishop at ehvert.com> a écrit : > Drat!
>
> K try something like:
>
> Define hostgroup {
> hostgroup_name group1
> name group1
> contact_groups la1,la2,la3,la4
> members box1,box2,box3,box4,box5
> register 0
> }
>
> Define hostgroup {
> use group1
> hostgroup_name group-o-print-servers
> name group-o-print-servers
> }
>
> Define hostgroup {
> use group1
> hostgroup_name group-o-file-servers
> name group-o-file-servers
> }
>
>
>
> -----Original Message-----
> From: Steve Dussaux [mailto:stevox2000 at yahoo.com]
> Sent: April 25, 2003 8:37 AM
> To: Dean Bishop; 'Jim Olsen'; 'Andrzej Wisniewski'
> Cc: nagios-users at sourceforge.net
> Subject: RE: [Nagios-users] Different groups views
>
> Nop It doesn't work
>
> >
> > define hostgroup{
> > hostgroup_name group1
> > name group1
> > alias mail servers
> > contact_groups la1,la2,la3,la4
> > members box1,box2,box3,box4,box5
> > }
>
> if you define template then Nagios will not display 2 groups but 1 group,
> the one who use the group template.
> In our case group1 disappears.
>
> Steve
>
> --- Dean Bishop <dbishop at ehvert.com> a écrit : > Oooh, very clever! And
> neat too!
> >
> > dean
> >
> > -----Original Message-----
> > From: Jim Olsen [mailto:jim at cyberjunkees.com]
> > Sent: April 25, 2003 8:26 AM
> > To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski'
> > Cc: nagios-users at sourceforge.net
> > Subject: Re: [Nagios-users] Different groups views
> >
> > On Friday 25 April 2003 08:06 am, Dean Bishop wrote:
> > > Yes. They could actually be identical except for the hostgroup name.
> > >
> > > dean
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Steve Dussaux [mailto:stevox2000 at yahoo.com]
> > > Sent: April 25, 2003 8:01 AM
> > > To: Dean Bishop; 'Andrzej Wisniewski'
> > > Cc: nagios-users at sourceforge.net
> > > Subject: RE: [Nagios-users] Different groups views
> > >
> > > Yes but I couldn't have 2 groups with similar hosts among these 2
> groups.
> > > could I ???
> >
> > And to take it one step further, you could use the template system so that
>
> > things don't get out of sync, so to speak. ala:
> >
> > define hostgroup{
> > hostgroup_name group1
> > name group1
> > alias mail servers
> > contact_groups la1,la2,la3,la4
> > members box1,box2,box3,box4,box5
> > }
> > define hostgroup{
> > hostgroup_name group2
> > use group1
> > alias mail servers
> > }
> >
> > Now any changes to the members list in group1 will affect group2
> > accordingly.
> >
> > --
> > Jim Olsen
> > Senior Systems Administrator
> > BrowserMedia [http://www.browsermedia.com]
> > 301-656-1144 x165
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list