Notification options
Schmitz, Carsten
Carsten.Schmitz at aegon.com
Mon Jan 10 17:05:06 CET 2005
Hi,
Have not tried this yet, but it should be possible.
In the contacts.cfg, for each contact the host_notification_commands and service_notification_commands are not mandatory. So you could have your network admins with host_notification_commands and your DBAs with service_notification_commands only (unless there are other machines where the network admins need to monitor services as well). But this is probably a dirty hack and would be asking for trouble.
The way I do it (using Nagios 1.2, and having the quote "Nagios is a service monitor, not a host monitor" ringing in my ears ;) is to have a service "Ping" defined for every host, which alerts all the net admins via a contact group when the machine stops responding to ICMP (usually meaning: its dead).
Whatever command/method you may be using for the host check, you could probably turn it into a service check and enjoy contact group flexibility.
Regards
----------------------------------------------------------------------
Carsten Schmitz AEGON N.V.
System Administrator AEGONplein 50
Group Information Management 2591TV The Hague
The Netherlands
----------------------------------------------------------------------
"Unix is not user unfriendly. It's just picky about its friends"
----------------------------------------------------------------------
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jennifer
Fountain
Sent: Monday, January 10, 2005 4:41 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Notification options
Hi All:
I have a question concerning host/service notifications. I would like
to configure host up/down alerts to go to the network admins and service
issues sent to the DBAs (such has sql not up, etc). Is this possible?
Kind Regards,
Jennifer Fountain
Systems Administrator/Security
R&B Distribution
3400 E Walnut Street
Colmar, PA 18915
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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