I have a cron job that does daemon-init reload every 45 min
to ensure I capture all new ec2 nodes that might be spun up.

*/45 * * * *  myscript.sh   <-- this is my cron

however, my nagios logs show a restart on the hour as well as on the 45 mark
why?



[06-10-2011 09:00:14] LOG VERSION: 2.0
Informational Message[06-10-2011 09:00:14] Local time is Fri Jun 10 09:00:14 PDT 2011

Program Start[06-10-2011 09:00:14] Nagios 3.2.1 starting... (PID=49358)
Program Restart[06-10-2011 09:00:14] Caught SIGHUP, restarting...

Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:45:13] Warning: Host 'xxx' has no services associated with it!
Informational Message[06-10-2011 08:45:13] LOG VERSION: 2.0
Informational Message[06-10-2011 08:45:13] Local time is Fri Jun 10 08:45:13 PDT 2011

Program Start[06-10-2011 08:45:13] Nagios 3.2.1 starting... (PID=49358)
Program Restart[06-10-2011 08:45:13] Caught SIGHUP, restarting...

Informational Message[06-10-2011 08:00:13] Warning: Host 'xxx' has no services associated with it! Informational Message[06-10-2011 08:00:13] Warning: Host 'xxx' has no services associated with it!

Julie S. Lin
System Administrator
[email protected]
(510) 553 4912 (o)
(510) 367 5772 (c)


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Nagios-users mailing list
[email protected]
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