1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2026-02-05 22:55:17 +01:00
This commit is contained in:
Pall Sigurdsson
2013-09-02 15:02:51 +00:00
16 changed files with 1278 additions and 1 deletions

View File

@@ -493,6 +493,7 @@ def check_generic(command="ls disk full",namefield="objectname", perfdata_fields
for field in perfdata_fields:
if field == '': continue
print perfdata_fields
add_perfdata( "'%s%s'=%s " % (identifier, field, i.get(field,None) ))
# Disk group gets a special perfdata treatment
@@ -598,7 +599,7 @@ def check_controllers():
longoutput( "- serialnumber = %s \n" %(i['serialnumber']))
controllertemperaturestatus = not_present
controllertemper1aturestatus = not_present
fanstate = not_present
hostportstate = not_present
sensorstate = ok