ma> I am invoking the net snmpd daemon in one of my startup script as follows:
ma> snmpd -f -c /etc/snmpd.conf & ma> soon after this my process executes which registers itself as a snmp ma> subagent and sends a version 2 trap. I have configured ip address for ma> trap2sink in snmpd.conf. ma> What i am observing is that on bootup, i am not seeing my version 2 trap. Do this in slow sequence: 1) start snmpd 2) wait for the coldStart trap 3) wait 5 seconds 4) then start your application that sends a trap through the subagent 5) time how long until your trap arrives I suspect what's happening is that your subagent is trying to register too fast and the snmpd agent isn't accepting registrations yet. So 30 seconds later the subagent tries again and connects. But it's a guess. A debugger may be necessary here :-) -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ 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
