Question

Sending SNMP traps to other Network Management Systems

  • 18 March 2024
  • 2 replies
  • 24 views

Badge
  • Steward *
  • 0 replies
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

2 replies

Userlevel 6
Badge +19

Ji @JRW you need to check how to forward SNMP traps on a Linux server with net-snmp.

Userlevel 4
Badge +12

@JRW you may also create a notification command based on snmptrap such as

snmptrap  -v 2c -c public <target_ip> '' <TRAP_OID> <oid1> <type1> <value1> <oid2> <type2> <value2> <oid3> <type3> <value3>

Where ‘type’ can be:

  • i for integer
  • s 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