Re: agentx subagent support

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Mark,

I tried that and it returned something like

root      5250     1  0 05:35 ?        00:00:02 /usr/sbin/snmpd -Lsd -
Lf /dev/null -p /var/run/snmpd -a
msat     15580  7321  0 15:30 pts/4    00:00:00 grep snmpd

When I issued the command below 

snmpget -v 1 -c clovis localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0

I got an error that goes like this

Timeout: No Response from localhost.

Could you tell me where am I goin wrong.

Eugene.
 
Quoting Mark Clinton <[email protected]>:

> Eugene,
> 
> Your agentx master agent was probably not running. Or it was missing
> "agentx
> master" in configuration file.
> 
> Do ps -eaf | grep "snmpd" and see if you have master agent running.
> 
> -Mark
> 
> On 2/23/07, [email protected] <[email protected]> wrote:
> >
> >
> >
> > Hi,
> >
> > I tried to implement the agentx subagent support example but I am getting
> > a few
> > errors. After building the example demon using the makefile and starting
> > the
> > master agent, When I change the root to ./example-demon & I get the error
> > below
> >
> > Error: Failed to connect to the agentx master agent: Unknown host (No
> such
> > file
> > or directory)
> > example-demon is up and running.
> >
> > When I go ahead and issue the
> >
> > snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
> >
> > command I get an error saying
> >
> > snmpget: No securityName specified
> >
> > Could you please help me out.
> >
> > Thanks,
> > Eugene.
> >
> > -------------------------------------------------------------------------
> > 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
> >
> 



-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.