Page 1 of 1

IP Address Macro required

Posted: Fri Dec 18, 2020 11:27 am
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

Re: IP Address Macro required

Posted: Fri Dec 18, 2020 4:37 pm
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