Re: SNMPTRAP & traptom

"BENAMAR Khalid" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
1- i have create snmpd.conf

com2sec local 127.0.0.1/32 public
com2sec local 192.168.0.0/24 public

group MyROGroup v1 local
group MyROGroup v2c local
group MyROGroup usm local

monitor -r 120 -u MyROGroup "test khalid disk" -o hrStorageDescr.4 
hrStorageUsed.4>3659025

view all included .1 80

access MyROGroup "" any noauth exact all none none


syslocation ***
syscontact khalid <***@***>

2- i create snmptrapd.conf

traphandle default /usr/bin/traptoemail -f [email protected] -s 
smtp.xxx.com [email protected]

3- i launche snmptrapd

snmptrapd -f -Le -F "%#02.2h:%#02.2j TRAP%w.%q from %A %v \n" -c 
/usr/local/snmp/snmpconf/snmpd.conf

4- i launche snmpd

snmpd -Le -c /usr/local/snmp/snmpconf/snmpd.conf

5- snmptrapd returns

2006-11-07 16:56:35 NET-SNMP version 5.2.1 Started.
16:58 TRAP0.0 from root.xxx.com
17:00 TRAP0.0 from 0.0.0.0 SNMPv2-MIB::sysUpTime.0 = Timeticks: (3) 
0:00:00.03  SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart  
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10


but i don't receive a email

thanks (Shield) for your help

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.