Start a Conversation

Unsolved

This post is more than 5 years old

T

33514

December 4th, 2013 16:00

port 161/162 not listening on ITA

on my ITA host, snmp is started but port 161/162 is not listening. any idea why?

470 Posts

December 4th, 2013 16:00

yes just sent and snmp test alert to my ita and it did not receive it

20 Posts

December 4th, 2013 23:00

This manual has the details about configuring SNMP. Page 258 onwards.

 

Hope this helps

Thanks

793 Posts

December 5th, 2013 16:00

Usually the first place to look is the SNMP service.  ITA does not directly communicate via 161/162, it just uses the service.  Also, make sure you have open communication with 161/162 UDP.  Setting the right community string and destination address in the service will usually get it done.

470 Posts

December 7th, 2013 14:00

ok but how should i test my snmp alert from the esxi host to the ITA?

20 Posts

December 11th, 2013 23:00

Here is an extract from the ITA UG for setting up SNMP on ESX servers and sending a trap :

Page 268

Setting Up SNMP on VMware ESX Server 4.0 and Later For Discovery

1 Download the VMware remote command line interface tool (RCLI) from

the VMware website at www.vmware.com. You can download either a

Virtual Appliance, RCLI tools for Linux, or RCLI tools for Windows

operating system.

2 Run the following command on the VMware ESX Server to configure

SNMP from RCLI:

vicfg-snmp --server --username root --password -c -p X -t @162/

Where X represents an unused port.

NOTE: Multiple IT Assistant IP addresses can also be mentioned using a comma-separated list.

3 Stop the SNMP service if it is already running on your system:

Service snmpd stop

4 Add the following line at the end of the /etc/snmp/snmpd.conf:

proxy -v 1 -c public udp:127.0.0.1:X .1.3.6.1.4.1.6876

 

Where

X represents the unused port specified above, while configuring SNMP.

trapsink

trapsink is required to send traps defined in the proprietary MIBs.

5 Run the following command to enable SNMP for VMware ESX Server:

vicfg-snmp --server --username root --password -E

6 Run the following command to view the configuration:

vicfg-snmp --server --username root --password -s

7 Restart mgmt-vmware. This takes a few minutes before the service is started.

service mgmt-vmware restart

8 Restart the SNMP service.

Service snmpd start

9 To sustain a system reboot, start the snmpd service.

Chkconfig snmpd on

10 Run the following command to send a test trap to IT Assistant:

vicfg-snmp --server --username root --password -T

NOTE: Ensure that the SNMP ports are open before sending traps to the management station by typing

esxcfg-firewall -e snmpd

No Events found!

Top