Build precise queries to find exactly what you need
Press ESC to close
Good check, but the script has problems checking zpools with solaris 11, as a new column has been added: DEDUP.
I’ve made a change into get_zpool_data() and it worked.
next if (/^NAMEs+SIZEs+USEDs+AVAILs+CAPs+DEDUPs+HEALTHs+ALTROOT/); my ( $pool, $size, $used, $avail, $cap, $dedup, $health, $altroot ) = split( /s+/, $_ );
#@{$pools{$pool}} = ($pool, $size, $used, $avail, $cap, $health, $altroot); $zpools{$pool} = { size => “$size”, used => “$used”, avail => “$avail”, cap => “$cap”, dedup => “$dedup”, health => “$health”, altroot => “$altroot”, };
I expect it could be useful for others.
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!