mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-05 01:53:44 +01:00
bugfix, check_nagios_needs_reload check for reload instead of reparse
This commit is contained in:
parent
bd4aa7f57d
commit
65004322a9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user