Services and Contact Groups
Hari Sekhon
hpsekhon at googlemail.com
Wed Nov 29 13:14:24 CET 2006
yes, the service_description can be called SSH in both cases.
I do this.
-h
Hari Sekhon
Felipe Neuwald wrote:
> Hari,
>
> But may I call the 2 service definitions as ssh ?
>
> Felipe.
>
> Hari Sekhon escreveu:
>> just split it into 2 service definitions, one with the 3 hosts you
>> want with contacts for both groups and the second group with only the
>> admins contact.
>>
>> -h
>> Hari Sekhon
>>
>>
>>
>> Felipe Neuwald wrote:
>>> Hi Folks,
>>>
>>> I have nagios 2.5 and nagios-plugins 1.4.5,1 running on a FreeBSD
>>> 6.2-PRERELEASE.
>>>
>>> define service{
>>> use generic-service ;
>>> Name of service template to use
>>> host_name
>>> sun,earth,moon,gordo,turbofone,ledj,spirit,oberon,sputinik,mars,cs,mercury,encontreitudo03,encontreitudo02,encontreitudo01
>>> service_description ssh
>>> is_volatile 0
>>> check_period 24x7
>>> max_check_attempts 4
>>> retry_check_interval 1
>>> contact_groups admins
>>> notification_options w,u,c,r
>>> notification_interval 960
>>> notification_period 24x7
>>> check_command check_ssh
>>> }
>>>
>>> The problem is, when the service ssh on hosts encontreitudo01,
>>> encontreitudo02, and encontreitudo03 goes down, I need that other
>>> contact_group then admin receive notification too. The only way that
>>> I found to do this, is specify contact_groups admins,
>>> othercontactgroup. But when other hosts goes down, the
>>> othercontactgroup will too receive notifications.
>>>
>>> There is a way to solve this problem?
>>>
>>> Thank you,
>>>
>>> Felipe Neuwald.
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> 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
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061129/420df626/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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