Different notifications depending on warning?

RijilV rijilv at riji.lv
Mon Feb 16 19:07:46 CET 2009


2009/2/16 Israel Brewster <israel at frontierflying.com>

> I don't know if this is possible, but is there any way to make nagios
> send different alerts (or, rather not send alerts) depending on what
> exactly a warning state is? My understanding is that nagios only looks
> at the return code, not the status text, so this shouldn't be
> possible, but I figured it couldn't hurt to ask.
>


In the past I have written my own notification program to do similar things,
ie instead of having nagios send email directly, pass it off to some other
program that looks at whatever conditions you want and makes some decisions
based on that.

In this case you could just write a "printer notification" program that
doesn't send email when the service output says low on paper.

.r'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090216/d98be35e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
-------------- 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