Re: SNMP times out if running as a service

2007-08-07 Thread Javier Santiago
Hi Dave,

1 - Really sorry, I just pressed reply-to instead of replay-all...just a
little mistake.

2 - UPDATE: I execute #snmpd -Dread_config and it works!. "snmpd" gets
running on the background and responds to snmpwalk queries. I have
succesfully added this server to my Nagios-like monitor (zenoss).

Can't understand why the startup script on Debian does not read the proper
config file at /etc/snmp/...

Regards,

-- 

*Javier Santiago*
**


On 8/2/07, Dave Shield <[EMAIL PROTECTED]> wrote:
>
> [ First - *please* don't mail me privately, without copying
>  any responses to the mailing list.  I don't have the time
>  or inclination to offer private, unpaid, SNMP consultancy.
>  Keep discussions to the list, where others can both learn
>  and offer advice.  Thanks.   ]
>
>
>
> On 01/08/07, Javier Santiago <[EMAIL PROTECTED]> wrote:
> > No replay from teh shell when executing this command. Strange, nor even
> > error is displayed.
>
> Just to be sure, what is the *exact* command that you are running?
> What is the full output that you see?
>
> Dave
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMP times out if running as a service

2007-08-02 Thread Dave Shield
[ First - *please* don't mail me privately, without copying
 any responses to the mailing list.  I don't have the time
 or inclination to offer private, unpaid, SNMP consultancy.
 Keep discussions to the list, where others can both learn
 and offer advice.  Thanks.   ]



On 01/08/07, Javier Santiago <[EMAIL PROTECTED]> wrote:
> No replay from teh shell when executing this command. Strange, nor even
> error is displayed.

Just to be sure, what is the *exact* command that you are running?
What is the full output that you see?

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMP times out if running as a service

2007-07-30 Thread Javier Santiago de la Peña




Hi Dave,

Hum...

I have looked for another snmpd.conf file and the only one is at
/var/lib/snmpd.conf, and is a persistent file.

How do I know which file is snmpd reading to apply configuration?.

regards,

Javier Santiago de la
Peña // Zasylogic.com
mobile:+0034 630186151
work:+0034 916573128 // ext 410





Dave Shield wrote:

  On 30/07/07, Javier Santiago de la Peña <[EMAIL PROTECTED]> wrote:
  
  
 Tested. Did not work, also.

 I can't query using IP, just "localhost" or "127.0.0.1".

  
  

If you've removed the entry
  com2sec local   127.0.0.1/32public

and the agent still responds to localhost requests,
then I'd suspect that the agent isn't actually reading the
snmpd.conf file that you expect.

Dave

  



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMP times out if running as a service

2007-07-30 Thread Dave Shield
On 30/07/07, Javier Santiago de la Peña <[EMAIL PROTECTED]> wrote:
>  How do I know which file is snmpd reading to apply configuration?.

Run
snmpd    -Dread_config

That will display the file(s) that are being loaded, and the directives
as they are read in.

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMP times out if running as a service

2007-07-30 Thread Javier Santiago
Hi Dave,

Sorry, maybe I did not explain it properly..

I removed the 127.0.0.1 entry and yes, it did not provide any response...but
public IP also timed out.

So I have activated the 127.0.0.1 entry again

(of course, I restarted snmp every time I made a modification).

Regards,

-- 

*Javier Santiago*
*mobile:*+0034 630186151
*work:*+0034 916573128 // ext 410



[image: My status] 

On 7/30/07, Dave Shield <[EMAIL PROTECTED]> wrote:
>
> On 30/07/07, Javier Santiago de la Peña <[EMAIL PROTECTED]>
> wrote:
> >  Tested. Did not work, also.
> >
> >  I can't query using IP, just "localhost" or "127.0.0.1".
>
>
> If you've removed the entry
>   com2sec local   127.0.0.1/32public
>
> and the agent still responds to localhost requests,
> then I'd suspect that the agent isn't actually reading the
> snmpd.conf file that you expect.
>
> Dave
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMP times out if running as a service

2007-07-30 Thread Dave Shield
On 30/07/07, Javier Santiago de la Peña <[EMAIL PROTECTED]> wrote:
>  Tested. Did not work, also.
>
>  I can't query using IP, just "localhost" or "127.0.0.1".


If you've removed the entry
  com2sec local   127.0.0.1/32public

and the agent still responds to localhost requests,
then I'd suspect that the agent isn't actually reading the
snmpd.conf file that you expect.

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMP times out if running as a service

2007-07-30 Thread Dave Shield
On 30/07/07, Javier Santiago de la Peña <[EMAIL PROTECTED]> wrote:
>  a) snmpd.conf content:
>
>  com2sec local   127.0.0.1/32public
>  com2sec local   local_host_public_ip/24  public

H
Not sure that'll work.

Try deleting the '127.0.0.1' line, and restart snmpd.
Can you query it using the IP address then?

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMP times out if running as a service

2007-07-30 Thread Dave Shield
On 30/07/07, Javier Santiago <[EMAIL PROTECTED]> wrote:
> When snmpwalk is executed for localhost, proper response is received. But,
> if executed for a host's public IP, Times out always.

That sounds like either access control, or firewall settings.

What is in your snmpd.conf file?
What is in the /etc/sysconfig/iptables file?

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users