Help send a trap
jihed lazid <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
hello, I have this snmpd.conf file : #### agentAddress udp:127.0.0.1:161 agentaddress udp:172.16.125.10:161 group groupv3 usm jihed jihed1 view all included .iso 80 access groupv3 "" any auth exact all all all group MyRWGroup v1 local group MyRWGroup v2c local group MyROGroup v1 mynetwork group MyROGroup v2c mynetwork access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all none view systemonly included .1.3.6.1.2.1.1 view systemonly included .1.3.6.1.2.1.25.1 rwcommunity public localhost rwcommunity public default -V systemonly rwcommunity secret 172.16.125.0/24 syslocation Himlico, Cité El Gazalla, Ariana sysContact Me <[email protected]> sysServices 72 proc mountd proc ntalkd 4 proc sendmail 10 1 disk / 10000 disk /var 5% includeAllDisks 10% load 12 10 5 trapsink localhost public trap2sink localhost public authtrapenable 1 informsink localhost public defaultMonitors yes linkUpDownNotifications yes extend test1 /bin/echo Hello, world! extend-sh test2 echo Hello, world! ; echo Hi there ; exit 35 master agentx rouser jihed authNoPriv rwuser jihed1 authNoPriv defversion 3 defSecurityName jihed defPassphrase agent_snmp defAuthType MD5 defPrivType DES defSecurityLevel AuthNoPriv #### and this is my snmptrapd.conf : ##### snmpTrapdAddr udp:127.0.0.1:162 snmpTrapdAddr udp:172.16.125.39:162 authCommunity log,execute,net public traphandle SNMPv2-MIB::coldStart /home/nba/bin/traps cold traphandle SNMPv2-MIB::warmStart /home/nba/bin/traps warm traphandle IF-MIB::linkDown /home/nba/bin/traps down traphandle IF-MIB::linkUp /home/nba/bin/traps up traphandle SNMPv2-MIB::authenticationFailure /home/nba/bin/traps auth # this one is deprecated traphandle .1.3.6.1.6.3.1.1.5.6 /home/nba/bin/traps egp-neighbor-loss # enterprise specific traps traphandle UCD-TRAP-TEST-MIB::demoTrap /home/nba/bin/traps demo-trap traphandle UCD-NOTIFICATION-TEST-MIB::demoNotif /home/nba/bin/traps demo-notif ###### when i tried to send a trap message snmptrap -v 2c -c public localhost "" NOTIFICATION-TEST-MIB::demo-notif \ SNMPv2-MIB::sysLocation.0 s "just here" I have this answer : NOTIFICATION-TEST-MIB::demo-notif: Unknown Object Identifier what i can do and my config files is messing something ??? Please help me i am in the middle of a end of study project so i wait for an answer, thanks. -- Jihed LAZID ------------------------------------- Elève ingénieur à l'Ecole Supérieure des Communications de Tunis (SUPCOM) ------------------------------------- Tel : +216 21 789 187 http://jihed.lazid.netcv.com/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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