Re: net-snmp Sub-Agent Demon tutorial problen
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2005-10-04 at 13:56 +0800, Earnest Pan wrote:
> If I create the new snmpd.conf.
> Where can I put the file?
Typically
/usr/local/etc/snmp/snmpd.conf
or similar.
Run snmpd with the option "-Dread_config"
to see the list of locations that the agent
is using.
> How can I start the snmpd?
The simplest way is just
snmpd
When debugging a problem, I tend to use
snmpd -f -Le
or
snmpd -f -Le -D{debug_token}
to see any output from the agent
(including any relevant debug messages).
> Why the agent came with the O/S is not the master
> agent?
Various possible reasons.
Either the O/S version of the agent doesn't have
AgentX support compiled in.
Or it's looking in a different config file,
and AgentX support isn't being turned on.
Or you haven't restarted the running agent
since updating the config file.
As a general rule, it's much safer to *remove*
the O/S provided agent completely, if you're going
to be working with a source-compiled version.
Having both installed at the same time is a
recipe for confusion.
Dave
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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