a3rd / molniya

Automatically exported from code.google.com/p/molniya
GNU General Public License v2.0
0 stars 0 forks source link

Crashes when Nagios is down #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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:in `mtime'
        from ./nagios.rb:125:in `refresh_if_needed'
        from /site/lib/ruby/1.8/monitor.rb:242:in `synchronize'
        from ./nagios.rb:124:in `refresh_if_needed'
        from ./nagios.rb:436:in `refresh_if_needed'
        from ./nagios.rb:162:in `contents'
        from ./molniya.rb:433:in `status_report'
        from ./molniya.rb:588:in `update_status_msg'
        from ./molniya.rb:535:in `run'
        from ./molniya.rb:752:in `launch'
        from -e:1

Original issue reported on code.google.com by cswhee...@gmail.com on 23 Oct 2009 at 8:14

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r38.

Original comment by cswhee...@gmail.com on 21 Apr 2010 at 9:35