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

Reply via email to