Skip to content

Commit

Permalink
Add example
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Jul 22, 2024
1 parent d391f9f commit 7870f17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SNMPTrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@

#include "ntop_includes.h"

/*
* Example for triggering traps for testing:
* snmptrap -v 2c -c public 127.0.0.1 '' NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification netSnmpExampleHeartbeatRate i 60
*/

#ifdef HAVE_LIBSNMP

SNMPTrap::SNMPTrap() {
Expand Down

0 comments on commit 7870f17

Please sign in to comment.