Export to GitHub

molniya - issue #11

Crashes when Nagios is down


Posted on Oct 23, 2009 by Happy Hippo

What steps will reproduce the problem? 1. Restart Nagios at the wrong time (or probably just stop Nagios)

What is the expected output? What do you see instead?

Molniya crashes:

/site/lib/ruby/1.8/pathname.rb:768:in mtime': No such file or directory - /usr/local/nagios/var/status.dat (Errno::ENOENT) from /site/lib/ruby/1.8/pathname.rb:768:inmtime' from ./nagios.rb:125:in refresh_if_needed' from /site/lib/ruby/1.8/monitor.rb:242:insynchronize' from ./nagios.rb:124:in refresh_if_needed' from ./nagios.rb:436:inrefresh_if_needed' from ./nagios.rb:162:in contents' from ./molniya.rb:433:instatus_report' from ./molniya.rb:588:in update_status_msg' from ./molniya.rb:535:inrun' from ./molniya.rb:752:in `launch' from -e:1

Comment #1

Posted on Apr 21, 2010 by Happy Hippo

This issue was closed by revision r38.

Status: Fixed

Labels:
Type-Defect Priority-Medium