ESXi Check

Mattias Ryrlén mattias.ryrlen at op5.com
Wed Feb 18 07:50:40 CET 2009


Hi Joseph,

You should try check_esx3.pl from op5.

http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_esx3.pl;hb=HEAD

works both with esxi and esx hosts.

you can also read about how to set it up and define commands on 
http://www.op5.com/support/documentation/how-to/400-monitoring-vmware-esx-3x-and-vmware-esxi


Joseph L. Casale skrev:
> I am trying to implement the check_esx_wbem.py from nagiosexchange and
> from the cli I get a response so its setup correctly but my implementation
> in Nagios seems to be not working as it returns null.
> 
> In resource.cfg I have:
> $USER13$=/usr/lib/nagios/plugins/contrib
> $USER14$=username
> $USER15$=password
> 
> In commands.cfg I have:
> define command{
>         command_name    check-esxi-host
>         command_line    $USER13$/check_esx_wbem.py http://$HOSTADDRESS$:5989 $USER14$ $USER15$
>         }
> 
> In my template I have:
> define service{
>         use                     generic-service
>         host_name               host.example.com
>         service_description     ESXi Health
>         check_command           check-esxi-host
>         }
> 
> Any ideas what could be wrong?
> Thanks!
> jlc
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


-- 
Vänliga hälsningar / Best Regards
Mattias Ryrlén

__________________________
op5 AB
Första Långgatan 19
SE-413 27 Göteborg
Mobil: +46 735-17 70 99
Support: +46 31-774 09 24
www.op5.com

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list