Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Plugin written in perl to check the status of several volume managers. Currently supported volume managers are SVM/SDS, ZFS and VxVM on Solaris and LVM/MD on Linux. Released version 1.9: broken mdadm check is now fixed (thanks to Andrea Tartaglia)
Current Version
1.9
Last Release Date
2013-01-07
Owner
Alberto Menichetti
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2011/04/checkvolmanager-v1.4
License
GPL
Compatible With
checkvolmanager-v1.8
checkvolmanager-v1.9
Thanks for the plugin. I ran into a minor issue when trying to run it with check_mk. Executing from shell or MRPE/check_mk worked fine, but not when called from OMD. It will complain, that SVM cannot be executed in Solaris Containers, everything was green. Reason: 'zonename' cannot be found. Fix: changed to '/sbin/zonename' on both occurrences and it showed correct output. jg
Good plugin (I'm using version 1.9) but I was having problem with the output from mdadm was printing one extra space after state clean (State: clean*space**new line*), see full output last It works fine after changing line 530 from: if($device_status !~ /clean$/) { to: if($device_status !~ /cleans*$/) { I guess that others will have this problem as well so it might be a good idea to release an updated version. system information: ------------------- Ubuntu Server 12.04 mdadm - v3.2.5 - 18th May 2012 Nagios Core 3.2.3 mdadm output: ------------- $ sudo mdadm --detail /dev/md1 /dev/md1: Version : 1.2 Creation Time : Thu Jun 13 10:19:11 2013 Raid Level : raid1 Array Size : 1464974592 (1397.11 GiB 1500.13 GB) Used Dev Size : 1464974592 (1397.11 GiB 1500.13 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Mon Jun 24 10:56:45 2013 State : clean
Would be a nice check for checking all pools and not only one special, but I get an filehandle error if I call script on a SunOS machine --- root@SERVER # uname -a SunOS SERVER 5.10 Generic_147441-09 i86pc i386 i86pc root@SERVER # ./checkvolmanager-v1.5 readline() on unopened filehandle at ./checkvolmanager-v1.5 line 159. ZFS Status is OK - SVM Status is OK - VxVM not configured on this system (vxdg command not found)
Hi, please try using version 1.8 (just uploaded).
This is a good plugin.. nice that it checks for SVM or zfs..so you do not need 2 seperate plugins. However, I am unable to get it to work as it appears to need a sent after the output. ZFS Status is OK - SVM not configured on this system[root@nadc-jss-p01:/usr/local/nagios/libexec] this appears to make the output unreadable in Nagios XI.
You must be logged in to submit a review.
To:
From: