IP Address Macro required

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

IP Address Macro required

Post by vignesha »

Hi,

We need macros for IP address for host and services to send the information via SNMPTRAP sender, by default we can able to see below macros

Variables:
1: nHostname
2: nHostStateID
3: nSvcDesc
4: nSvcStateID
5: nSvcAttempt
6: nSvcDurationSec
7: nSvcGroupName
8: nSvcLastCheck
9: nSvcLastChange
10: nSvcOutput

Please help me with exact macros or OID details.

Thanks,
Vignesh
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: IP Address Macro required

Post by vtrac »

Hi Vignesh,

Just talked to my teammate (SNMP expert) and was told that we currently do not support modifying the SNMP Trap Sender component, which would require changing the PHP code and also issues with future upgrades (release) reverting those changes.

However, I found this URL which has the OID reference for Nagios:
http://oidref.com/1.3.6.1.4.1.20006.1

Best Regards,
Vinh
Locked