Daily "I'm OK" notification
Jason L. Faulkner
jfaulkne at icontact.com
Mon Mar 24 21:50:41 CET 2008
Seems to me that if you want it to send every day no matter what, you might just want to use cron or atd, not nagios.
----- Original Message -----
From: "Matt Nelson" <matt at frozenatom.com>
To: nagios-users at lists.sourceforge.net
Sent: Monday, March 24, 2008 4:47:03 PM (GMT-0500) America/New_York
Subject: [Nagios-users] Daily "I'm OK" notification
I currently have a nagios command check_daily.sh that returns:
"Modem OK - Hosts: 74/74 OK - Services: 280/280 OK"
and returns a value of 0, STATE_OK. I would like this to run daily and send the
string above via sms.
The problem that I can't figure out is how do I run this command as a service, let it run ok, but still trigger a notification to be sent. I know I could have it return 1, 2, or 3 but then I have a ugly red, orange, or yellow status in the "Service Status Totals" all the time.
--
Jason Faulkner
Lead Systems Engineer
iContact Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080324/fc577625/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- 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