Hi,
We are using 5 Nutanix clusters in our environment which has around 50 hosts.
We would like to monitor and catch the SNMP traps sent by the cluster.
Steps done:
Added nutanix mib file in NTXI admin->mib.
Added the trap definition in snmptt.conf file and verified the events are added.
Added the host in config wizard->snmp trap interface.
But still we are not seeing any traps being received in Nagios XI or the snmptt log files.
Kindly clarify on the same and if provide with any documentation to be followed.
Thanks.
SNMP Trap setup for Nutanix cluster
Re: SNMP Trap setup for Nutanix cluster
The first thing to check is to make sure that the traps are actually making it to the server. Can you run this command, and send in /tmp/output.pcap that it generates, as well as the IP address you expect the trap to be coming from?
Code: Select all
tcpdump -i 'any' -w /tmp/output.pcap udp port 162As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SNMP Trap setup for Nutanix cluster
I tried to take the dump to a file and clicked on Send test trap.
I was getting some output in the file as i can see the size increasing and date of creation.
But still i cannot see the traps in SNMP Trap interface -> Received trap sections.
I would like to make sure this works before I try to send any trap from my Nutanix cluster.
Thanks.
I was getting some output in the file as i can see the size increasing and date of creation.
But still i cannot see the traps in SNMP Trap interface -> Received trap sections.
I would like to make sure this works before I try to send any trap from my Nutanix cluster.
Thanks.
Re: SNMP Trap setup for Nutanix cluster
What version of XI are you using? You can grab it from the bottom left hand side of the web interface.
Did you restart SNMPTT after making the changes to the snmptt.conf?
Do you see them being put in the spool directory?
Please run this command and send me the resulting /tmp/SNMPFILES.zip file:
That should give us the things we need.
Do you see traps coming into any of the /var/log/snmptt logs? (Please send us what you see)
Thank you!
Did you restart SNMPTT after making the changes to the snmptt.conf?
Code: Select all
service snmptt restartCode: Select all
watch -n1 ls -l /var/spool/snmptt | wc -lCode: Select all
zip -r /tmp/SNMPFILES.zip /etc/snmp /usr/share/snmp/mibsDo you see traps coming into any of the /var/log/snmptt logs? (Please send us what you see)
Code: Select all
tail -n30 /var/log/snmptt/*