Re: Unwanted Traps being sent out
Siddhant Gupta <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAB9YtyE=kFFUzyV9kqW2YaPE6hMTnxLNKbC9aotaOd7HPOHVNQ@mail.gmail.com> |
Its not the coldstart/shutdown traps that are causing a problem but the linkUpDown traps. linkUpDown traps are sent out for all the ports 2 minutes after the coldstart. I have enabled linkUpDown by adding linkUpDownNotification yes in the snmpd.conf file On Thu, Jun 22, 2017 at 11:13 AM Pushpa Thimmaiah < [email protected]> wrote: > Hi, > > Startup(coldstart/shutdown) are default traps from snmpDaemon (start/stop) > When snmpDaemon start/stop , it sends out coldstart/shutdown traps and > they are builtin. > There is no option to disable them, You have to comment code which > sending stratup traps in net-snmp source code. > > How did you enabled traps for physical sensors? > > Thank you > > On Sat, Jun 17, 2017 at 3:52 PM, Siddhant Gupta <[email protected]> > wrote: > >> I am writing an application for a switch that uses net-snmp. I wrote my >> version of ifTable_data_access.c. Whenever I restart or start net-snmp a >> cold-start trap is sent out followed by link up/down traps for all the >> ports. Why is this happening? I have enabled traps for Physical sensors >> also, however I receive traps only for link up down. >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Net-snmp-users mailing list >> [email protected] >> Please see the following page to unsubscribe or change other options: >> https://lists.sourceforge.net/lists/listinfo/net-snmp-users >> >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users