Re: Re: snmpd.conf problem...

This is a discussion on Re: Re: snmpd.conf problem... within the SNMP Coders forums, part of the Networking and Network Related category; On your snmpget command, you need to specify the full OID name, in this case SNMPv2-MIB::sysUpTime, or add ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-06-2008
Rob Garcelon
 
Posts: n/a
Default Re: Re: snmpd.conf problem...


On your snmpget command, you need to specify the full OID name, in this
case SNMPv2-MIB::sysUpTime, or add the -IR flag to tell it to match the
name as a regular expression (as you did on for snmptranslate).

Rob

Amit Kumar wrote:
> it is working fine now...but i got some other errors ...please find the same.
> when I start the agent we have to give the name of both configuration files /etc/snmpd.conf , /var/net-snmp/snmpd.conf ?
>
> /usr/local/sbin/snmpd -c /var/net-snmp/snmpd.conf,/etc/snmpd.conf
>
> i killed the snmpd and added the line :
> net-snmp-config --create-snmpv3-user -ro -a "netadminpassword" netadmin
> after this the following line is gets stored in /var/net-snmp/snmpd.conf
> usmUser 1 3 0x80001f88802d0eb45600000000386d438b 0x6e657461646d696e00 0x6e657461646d696e00 NULL .1.3.6.1.6.3.10.1.1.2 0xb3b1ea6a70f6f27c14101b0da01ea70c .1.3.6.1.6.3.10.1.2.2 0xb3b1ea6a70f6f27c14101b0da01ea70c ""
> but when i do snmpget i am getting the following error :
> [root@localhost ~]# snmpget -v 3 -u netadmin -l authNoPriv -a MD5 -A netadmnpassword 172.20.1.64 sysUpTime.0
> snmpget: Timeout (Sub-id not found: (top) -> sysUpTime)
> [root@localhost ~]# snmptranslate -Le sysUpTime
> sysUpTime: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)
> [root@localhost ~]# snmptranslate -IR sysUpTime
> SNMPv2-MIB::sysUpTime
> [root@localhost ~]#
>
> Thanks
> Amit
>
>
>

<snip previous thread>


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:51 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0