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

2009/2/16 Israel Brewster <isr...@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@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

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

Reply via email to