Re: snmptrapd 5.3.1 & traphandle
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
[Sorry for the delay in responding to this] On 25/09/06, Ivan V. Borodin <[email protected]> wrote: > I tried net-snmp-5.3.1 on RedHat Enterprize Linux 4 running on Intel > Xeon 64-bit CPU. > > It builds and starts OK. I have some 'traphandle' directives in my > snmptrapd.conf but they don't work at all - snmptrapd only sends > RESPONSE on every trap receieved. > authCommunity log,execute,net SNMP_trap > authCommunity log,execute,net public What SNMP version/admin info do the incoming traps have? Are they traps or INFORM requests? > Then I build 5.2.3. It runs traphandle script mentioned in > snmptrapd.conf and also sends RESPONSE on every trap. I think it > shouldn't send it if it runs traphandle, or I'm wrong? Each incoming INFORM request will be acknowledged by a RESPONSE - regardless of how (or whether) it is subsequently processed. So yes - that behaviour sounds correct for INFORM requests. > On my another > installation of the same snmptrapd.conf and handler-script > (on FreeBSD 5.4) it doesn't send it. What sort of notifications are being sent to that system? A RESPONSE will only sent in acknowledgement of an INFORM. If the incoming notification is a TRAP, then no there won't be a response. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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