Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

checkvolmanager

Rating
5 votes
Favoured:
1
Current Version
1.9
Last Release Date
2013-01-07
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
97784
Files:
FileDescription
checkvolmanager-v1.4checkvolmanager-v1.4
checkvolmanager-v1.5checkvolmanager-v1.5
checkvolmanager-v1.8checkvolmanager-v1.8
checkvolmanager-v1.9checkvolmanager-v1.9
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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)
Reviews (4)
byjng, September 4, 2014
1 of 1 people found this review helpful
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 !~ /clean\s*$/) {

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)
Owner's reply

Hi,

please try using version 1.8 (just uploaded).

byjeffm, August 22, 2011
1 of 2 people found this review helpful
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.