Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
checkvolmanager
1.9
2013-01-07
- Nagios 2.x
- Nagios 3.x
- Nagios XI
GPL
97792
File | Description |
---|---|
checkvolmanager-v1.4 | checkvolmanager-v1.4 |
checkvolmanager-v1.5 | checkvolmanager-v1.5 |
checkvolmanager-v1.8 | checkvolmanager-v1.8 |
checkvolmanager-v1.9 | checkvolmanager-v1.9 |
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!
Released version 1.9: broken mdadm check is now fixed (thanks to Andrea Tartaglia)
Reviews (4)
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
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
bytirithen, June 23, 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 !~ /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
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
bylangejunior, November 25, 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)
---
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).
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.
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.