nagios-plugin-check_raid
nagios-plugin-check_raid copied to clipboard
arcconf: bbu monitoring for flash+battery/supercap adaptec modules
This is feature request about adding support for adaptec flash+battery/supercap cache protection modules (instead of typical ram+battery) like AFM-700 in --bbu-monitoring option.
https://www.adaptec.com/nr/pdfs/AFM700_ds.pdf
Relevant part is:
--------------------------------------------------------
Controller Cache Backup Unit Information
--------------------------------------------------------
Overall Backup Unit Status : Ready
Backup Unit Type : AFM-700/700LP
Non-Volatile Storage Status : Ready
Supercap Status : Ready
-----------------------------------
Supercap Information
-----------------------------------
Current Temperature : 34 deg C
Threshold Temperature : 51 deg C
Life-time Temperature Recorded
(Min/Max) : 19 deg C/ 52 deg C
Voltage(Present/Max) : 4925 mV/ 5302 mV
Life-time Max Voltage Recorded : 5432 mV
Current Drawn(Present/Max) : -11 mA/ 560 mA
Health : 100 percent
Charge Level : 100 percent
Estimated Life-time : 5 Years, 0 Month
Serial Number : 4A381D8CB65
----------------------------------------------------------------------
Output of check_raid -d
:
# /usr/lib/nagios/plugins/check_raid -d --bbu-monitoring
check_raid 4.0.8-dev
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs
Please include output of **ALL** commands in bugreport
DEBUG EXEC: /sbin/dmsetup status --noflush at /usr/share/perl5/vendor_perl/App/Monitoring/Plugin/CheckRaid/Plugin.pm line 385.
DEBUG EXEC: /sbin/arcconf GETSTATUS 1 at /usr/share/perl5/vendor_perl/App/Monitoring/Plugin/CheckRaid/Plugin.pm line 385.
DEBUG EXEC: /sbin/arcconf GETCONFIG 1 AL at /usr/share/perl5/vendor_perl/App/Monitoring/Plugin/CheckRaid/Plugin.pm line 385.
OK: arcconf:[Controller:Optimal, Logical Device 0(ROOTFS):Optimal, Logical Device 1(SWAP):Optimal, Logical Device 2(DATA):Optimal, Drives: PN2234P9HNSEBY,PN2234P8KMM9BY,PN2234P9HN6E5Y,PN2234P9HNDW9Y=Online]
Output of each command from check_raid -d
Example of unrecognized failure:
Overall Backup Unit Status : Not Ready
# /usr/lib/nagios/plugins/check_raid -d --bbu-monitoring
check_raid 4.0.10-1
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs
Please include output of **ALL** commands in bugreport
DEBUG EXEC: /sbin/dmsetup status --noflush at /usr/share/perl5/vendor_perl/App/Monitoring/Plugin/CheckRaid/Plugin.pm line 404.
DEBUG EXEC: /proc/mdstat at /usr/share/perl5/vendor_perl/App/Monitoring/Plugin/CheckRaid/Plugin.pm line 404.
DEBUG EXEC: /sbin/arcconf GETSTATUS 1 at /usr/share/perl5/vendor_perl/App/Monitoring/Plugin/CheckRaid/Plugin.pm line 404.
DEBUG EXEC: /sbin/arcconf GETCONFIG 1 AL at /usr/share/perl5/vendor_perl/App/Monitoring/Plugin/CheckRaid/Plugin.pm line 404.