Hi,
Regarding the error: The snmpwalk command is trying to locate the IP-MIB
file, in these indicated paths, but cannot find it:
/root/.snmp/mibs
/usr/share/mibs/site
/usr/share/snmp/mibs
/usr/share/mibs/iana
/usr/share/mibs/ietf
/usr/share/mibs/netsnmp
If you'll put the IP-MIB file in any of these folders, the error should be
resolved
Regards,
David Ganor
From: Farooq Hussain [mailto:farooqhussain...@gmail.com]
Sent: Monday, November 04, 2013 7:52 AM
To: net-snmp-users@lists.sourceforge.net
Subject: SNMP Trap Help
Dear All,
I am new to SNMP world. I would to configure and send trap for Apache,
Asterisk, MySQL to my NMS server. What I have to do. Will I have to write
script in Perl please send any example for this.
Please also let me know why I m getting following error.
snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex
MIB search path:
/root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/i
ana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (IP-MIB): At line 0 in (none)
IP-MIB::ipAdEntIfIndex: Unknown Object Identifier
snmpd.conf:
com2sec notConfigUser default public
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
view all included .1
view system included .iso.org.dod.internet.mgmt.mib-2.system
access notConfigGroup "" any noauth exact all none none
syslocation Pakistan, PK
syscontact NOC n...@xxxx.com
view all included .1 80
trapsink localhost public
authtrapenable 1
master agentx
agentXSocket /var/agentx/master
agentXPerms 0660 0775 nobody root
sysObjectID .1.3.6.1.4.1.22736.1
--
Thanks
Farooq Hussain
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users