Closed LFrederic closed 8 years ago
I don't think you'll have SNMP information about hardware on ESX. Could you give the full snmpwalk ? Otherwise, if it's linked with a vcenter, you can use "centreon-vmware". If it's a standalone ESX, you can use 'apps::vwmare::wsman::plugin'.
Thanks for your quick reply.
Here is the the snmpwalk for my Dell PowerEdge R710 server : https://framabin.org/?890d3b5a4c6007a3#ULu/HfVtSe/IL/aNSL0jeVnhdnlSIS3+WwXLjMYo0u4= (HP Proliant is on maintenance)
Everything would be easier if my company had vcenter but I only have the free version of VSphere.
Depending on server, I have a different output message :
[root@san_raid0 centreon-plugins-master]# ./centreon_plugins.pl --plugin=apps::vmware::wsman::plugin --mode=hardware --hostname=IP
UNKNOWN: Could not enumerate instances: Timeout was reached or UNKNOWN: Could not enumerate instances: Couldn't connect to server
Sorry for my incompetence, I'm an intern and I'm not very familiar with these technologies.
What is your full command line for wsman check ? Which version of perl openwsman have you installed on your server ?
This is my full command, I just wanted to try the plugin with a simple command.
To be honest, I didn't installed openwsman on my server. It looks like it was packaged in the ESX. I have
find / -name openwsman
/lib/openwsman /etc/cim/openwsman /etc/openwsman /etc/pam.d/openwsman
You need to install a perl version updated. Install the following: http://yum.centreon.com/standard/3.3/stable/dependencies/x86_64/RPMS/openwsman-perl-2.6.2-1.el6.x86_64.rpm
Thanks a lot ! I'll try this as soon as i find a way to install openwsman without rpm/yum/etc on my ESX..
Otherwise, do you think I can get RAID status with an OID with snmp_standard::plugin ?
I don't think you'll get it in SNMP.
Ok, it seems that I have ESX's disks status with the check_vmware_api with :
./check_vmware_api -H IP_ESX -u ROOT -p PASSWORD_ESX -l storage -s lun
It returns "STATUS WARNING - Local hp CD-ROM (mpx.vmhba0:C0:T0:L0)
But I also have a RHEL 5 (32bits) physical machine that I want to monitor with a HP Proliant DL585 G2. When I try the following command
./centreon_plugins.pl --plugin=hardware::server::hp::proliant::snmp::plugin --mode=global-status --hostname=gdasrv18 It returns : UNKNOWN: SNMP GET Request : Cant get a single value.
I don't understand while although I have SNMP access.
Thanks for your quick replies Quentin Garnier !
Have you installed the hp insight snmp agent on your redhat 5 ?
Hmm probably not...
I close it. You can continue to comment it.
Good morning everyone,
I have ESXs running on Dell PowerEdge or HP Proliant servers. I want to monitor my RAID on these servers (RAID 1 with 2 HDD and one spare). I would like to be warned if my spare or one HDD crashes.
I'm trying to monitor my server with
Here is an example for HP Proliant
I really don't understand that "OK: All 0 components are ok".
The SNMP access seems good : I can get information with :
I'm asking for some advices to help me.
Thanks a lot !
Frédéric L.