Re: Can't connect to master agent

Kelby Rogers <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thomas Anders wrote:

Kelby Rogers wrote:

It should be created implicitly by the master
agent if it sees the "agentx master" directive (or the appropriate
command-line switch).

In my ~/.snmp/snmpd.conf file I have the line 'master agent'. Just to be
sure I tried adding 'agentx master' in case I had something wrong, but
that returned 'Unknown token: agentx'

Please make sure you have "master agentx" (instead of the two wrong variants
above) in your config file. Run the agent with "-Dread_config" to verify that
it's really picking up this setting.

Thanks for spotting that. That's what the problem was! The
example-demon now outputs:

NET-SNMP version 5.3.0.1 AgentX subagent connected

Cheers,

Kelby

----------

This email, including any attachments, is only for the intended addressee. It is subject to copyright, confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission.

----------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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