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 | <1161692760.2368.135.camel@sandoval> |
Hello all,
(two years ago I was an active member of this list because I was
developing an snmp agent for UPSs, and I keep the memory of everybody
helping me out... thanks for that. I also had the oportunity to help
others...)
My problem:
--- I'm running snmpd on a Debian/GNU/Linux router with several network
interfaces for traffic shapping;
--- there is an iptables firewall by I'm doing tests with all default
policies as ACCEPT;
--- I can access httpd and sshd: this would imply that the firewall is
letting things through (at least tcp !!!) (only connect through sshd)
--- I have even configured mrtg: it accesses snmpd locally through the
localhost (127.0.0.1) interface; it works just fine;
--- unfortunatelly the agent does not respond if the requests are
directed to any of the interfaces - even when the requests are executed
locally.
See bellow some shell details and snmpd.conf
thank you
jmf
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
bottle:~# ifconfig | grep -A 1 eth0
eth0 Encapsulamento do Link: Ethernet Endereço de HW
00:0E:2E:0D:60:C4
inet end.: 194.79.75.113 Bcast:194.79.75.127
Masc:255.255.255.224
bottle:~# snmpget -v2c -c public localhost sysContact.0
SNMPv2-MIB::sysContact.0 = STRING: Pedro Costa: pedroc _ estg | ipvc |
pt
bottle:~# snmpget -v2c -c public 194.79.75.113 sysContact.0
Timeout: No Response from 194.79.75.113.
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
bottle:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere ipp2p
v0.8.1_rc1 --kazaa --gnu --edk --dc --bit --apple --soul --winmx --ares
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
bottle:~#
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
-------- SNMPD.CONF ---------------------------
---- (I have eliminated most of the comment (#) lines, only those!) -
bottle:~# cat /etc/snmp/snmpd.conf
# snmpd.conf
#
# - created by the snmpconf configuration program
#
syslocation "Escola Superior de Tecnologia e Gestão"
syscontact Pedro Costa: pedroc _ estg | ipvc | pt
rocommunity public
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
Thank you all for your help
I really can't figure it out !?!?!
... this machine is our main gateway and we really need to monitor
it....
jmf
-------------------------------------------------------------------------
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