Hi
Im running XI 5.6.1 and have been investigating using the SNMP Trap Sender facility to send events to another Windows 10 PC - we would eventually write some software to capture the events and integrate them within an alarm interface on an existing HMI - there is no potential to simply integrate the Nagios XI interface in the existing HMI.
For now I just want to send the events, and see that they have been received.
I have enabled the trap sender with the IP address of the windows PC, default port, all hosts, all services, both state types, SNMP version 1, community string = 'public'
I have enabled debug logging and I can see the occasional event being logged, but I need to check receipt at the windows end. Any suggestion on how I can view these traps on the Windows PC?
Thanks, Chris.
SNMP Trap Sender remote debugging
Re: SNMP Trap Sender remote debugging
You'll want to get a snmptrap receiver on the Windows machine. If you search around, there are simple free options like: http://www.bttsoftware.co.uk/snmptrap.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Chris Hardick
- Posts: 33
- Joined: Mon Mar 25, 2019 5:40 am
Re: SNMP Trap Sender remote debugging
Thanks for the advice, that worked fine though I had to change SNMP version to 2c.
The events being received seem variable in the content.
A recovered node indicated
HEA 7 OK - 172.19.2.124:rta11.312ms, lost 0% HEA7
but a service failing that checks diskspace utilisation using check_xi_service_wmplus indicated
CSP A %hostoutput% CSP A
this information matches what is in the trapsender debug log file
However in the XI Alert window it states "CSP A.... CheckDriveSizeUsage D is Critical"
As the trapsender debug logfile on the XI VM doesnt have any more detailed information, I am assuming that it is not associated with the NAGIOS-NOTIFY, or NAGIOS-ROOT MIBs
Is there a mechanism to get more information sent across using the Trap Sender? Thanks
The events being received seem variable in the content.
A recovered node indicated
HEA 7 OK - 172.19.2.124:rta11.312ms, lost 0% HEA7
but a service failing that checks diskspace utilisation using check_xi_service_wmplus indicated
CSP A %hostoutput% CSP A
this information matches what is in the trapsender debug log file
However in the XI Alert window it states "CSP A.... CheckDriveSizeUsage D is Critical"
As the trapsender debug logfile on the XI VM doesnt have any more detailed information, I am assuming that it is not associated with the NAGIOS-NOTIFY, or NAGIOS-ROOT MIBs
Is there a mechanism to get more information sent across using the Trap Sender? Thanks
Re: SNMP Trap Sender remote debugging
There was a recent bug fixed in the SNMP Trap Sender that is causing the data for the service to show the hostoutput so login to the XI GUI and go to the Admin > Manage Components menu.
Click on the Check for Updated button and install the updated.
The SNMP Trap sender should be as version 1.6.1 for the fix.
Let us know it that fixes the issue for you.
Click on the Check for Updated button and install the updated.
The SNMP Trap sender should be as version 1.6.1 for the fix.
Let us know it that fixes the issue for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!