RE: Net SNMP usage problem with prior installation

Mohan M <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
 
Good news that I am getting automatic traps from DISMAN/events for the below events

a) When disk usage exceeds the % configured
b) When the link is brought down
c) When the configured process is stopped & 
d) The usual cold stop/start traps
 
The problem is that this trap is sent to the waiting snmptrapd daemon only when the snmpd daemon is restarted. I get a flud of these traps when I restart the snmpd process.

Otherwise however long I wait (> 25 minutes) I dont get any traps even when I stop the httpd process many times and wait for the trap?
Can you let me know what could be wrong!! 
 
Below are the configuration files used
 
$snmpd.conf
/etc/snmp/snmpd.conf:
trapcommunity public
trap2sink localhost public 162
trapsink localhost public 162
informsink localhost public 162
authtrapenable 1
rocommunity public
rwcommunity private
proc httpd
proc snmpd 1 1
proc snmptrapd 1 1
disk /var 94%
load 0.08 0.08 0.08
file /var/log/snmpd.log 1
createUser mohan MD5 "mypassphrase"
rouser mohan
rwuser mohan
agentSecName mohan
defaultMonitors yes
linkUpDownNotifications yes
 
$snmp.conf
/etc/snmp/snmp.conf:
defaultport 161
defversion 2c
defcommunity public
dodebugging 0
dumppacket 1
printNumericOids true

$snmptrapd.conf
authcommunity log,execute,net public
traphandle default  /tmp/snmp.sh default
 
Thanks for your patience....
 
Regards,
Mohan
 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.