Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
mtrento
bymtrento, August 3, 2012
hello
thank you for creating this plugin.
i tested the plugin on a ibm x3550 M4 and i get a critical alert stating :
IPMI Status : Critical [DASD Backplane 2 = Critical]
ibm says :
Drive drive has reported a fault. This event must be cleared manually.
http://pic.dhe.ibm.com/infocenter/director/v5r2/index.jsp?topic=/diricinfo_5.20/fqm0_r_events_cim_system.html
i cleared all events in the megaraidcli but still have the message.
ipmimonitoring command says
Dasd backplane 2 entity presence critical , entity Absent
i do not see other events in the ibm managment interface. And there is no alert led
do you have some clues?
Regards
thank you for creating this plugin.
i tested the plugin on a ibm x3550 M4 and i get a critical alert stating :
IPMI Status : Critical [DASD Backplane 2 = Critical]
ibm says :
Drive drive has reported a fault. This event must be cleared manually.
http://pic.dhe.ibm.com/infocenter/director/v5r2/index.jsp?topic=/diricinfo_5.20/fqm0_r_events_cim_system.html
i cleared all events in the megaraidcli but still have the message.
ipmimonitoring command says
Dasd backplane 2 entity presence critical , entity Absent
i do not see other events in the ibm managment interface. And there is no alert led
do you have some clues?
Regards
bymtrento, November 21, 2011
i just tested it sucessfully with a DS3400.
SMCli can be downloaded here :
http://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm/Storage_Disk&product=ibm/Storage_Disk/DS3400&release=All&platform=All&function=all
The script do not bother of clock synchronisation , it reports only the status.
Here a sample output:
./check_IBM_DS_health.sh -a 10.0.0.1
The controller clocks in the storage subsystem are out of synchronization with the storage management station. Controller in Slot A: Mon Nov 21 22:29:53 CET
2011 Controller in Slot B: Mon Nov 21 22:27:57 CET 2011 Storage Management Station: Mon Nov 21 13:41:00 CET 2011 Storage Subsystem health status = optimal.
OK
SMCli can be downloaded here :
http://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm/Storage_Disk&product=ibm/Storage_Disk/DS3400&release=All&platform=All&function=all
The script do not bother of clock synchronisation , it reports only the status.
Here a sample output:
./check_IBM_DS_health.sh -a 10.0.0.1
The controller clocks in the storage subsystem are out of synchronization with the storage management station. Controller in Slot A: Mon Nov 21 22:29:53 CET
2011 Controller in Slot B: Mon Nov 21 22:27:57 CET 2011 Storage Management Station: Mon Nov 21 13:41:00 CET 2011 Storage Subsystem health status = optimal.
OK
bymtrento, September 22, 2011
here are recomandations for beginners :
- the ssh passwordless login must be done with user admin : eg ssh admin@cluster-ip
then the security check will be done with user provided in private key
- list your disk groups with command : svcinfo lsmdiskgrp
- the script require to have all parameters set to function. for example :
./check_svc_mdiskgrp.pl -cluster 192.168.1.1 -mdiskgrp B44-SAS -w 90 -c 99
sample output :
OK - B44-SAS 'Usage %' = 95.65; OK - B44-SAS 'Capacity' = 1672.75; OK - B44-SAS 'free Capacity' 72.75; OK - B44-SAS 'used Capacity' 1600.00; OK - B44-SAS 'real Capacity' 1600.00; OK - B44-SAS 'virtual Capacity' 1600.00|'Usage_%'=95.65;98;99;;'Capacity'=1672.75;'free_Capacity'=72.75;'used_Capacity'=1600.00;'real_Capacity=1600.00;'virtual_Capacity'=1600.00
- the ssh passwordless login must be done with user admin : eg ssh admin@cluster-ip
then the security check will be done with user provided in private key
- list your disk groups with command : svcinfo lsmdiskgrp
- the script require to have all parameters set to function. for example :
./check_svc_mdiskgrp.pl -cluster 192.168.1.1 -mdiskgrp B44-SAS -w 90 -c 99
sample output :
OK - B44-SAS 'Usage %' = 95.65; OK - B44-SAS 'Capacity' = 1672.75; OK - B44-SAS 'free Capacity' 72.75; OK - B44-SAS 'used Capacity' 1600.00; OK - B44-SAS 'real Capacity' 1600.00; OK - B44-SAS 'virtual Capacity' 1600.00|'Usage_%'=95.65;98;99;;'Capacity'=1672.75;'free_Capacity'=72.75;'used_Capacity'=1600.00;'real_Capacity=1600.00;'virtual_Capacity'=1600.00
bymtrento, August 23, 2011
hello ,
i get this error and i already have installed net-snmp modules
./check_snmp_isl_ciscoMDS9k-v1.1.pl -H 10.250.0.13 -C public
Can't locate object method "new" via package "SNMP::Session" (perhaps you forgot to load "SNMP::Session"?) at ./check_snmp_isl_ciscoMDS9k-v1.1.pl line 128.
i get this error and i already have installed net-snmp modules
./check_snmp_isl_ciscoMDS9k-v1.1.pl -H 10.250.0.13 -C public
Can't locate object method "new" via package "SNMP::Session" (perhaps you forgot to load "SNMP::Session"?) at ./check_snmp_isl_ciscoMDS9k-v1.1.pl line 128.
same error here but i suspect a perl library update to have it broken because it worked before.
here the verbose log i get on a cisco server
20110824 09:53:36 Connection to https://10.47.5.251
20110824 09:53:36 Check classe OMC_SMASHFirmwareIdentity
20110824 09:53:36 Element Name = System BIOS
20110824 09:53:36 VersionString = C200.1.3.1c.0.021920110242
20110824 09:53:36 Check classe CIM_Chassis
20110824 09:53:37 Element Name = Chassis
20110824 09:53:37 Manufacturer = Cisco Systems Inc
20110824 09:53:37 SerialNumber = QCI1424A0WS
20110824 09:53:37 Model = R210-2121605W
20110824 09:53:37 Element Op Status = 0
20110824 09:53:37 Check classe CIM_Card
20110824 09:53:37 Element Name = Server Blade
20110824 09:53:37 SerialNumber = QCI1423A2CW
20110824 09:53:37 Element Op Status = 0
20110824 09:53:37 Check classe CIM_ComputerSystem
20110824 09:53:38 Element Name = System Board 7:0
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:24
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:29
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:30
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:31
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:32
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:33
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = Add-in Card 11:0
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = Add-in Card 11:1
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = esx01.sab.be
20110824 09:53:38 Element Name = Hardware Management Controller (Node 0)
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = Controller 0 (LSI MegaRAID SAS 9261-8i)
20110824 09:53:38 Element Op Status = 2
20110824 09:53:38 Check classe CIM_NumericSensor
Traceback (most recent call last):
File "check_esxi_hardware.py", line 493, in ?
instance_list = wbemclient.EnumerateInstances(classe)
File "/usr/lib/python2.4/site-packages/pywbem/cim_operations.py", line 403, in EnumerateInstances
ClassName = CIMClassName(ClassName),
File "/usr/lib/python2.4/site-packages/pywbem/cim_operations.py", line 178, in imethodcall
reply_dom = minidom.parseString(resp_xml)
File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 942, in parseString
return builder.parseString(string)
File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2759, column 7
here the verbose log i get on a cisco server
20110824 09:53:36 Connection to https://10.47.5.251
20110824 09:53:36 Check classe OMC_SMASHFirmwareIdentity
20110824 09:53:36 Element Name = System BIOS
20110824 09:53:36 VersionString = C200.1.3.1c.0.021920110242
20110824 09:53:36 Check classe CIM_Chassis
20110824 09:53:37 Element Name = Chassis
20110824 09:53:37 Manufacturer = Cisco Systems Inc
20110824 09:53:37 SerialNumber = QCI1424A0WS
20110824 09:53:37 Model = R210-2121605W
20110824 09:53:37 Element Op Status = 0
20110824 09:53:37 Check classe CIM_Card
20110824 09:53:37 Element Name = Server Blade
20110824 09:53:37 SerialNumber = QCI1423A2CW
20110824 09:53:37 Element Op Status = 0
20110824 09:53:37 Check classe CIM_ComputerSystem
20110824 09:53:38 Element Name = System Board 7:0
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:24
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:29
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:30
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:31
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:32
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = System Board 7:33
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = Add-in Card 11:0
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = Add-in Card 11:1
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = esx01.sab.be
20110824 09:53:38 Element Name = Hardware Management Controller (Node 0)
20110824 09:53:38 Element Op Status = 0
20110824 09:53:38 Element Name = Controller 0 (LSI MegaRAID SAS 9261-8i)
20110824 09:53:38 Element Op Status = 2
20110824 09:53:38 Check classe CIM_NumericSensor
Traceback (most recent call last):
File "check_esxi_hardware.py", line 493, in ?
instance_list = wbemclient.EnumerateInstances(classe)
File "/usr/lib/python2.4/site-packages/pywbem/cim_operations.py", line 403, in EnumerateInstances
ClassName = CIMClassName(ClassName),
File "/usr/lib/python2.4/site-packages/pywbem/cim_operations.py", line 178, in imethodcall
reply_dom = minidom.parseString(resp_xml)
File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 942, in parseString
return builder.parseString(string)
File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2759, column 7