1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-25 11:53:48 +01:00

bugfix, check_nagios_needs_reload check for reload instead of reparse

This commit is contained in:
Pall Sigurdsson 2012-08-07 13:23:08 +00:00
parent bd4aa7f57d
commit 65004322a9

View File

@ -7,7 +7,7 @@ try:
c = config(cfg_file='/etc/nagios/nagios.cfg')
c.parse()
result = c.needs_reparse()
result = c.needs_reload()
if result == True:
print "Warning - Nagios configuration has changed since last restart"