Re: agent only responding to the localhost... not to the interfaces...

Joao Miguel Ferreira <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Escola Superior de Tecnologia e Gestao de Viana do Castelo
Message-ID <1161698188.2368.158.camel@sandoval>
thank you Dave.

please see bellow

On Tue, 2006-10-24 at 13:53, Dave Shield wrote:
> On 24/10/06, Joao Miguel Ferreira <[email protected]> wrote:
> > --- unfortunatelly the agent does not respond if the requests are
> > directed to any of the interfaces - even when the requests are executed locally.
> 
> The first thing to determine is whether the agent is receiving the
> requests or not.
> Try running the agent using the flags   "-d -f -Le"   and then send
> the same query.
> Do you see incoming packet dumps or not?

I have a log file. The agent logs every query received through the local
interface. All of them (1 per minute). But it logs nothing with respect
to the commands that do not work.... this would imply that the querys do
not get to the agent, right ?

I send bellow a excerpt of the snmpd init script (/etc/init.d/snmpd)

--------------------------------------------------
--------------------------------------------------
case "$1" in
  start)
    echo -n "Starting network management services:"
    if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then
        start-stop-daemon --quiet --start --exec /usr/sbin/snmpd \
            -- $SNMPDOPTS
        echo -n " snmpd"
    fi
--------------------------------------------------
----------------- $SNMPDOPTS ---------------------------------
SNMPDOPTS='-C -c /etc/snmp/snmpd.conf -Lsd -Lf /dev/null -p
/var/run/snmpd.pid'
------------------------------------------------------

does this help ?

thank you

jmf


> 
> Dave


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