Re: [Fwd: Re: Q: how to create a simple agent deals with scalars]

This is a discussion on Re: [Fwd: Re: Q: how to create a simple agent deals with scalars] within the SNMP Users forums, part of the Networking and Network Related category; > OK. > Just to confirm - does > "snmpgetnext -v 1 -c public localhost ip" > > still ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-21-2007
Xuan Pan
 
Posts: n/a
Default Re: [Fwd: Re: Q: how to create a simple agent deals with scalars]

> OK.
> Just to confirm - does
> "snmpgetnext -v 1 -c public localhost ip"
>
> still return a noSuchName error?
>


This one seems to work. It returns IP-MIB::ipForwarding.0 = INTEGER:
notForwarding(2)

and

snmpget -v 1 -c public localhost ipForwarding.0 also works (but not the
object ipForwarding. I also walked further to get some other objects such
as ipDefaultTTL.0, ipInReceives.0... It seems they have a sub-identifier
'.0' for each of the objects)


>
> What do you see if you restart the agent using
> /usr/local/sbin/snmpd -f -Le -Dread_config
>


It returns that it can not find configuration settings from some default
directories and it reads information from the following directories
/usr/local/share/snmp/snmpd.conf
/var/net-snmp
and so on...

/Pan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
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 11:28 AM.


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