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 should report UNKNOWN by default if no raid volumes are found #188

Open
arekm opened this issue Dec 11, 2018 · 0 comments
Open

arcconf should report UNKNOWN by default if no raid volumes are found #188

arekm opened this issue Dec 11, 2018 · 0 comments

Comments

@arekm
Copy link

arekm commented Dec 11, 2018

On my system arcconf (2.05 (B22932)) doesn't see raid volumes (and disks due to some weird reason) and according to check_raid help UNKNOWN state should be returned by default:

 --noraid=STRING
   Return STATE if no RAID volumes are found. Defaults to UNKNOWN

but it isn't.

# /usr/lib/nagios/plugins/check_raid
OK: arcconf:[Controller:Optimal, Drives: ]
# /usr/lib/nagios/plugins/check_raid --noraid=CRITICAL
OK: arcconf:[Controller:Optimal, Drives: ]

Output of check_raid -d:

# /usr/lib/nagios/plugins/check_raid -d
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, Drives: ]

Output of each command from check_raid -d
dmsetup.txt
arcconf-getconfig.txt
arcconf-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