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

"Xuan Pan" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
You are right on the point that it did have a vendor supplied agent from
SUSE. I tried to uninstall it by rpm -e net-snmp. But it some other
libraries were dependent on net-snmp. So I tried to remove it without
considering the dependency by rpm -e --nodeps net-snmp. That command
succeeded. I am not sure the original preinstalled version was removed
completely.

The output of /usr/local/sbin/snmpd -f -Le
NET-SNMP version 5.3.2

Every time before starting up the daemon, I always check out the 161 port
by netstat -an | grep 161 to make sure this port is not opened. So there
shouldn't be another service that is responding my request.

/Pan

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