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
1 changed files with 1 additions and 1 deletions

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"