On Thu, 2006-02-09 at 18:54 +0530, [EMAIL PROTECTED] wrote:
> I want to make sure whether a SNMP Agent is active or not?


What do you mean by active?
 
> ps -ef | grep snmpd" - shows the snmp daemon is running.

Yup.
I'd describe that as active
 
> "snmpd -f -Le -d" ==> gives the following error.
>  
> "Warning: no access control information configured.

So even if you manage to run it, you won't actually be
able to query it.   It's active, but inaccessible.


> [init_smux] bind failed: Address already in use
> Error opening specified endpoint "udp:161"
> Server Exiting with code 1"

That sounds as if there was *already* an agent
running.  Probably the one listed by ps.
It's very likely that this also doesn't have a
useful access control configuration.


> Please may i know what is going wrong.

You haven't set up access control before starting
the agent initially.
  Create a file  /etc/snmp/snmpd.conf (or
/usr/local/snmp/snmpd.conf depending on how
the software was compiled), containing

        rocommunity public

Make sure that the agent is *not* running
(using ps to check), and then run:

        snmpd -f -Le

What does this display?

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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

Reply via email to