Greetings. I have written my own mib module using utility mib2c & also done with subagent
which will invoke that mib module.
mib module that i have written is for scalar oid variable with read access only & i also have
added line in snmpd.conf master agentx to enable agentx support .
in my current status i am able to get value of my variable using snmpget command
but my problem is diffrent
[EMAIL PROTECTED] root]# snmpget -v 1 -c public localhost 1.3.6.1.4.1.16901.1.1
SNMPv2-SMI::enterprises.16901.1.1 = INTEGER: 3
1.3.6.1.4.1.16901.1.1 is my variable oid.
so my problem is still i w ritten my MIB file correctly & also place that in /usr/share/snmp/mibs/ directory as well i set
MIBS env variable to ALL & MIBDIR env variable to /usr/share/snmp/mibs/ still o/p of snmpget
shows SNMPv2-SIM as root as shown above
for solution to this i tried to remove SNMPv2-SMI.txt from that directory then it shows
some error then o/p ATN-MIB::ServerStatus = INTEGER: 0 so tried to remove ATN-MIB file then it shows
iso.3.6.1.4.1.16901.1.1 = INTEGER: 0 but it never say
MYOWN-MIB:: in o/p i want MYOWN-MIB name in o/p
please help me out of this problem .
thanks in advance.
Regards
-Bhushan Sonawane
--
bhushan. E . Sonawane
------------------------------------------------------------------------- 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-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
