Re: SNMP times out if running as a service
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
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
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
SNMP times out if running as a service
Hi Everybody, My first message to the list. I have installed a network monitor (ZenOSS) mostly based on SNMP. ZenOSS server is gathering SNMP info for Windows boxes without any remarkable problem. However, linux boxes are causing a lot of troubles... When snmpwalk is executed for localhost, proper response is received. But, if executed for a host's public IP, Times out always. I found that running the following command: snmpd -f -L -d makes SNMP agnt to run OK (see http://osdir.com/ml/network.net-snmp.user/2003-12/msg00154.html) However, this is just a temporal solution, as I do not really know what causes SNMP not to work OK as a service located at /etc/init.d/... Any ideas?. P.S: Sorry for my awful english! -- *Javier Santiago* *mobile:*+0034 630186151 *work:*+0034 916573128 // ext 410 [image: My status] - 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