<br><br><div class="gmail_quote">On Mon, Mar 24, 2008 at 2:50 PM, Jason L. Faulkner <<a href="mailto:jfaulkne@icontact.com" target="_blank">jfaulkne@icontact.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>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.<div><div></div><div><br><br>----- Original Message -----<br>From: "Matt Nelson" <<a href="mailto:matt@frozenatom.com" target="_blank">matt@frozenatom.com</a>><br>

To: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>Sent: Monday, March 24, 2008 4:47:03 PM (GMT-0500) America/New_York<br>Subject: [Nagios-users] Daily "I'm OK" notification<br>

<br>I currently have a nagios command check_daily.sh that returns:<br><br>"Modem OK - Hosts: 74/74 OK - Services: 280/280 OK"<br><br>and returns a value of 0, STATE_OK.  I would like this to run daily and send the <br>


string above via sms.<br><br>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.<br>


<br><br></div></div><font color="#888888">-- <br>Jason Faulkner<br>Lead Systems Engineer<br>iContact Corporation<br><br></font></div></blockquote></div>I would do this but I would like to send it from the actual nagios daemon.  I have been burned in the past with incorrect permissions set on the sms binary, etc to where the notification went out fine as root, but when nagios actually went to try it as the nagios user, it did not have rights.  Also we use some groundworks and its tests use the nobody user which adds another user that we had to deal with, etc...<br>