I tred to check if ifMib is implemented in the master.
The command and response i got is the following.

[EMAIL PROTECTED] treesa]# snmpget -v 1 -c public 192.168.24.100 
IF-MIB::ifInErrors.2
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::ifInErrors.2

Should i try any other command, to check the same??

PS: My aim is to add a mib module (which is
not part of the master agent) dynamically, which
can monitor some characteristics of the system and
then send traps to a server. For that purpose, i took
ifMib as an example module. 

Thanks and regards,
Treesa

On Wed, 31 Jan 2007 12:21:12 +0100, Thomas Anders wrote
> Treesa Fairy Joseph wrote:
> > Hi,
> > I am using net-snmp 5.3-4.2 on FC5. I am doing an exercise
> > of adding ifMib as a dynamically loaded module. I have
> > generated the c code using mib2c and I have compiled
> > it also. I got the executable named "ifTable". Now I want 
> > to run this as a sub agent along with my master agent.
> > For this purpose i have put the line "master agentx"
> > in the snmpd.conf. I have run my master using 
> > /usr/sbin/snmpd. Now I am trying to run
> > the subagent and I get the following error.
> > 
> > [EMAIL PROTECTED] ifMib_try1]# ./ifTable
> > [EMAIL PROTECTED] ifMib_try1]# NET-SNMP version 5.3 AgentX subagent 
> > connected
> > registering pdu failed: 263!
> 
> Does it actually work or not? Did you make sure the master agent doesn't
> have an ifTable implementation activated itself?
> 
> +Thomas
> 
> -- 
> Thomas Anders (thomas.anders at blue-cable.de)
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to 
> share your opinions on IT & business topics through brief surveys -
>  and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.


--
Open WebMail Project (http://openwebmail.org)


-------------------------------------------------------------------------
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

Reply via email to