Home Directory

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

Directory

Tasslehoff

Reviews(3)
byTasslehoff, October 29, 2015
check_vmfs.sh - Check vmfs datastores through VMware VCLI
Hi, first of all thanks for this plugin.
I have a problem, I tried to use it with some ESXi servers 5.5, if I try to check the datastores it returns "Server version unavailable" error.

===
[root@drakaris check_vmfs_1.4]# ./check_vmfs.sh -C ./check_vmfs.conf -S vmgsa -V datastore1 -w 80 -c 90
CRITICAL - Server version unavailable at 'https://vmgsa:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 545.
===
where check_vmfs.conf have a line with hostname, username and password for the vmware server (vmgsa in the example).

Do you think it's possibile to update the plugin for working with same on the latest vmware esxi versions?

Another question, this plugin needs virtualcenter or works also with the free version of esxi?

Thanks

Tasslehoff Burrfoot
Owner's reply

Hi!
Your first question about Server version unavailable was answered in next review. For Esxi 5.x versions it is necessary to export this variable:
export PERL_LWP_SSL_VERIFY_HOSTNAME=0
Anyway I am going to upload 5 version which export this variable inside script.
And about second question this plugins doesnt need virtualcenter. Indeed I have no virtualcenter, I am working with free versino of Esxi.

byTasslehoff, November 8, 2012
1 of 1 people found this review helpful
Very useful plugin!
Tested successfully on DS4300 monitoring from Debian Etch with Storage Manager 10.83.

Install SMcli on Debian:
1) explode SM10.83_Linux_32bit_x86_single-10.83.x5.23.tgz on filesystem
2) move to Linux_32bit_x86_10p83_singleLinux folder
3) extract files with "rpm2cpio SMclient-LINUX-10.83.G5.22-1.noarch.rpm | cpio -vid"
4) copy optIBM_DSclient where you want on filesystem
5) edit BASEDIR and JAVA_EXEC variables inside SMcli script (use JRE6 from Sun)

If you want to run this plugin as nagios user remember to give execute permission on SMcli and the script itself (chmod 755) and run it as root editing /etc/sudoers
for example:
Cmnd_Alias SMCLI = /opt/IBM_DS/client/SMcli
Cmnd_Alias IBMDS = /usr/lib/nagios/plugins/check_IBM_DS_health_1.3.sh
nagios ALL=NOPASSWD: SMCLI
nagios ALL=NOPASSWD: IBMDS

Thanks moep!
byTasslehoff, March 16, 2012
1 of 1 people found this review helpful
Good plugin, on Windows I control paging and physical memory through scripts included into nscclient++, you script is a good way to do the same control on linux.

I made a couple of changes because I found more useful control busy memory without considering cache and buffers, so I changed used variable (lin 60) with this: used=`free -m | head -3 |tail -1 | gawk '{print $3}'`
I changed the free memory variable (line 62) with this: let free=$total-$used

Thanks again for plugin and for your time :)