On 11/04/2013 01:51 PM, Farooq Hussain wrote:
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/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (IP-MIB): At line 0 in (none)
IP-MIB::ipAdEntIfIndex: Unknown Object Identifier
Maybe IP-MIB is not loaded.
Zhu Yanjun
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 <mailto: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
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&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