I am looking for information on how to send SNMP traps from Centreon to another Network Management System. Something similar than for example here https://assets.nagios.com/downloads/nagiosxi/docs/Sending-SNMP-Traps-With-Nagios-XI.pdf
Page 1 / 1
Ji
snmptrap -v 2c -c public <target_ip> '' <TRAP_OID> <oid1> <type1> <value1> <oid2> <type2> <value2> <oid3> <type3> <value3>
Where ‘type’ can be:
i
for integers
for string
Example:
snmptrap -v 2c -c public 127.0.0.1 '' .1.3.6.1.6.3.1.1.5.3 .1.3.6.1.2.1.2.2.1.1 i 2 .1.3.6.1.2.1.2.2.1.2 s eth0 .1.3.6.1.2.1.2.2.1.7 i 1 .1.3.6.1.2.1.2.2.1.8 i 2
Reply
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.