Solaris

checkvolmanager

Description:

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

Compatible With

  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI

License

GPL


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!
Project Files
Project Notes
Reviews (4) Add a Review
some minor bug
by jng, September 30, 2014
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
1 of 1 found this review helpful.
Helpful? Yes 1 No 0
Great plugin, but I'm having problems with mdadm
by tirithen, June 30, 2013
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
Helpful? Yes  No 
good, but error message
by langejunior, November 30, 2012
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).


Helpful? Yes  No 
Needs a eol sent
by jeffm, August 31, 2011
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.
1 of 2 found this review helpful.
Helpful? Yes 1 No 1
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3.8 (5)
Favorites
1
Views
97,784