VMware Cloud Community
awjudge
Hot Shot
Hot Shot

SNMP Configuration

Hi,

I want to have my Hyperic instance configured to get SNMP information from a variety of devices. I'm working on writing some plugins at the moment.

I'm running the vApp appliance version of Hyperic (5.8.1) and I've noticed that it doesn't have the SNMP packages installed. Is this a problem? And if so, how do I go about installing SNMP to the server correctly?

Reply
0 Kudos
3 Replies
admin
Immortal
Immortal

Hi,

In order to get SNMP information from different devices you should configure an agent to listen to SNMP traps.

1. Add to agent.properties file the following line:

     snmpTrapReceiver.listenAddress=udp:<Agent IP>/<port>

For example:

     snmpTrapReceiver.listenAddress=udp:10.23.23.23/1620

2. Restart agent

Now, set a device to send SNMP messages to IP and port that you set in snmpTrapReceiver.listenAddress property.

You can read more about snmpTrapReceiver.listenAddress Property

Good luck,

Tal

awjudge
Hot Shot
Hot Shot

Thanks for the info, that is useful.

However, it's not SNMP traps that I'm mainly interested in. I'd like to be able to poll snmp devices (such as network switches etc) for metrics.

Reply
0 Kudos
admin
Immortal
Immortal

The netdevice-plugin response to poll snmp devices.

Try to look at org.hyperic.hq.plugin.netdevice.NetworkDeviceDetector.discoverServices(ConfigResponse) method.