RE: Cannot start snmpd agent

"Mitul Sen (misen)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <3B6F5C9068D5864096EB291236C3386F03B354C1@xmb-sjc-21d.amer.cisco.com>
Hi Mike,

Thanks again. The snmpd agent is probably running now (I have it running in the foreground as you suggested) but I still can't seem to do snmpget. I always get a timeout. In snmpd.conf I have Access Control setup as "rwcommunity public".

Any idea what I could be doing wrong? I had compiled the MIB code and created the MIB based on instructions in the tutorial. This is what I get

$ snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0
snmpget: Timeout


Thanks,
Mitul

> -----Original Message-----
> From: Mike Ayers [mailto:[email protected]] 
> Sent: Wednesday, December 03, 2008 12:52 PM
> To: Mitul Sen (misen); [email protected]
> Subject: RE: Cannot start snmpd agent
> 
> > From: Mitul Sen (misen) [mailto:[email protected]]
> > Sent: Wednesday, December 03, 2008 10:54 AM
> 
> > Thanks for your help. Did you want me to use 0.0.0.0:10161 or to 
> > specify my localhost address? I actually tried both and it 
> didn't seem 
> > to work (got the same "Error opening endpoint").
> > Here is what I did
> 
> 	DOH!  Use "udp:0.0.0.0:10161".  Also, you may want the 
> "-f" flag while testing to keep the agent in the foreground 
> (necessary for "-Le" to work properly).
> 
> 
> 	HTH,
> 
> Mike
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

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