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

whutest

Reviews(10)
bywhutest, December 18, 2018
Very useful script. Thank you very very much!
check_esxi_hardware.py
Hello!
I trying to monitor VMware ESXi 5.1.0 build-1065491 (Update 1) on the server ProLiant DL360p Gen8.

My enviroment:
Centos 5.9 x386
Python 2.7
Nagios 4.0.8
check_esxi_hardware.py version 20150710.

I installed python-pywbem (0.7.0) extension from here http://pywbem.github.io/pywbem/installation.html

When I try to check I receive the error:

# ./check_esxi_hardware.py -H 192.168.33.252 -U root -P passw -V hp
Traceback (most recent call last):
File "./check_esxi_hardware.py", line 646, in
instance_list = wbemclient.EnumerateInstances(classe)
File "/usr/local/lib/python2.7/site-packages/pywbem/cim_operations.py", line 404, in EnumerateInstances
**params)
File "/usr/local/lib/python2.7/site-packages/pywbem/cim_operations.py", line 168, in imethodcall
verify_callback = self.verify_callback)
File "/usr/local/lib/python2.7/site-packages/pywbem/cim_http.py", line 184, in wbem_request
h.putheader('Content-length', len(data))
File "/usr/local/lib/python2.7/httplib.py", line 924, in putheader
str = '%s: %s' % (header, '\r\n\t'.join(values))
TypeError: sequence item 0: expected string, int found


Can anybody help me? Please)
Owner's reply

Please try it with the newest version (20160411 as of today) and the new and stable pywbem 0.8.x.

bywhutest, February 21, 2016
check_vmfs.sh - Check vmfs datastores through VMware VCLI
Thank you!

https://communities.vmware.com/message/2169320#2169320

Here is solution if you got the error:
CRITICAL - Server version unavailable at 'https://vmgsa:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 545.
bywhutest, June 26, 2015
search.cgi
Buit-in search in Nagios 3 and 4 is poor.
This plugin is cool and must be in Nagios by default.
Thanks!
bywhutest, May 13, 2014
get_rdp_info
Hello! I have the same issue. When I run vbs from commandline I recieve 0 for all types of sessions.
My terminal server is Windows2003R2. Could you please help me?
Owner's reply

Can you please send an email to my address above, I will give you some steps so we can help diagnose the problem.

bywhutest, September 12, 2013
aNag
I use Nagios 3.5.1 and aNag. I have issue with dislaying warning/critical services in aNag. aNag doesn't show services for each host ("No service" displayed under Host) and Problems field always empty. Could someone help me?
bywhutest, September 4, 2013
Thank you! Here are no problems with installation. Works fine. Is it difficult to modify patch to show wiki-icon only for certain services? For example, if the service uses template "wiki-template".
bywhutest, August 25, 2013
Thank you for this script! It works fine. It would be greate to add perfomance data output.
bywhutest, August 11, 2013
NSCAweb
Unfortunately, autor has removed wiki page. The project is great. It very usefull for submitting check results from slave servers to multiple master nodes. I tried to do it through send_gearman, but it doesn't support multiple destinations. =(
Author, please get back installation info.
Thank you!
bywhutest, June 24, 2012
Check_Cisco_Config
Hello! It's very interesting plugin but it's not working. I installed it as described in readme.txt. When I execute it the following errors appear:

#/usr/local/nagios/libexec/check_cisco_config.pl -H 10.14.214.253 -C cvdnu7834nhu -I localhost -T running -L /usr/local/nagios/configs -l /usr/local/nagios/tftp -N c2960-2nd-floor

: command not foundibexec/check_cisco_config.pl: line 17:
/usr/local/nagios/libexec/check_cisco_config.pl: line 18: use: command not found
: command not foundibexec/check_cisco_config.pl: line 18:
/usr/local/nagios/libexec/check_cisco_config.pl: line 19: use: command not found
: command not foundibexec/check_cisco_config.pl: line 19:
/usr/local/nagios/libexec/check_cisco_config.pl: line 20: use: command not found
: command not foundibexec/check_cisco_config.pl: line 20:
/usr/local/nagios/libexec/check_cisco_config.pl: line 21: use: command not found
: command not foundibexec/check_cisco_config.pl: line 21:
: command not foundibexec/check_cisco_config.pl: line 22:
/usr/local/nagios/libexec/check_cisco_config.pl: line 24: =: command not found
: command not foundibexec/check_cisco_config.pl: line 24:
/usr/local/nagios/libexec/check_cisco_config.pl: line 25: =: command not found
: command not foundibexec/check_cisco_config.pl: line 25:
: command not foundibexec/check_cisco_config.pl: line 26:
/usr/local/nagios/libexec/check_cisco_config.pl: line 27: syntax error near unexpected token `;'
'usr/local/nagios/libexec/check_cisco_config.pl: line 27: `check_arguments ();

Could somebody help me to fix this error??