Different notifications depending on warning?

Israel Brewster israel at frontierflying.com
Mon Feb 16 19:47:03 CET 2009


On Feb 16, 2009, at 9:07 AM, RijilV wrote:

> 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.

Sounds promising. I'll give it a shot.

-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------

>
>
> .r'
> ------------------------------------------------------------------------------
> 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_______________________________________________
> 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/20090216/a2c69c55/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