snmp receiver problems
snmp receiver problems
I have a stable NagiosXI system in production for 10 years. I need to receive and act on snmp traps being sent to it. I can see traps being received when i stop snmptt and as soon as I restart it the traps in /var/spool/snmptt start to go away. And they go away as long as I let it run. So I know i'm receiving traps and they are coming from expected sources. What i don't see is anything ever in snmpttunknow.log or snmptt.log. And I don't see any received traps in the nagios xi gui. I have surely missed something. Can someone help please?
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Re: snmp receiver problems
What version of XI is this? There are a couple common setups depending on what version is being used. Note both use SNMPTT on the back end.
NXTI - 5.5 and newer with Enterprise edition: https://assets.nagios.com/downloads/nag ... h-NXTI.pdf
Just SNMPTT - Prior to XI 5.5 or non Enterprise 5.5: https://assets.nagios.com/downloads/nag ... ios_XI.pdf
NXTI - 5.5 and newer with Enterprise edition: https://assets.nagios.com/downloads/nag ... h-NXTI.pdf
Just SNMPTT - Prior to XI 5.5 or non Enterprise 5.5: https://assets.nagios.com/downloads/nag ... ios_XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: snmp receiver problems
I am running 5.7.5
I can see Associated trap definitions.
All my defined traps are Active
I know there are some errors coming in as traps since I get alerts from another system.
I don't see any Received traps. even when I create an example definition and send a test trap, no traps received.
I'm surely missing something in my setup.
I went through the whole document sent for versions above 5.5 with the same results.
Any other help would be appreciated.
Tom
I can see Associated trap definitions.
All my defined traps are Active
I know there are some errors coming in as traps since I get alerts from another system.
I don't see any Received traps. even when I create an example definition and send a test trap, no traps received.
I'm surely missing something in my setup.
I went through the whole document sent for versions above 5.5 with the same results.
Any other help would be appreciated.
Tom
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Re: snmp receiver problems
Logging options are controlled by the /etc/snmp/snmptt.ini file. I've attached a copy here from working lab machine for you to compare to the one on your system. If you make any changes to the file make sure to restart the services after:
Code: Select all
service snmptt restart
service snmptrapd restartYou do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: snmp receiver problems
It looks like that got me going.
Thanks much for the help.
Tom
Thanks much for the help.
Tom
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: snmp receiver problems
great!tbarnett wrote:It looks like that got me going.
Thanks much for the help.
Tom
Locking thread