Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
zpool status checker (multiple zpool support)
Current Version
1.0
Last Release Date
2016-02-28
Owner
macskas
Website
https://github.com/macskas/nagios-plugins
Download URL
License
BSD
Compatible With
zpool status checker for zfs on linux
example: # /usr/lib/nagios/plugins/check_zfs # one pool OK storage-02(ONLINE 10.3T/87T),storage-03(ONLINE 75.6T/87T),storage-81(ONLINE 1.00T/87T) # resilver example WARNING storage-02(ONLINE 11.1T/87T),storage-03(RESILVER 18.53%,223M/s,82h51m),storage-81(ONLINE 1.00T/87T) # /usr/lib/nagios/plugins/check_zfs # multiple storage pool OK storage-03(ONLINE 118T/390T)
I believe there's an error. It always responds "CRITICAL", even when pool is online. Possibly this should be N_OK instead of N_CRITICAL? sub nagios_response() { my $msg = shift || "Unknown"; my $exit_status = shift || N_CRITICAL; [$exit_status], $msg); exit($exit_status); }
fixed.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!