Initscript bug in debian

jan gregor pamela at rak.bb.euroweb.sk
Mon Oct 18 09:13:44 CEST 2004


Hello

I have just found and reported problem in initscript of nagios in debian
testing. It has this line in it:
 if /usr/lib/nagios/plugins/check_nagios -F /var/cache/nagios/status.log
 -e 5 -C 'nagios' > /dev/null; then

When /var/cache/nagios/status.log does not exist (default configuration
on debian, it is in /var/log/nagios/status.log) it fails to check
whether nagios is running. This does nasty things when reloading config
files.

If anyone experienced hanging processes of nagios in testing after
running /etc/init.d/nagios reload, this was possibly be the problem.


Best regards

Jan Gregor


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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