Page 1 of 1

SNMPTT Variables

Posted: Tue Apr 28, 2020 9:42 am
by FCC_Nagios_Support
Hello,
I am trying to upload TRAPs to Nagios XI with passive services.
I would like to understand the SNMTT VARIABLE $* = Means all the variables, all the texts of the Trap, all the variables texts?
Many Thanks

Re: SNMPTT Variables

Posted: Tue Apr 28, 2020 3:24 pm
by tgriep
Take a look at this link that has details for all of the variables for the snmptt config file.
http://snmptt.sourceforge.net/docs/snmp ... ile-format

The description of the $* variable is to Expand all variable-bindings (see Note 5)

Note 5 says.
If translate_oids is enabled in the snmptt.ini file, SNMPTT will attempt to convert any numeric OIDs found inside the variables passed inside the trap to symbolic form. You must have the UCD-SNMP / Net-SNMP Perl module installed for this to work and you must enable support for it by enabling net_snmp_perl_enable in the snmptt.ini file. If net_snmp_perl_enable is not enabled, it will default to using the numeric OID.

Simply put, it will convert the OID numbers to readable strings.