Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arcconf: bbu monitoring for flash+battery/supercap adaptec modules #189

Open
arekm opened this issue Dec 11, 2018 · 1 comment
Open

arcconf: bbu monitoring for flash+battery/supercap adaptec modules #189

arekm opened this issue Dec 11, 2018 · 1 comment

Comments

@arekm
Copy link

arekm commented Dec 11, 2018

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

raid-dmsetup.txt
raid-getconfig.txt
raid-getstatus.txt

@arekm
Copy link
Author

arekm commented Jan 23, 2024

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.

getconfig.txt
getstatus.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant