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

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 21/12/2007, Xuan Pan <[email protected]> wrote:
> To start up the daemon I use:
> /usr/local/sbin/snmpd -d -Le

Can you please try using

    /usr/local/sbin/snmpd -f -Le

instead.
Shut down the agent, then restart it using this command.
What output do you see?


> I think the snmpd.conf file used by the daemon should be located in
> /usr/local/share/snmp/snmpd.conf which contains the following information:
> rocommunity public
> rwcommunity private
> sysservice 79

That *should* work - yes.
But given that getnext is returning noSuchName,
I don't actually believe that this agent is starting up properly.

I suspect that you may have a vendor-supplied agent already
running, and that's what is responding to your requests.


Dave

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