[Pkg-nagios-devel] Bug#680615: nagios3: init script confusion between 'check' and 'status'
Gabriel Filion
lelutin at gmail.com
Wed Sep 12 06:49:04 UTC 2012
oh, well this looks like the root cause of bug #659331
thanks to have found this, Stephan.
I tried renaming the second function definition to check() and the
script is now back to normal behaviour:
root at nagios0:~# /etc/init.d/nagios3 check
/etc/init.d/nagios3: 247: check: not found
root at nagios0:~# sed -i '209s/status/check/' /etc/init.d/nagios3
root at nagios0:~# /etc/init.d/nagios3 status
checking /usr/sbin/nagios3...done (running).
root at nagios0:~# /etc/init.d/nagios3 check
[... nagios -v output]
--
Gabriel Filion
More information about the Pkg-nagios-devel
mailing list