Hello, I am trying to add an SNMP Disk Free sensor to monitor a VMware vCenter Server Virtual Appliance 6.0 SNMP is enabled on the vCenter and SNMP CPU Load works for example. Does anyone know how to or was able to edit the snmpd.conf (persistent) on the vCenter in order to enable the disk sensor?

Thanks.


Article Comments

Hi,

Most likely this will not be possible for hosts running an ESXi. The SNMP agent will not be able to provide the information of the underlying hardware. Please follow this link for a detailed explanation.

Best regards, Felix


Dec, 2015 - Permalink

This is what I configured on vCenter OS (5.5. but it should be very similar)

cat > /etc/snmp/snmpd.conf << EOF
syslocation xxx
syscontact xxx
rocommunity public xxx
EOF
cat >> /etc/hosts.allow << EOF

snmpd: ALL : ALLOW
EOF
chkconfig snmpd on
/etc/init.d/snmpd start

These are my configured SNMP sensors on vCenter server. (via prtgshell PowerShell module)

Get-PrtgDeviceSensors -DeviceId 2089 | Select-Object -Property Sensor

sensor
------
PING vcenter
Disk Free: /
Disk Free: /storage/core
Disk Free: /storage/log
Disk Free: /storage/db
Load Avg
Meminfo
CPU Load

Edit from Paessler Support: Removed the private information


Jan, 2016 - Permalink

Thanks for the replies. @ virgilwashere

I already got it working on 5.5 But on 6.0, the snmpd.conf is persistent and the system does not let you edit it. Even if you do, when you restart the snmpd service, it restores the file to its original state.


Jan, 2016 - Permalink