Different groups views
Fredrik Wänglund
fredrik.wanglund at datavis.se
Fri Apr 25 15:24:16 CEST 2003
Do you have
register 1
in the first hostgroup definition
/FredrikW
Steve Dussaux wrote:
>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
>
>
-------------------------------------------------------
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