mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 10:23:46 +01:00
bugfix, check_wbem() not called
This commit is contained in:
parent
92848de04c
commit
3f0c1d010d
@ -104,7 +104,7 @@ def check_wbem():
|
|||||||
def main():
|
def main():
|
||||||
parse_arguments()
|
parse_arguments()
|
||||||
set_path('')
|
set_path('')
|
||||||
#check_wbem()
|
check_wbem()
|
||||||
end()
|
end()
|
||||||
|
|
||||||
|
|
||||||
@ -266,7 +266,7 @@ def end():
|
|||||||
global nagios_status
|
global nagios_status
|
||||||
global show_longserviceoutput
|
global show_longserviceoutput
|
||||||
global show_perfdata
|
global show_perfdata
|
||||||
message = "%s - %s" % ( state[nagios_state], summary)
|
message = "%s - %s" % ( state[nagios_status], summary)
|
||||||
if show_perfdata:
|
if show_perfdata:
|
||||||
message = "%s | %s" % ( message, perfdata)
|
message = "%s | %s" % ( message, perfdata)
|
||||||
if show_longserviceoutput:
|
if show_longserviceoutput:
|
||||||
|
Loading…
Reference in New Issue
Block a user