mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 18:33:45 +01:00
This commit is contained in:
parent
e1969b7134
commit
a5a147d87f
@ -22,7 +22,7 @@
|
|||||||
# If you do not have sssu, check your commandview CD, it should have both
|
# If you do not have sssu, check your commandview CD, it should have both
|
||||||
# binaries for Windows and Linux
|
# binaries for Windows and Linux
|
||||||
|
|
||||||
debugging = True
|
debugging = False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -100,6 +100,7 @@ def end():
|
|||||||
global nagios_status
|
global nagios_status
|
||||||
print "%s - %s | %s" % (state[nagios_status], summary,perfdata)
|
print "%s - %s | %s" % (state[nagios_status], summary,perfdata)
|
||||||
print longserviceoutput
|
print longserviceoutput
|
||||||
|
if nagios_status < 0: nagios_status = unknown
|
||||||
exit(nagios_status)
|
exit(nagios_status)
|
||||||
|
|
||||||
def add_perfdata(text):
|
def add_perfdata(text):
|
||||||
|
Loading…
Reference in New Issue
Block a user