services.cfg and notifications (wishfull thinking)
Russell Scibetti
russell at quadrix.com
Tue Mar 18 19:15:38 CET 2003
For notifications, you are in complete control on what Nagios executes.
If you make a "smart" notification script, the script can know what
services should also causes pages to be sent. Then, you make a command
definition (probably in the misccommands.cfg file) that calls this
script with several arguments (the host name, service name, output,
pager, email, etc). Use this as your notification command for your
contacts.
Another option is to make 2 contact groups, one for contacting via email
and one for contacting via pager. Then, you can use the contact_groups
setting of a service definition to have some services use both groups
(sends pages and emails) and others just the email contactgroup.
As for sending to individual contacts, this is currently not an option
anywhere. I don't know if there is any plan to add it as an additional
feature.
Russell
Williams, P. Lane wrote:
>I would like to send notifications to individual contacts without creating a
>new contactgroup for services. Such as use "contacts" instead of just
>"contact_groups". Has anyone found where in the code this can be enabled.
>
>I would also like to be notified by pager and by email for some services and
>only email for other services. The only way I see doing this is making use
>of event handlers.
>
>Anyone have any ideas?
>
>Thanks,
>
>Lane
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Does your code think in ink?
>You could win a Tablet PC. Get a free Tablet PC hat just for playing.
>What are you waiting for?
>http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
>_______________________________________________
>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
>
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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