step 1 service snmpd stop step 2 pico /etc/snmp/snmp.conf
step 3 change line # sec.name source community #com2sec notConfigUser default public rocommunity public
step 4 service snmpd start
:)
----- Original Message ----- From: "Joel n.solanki" <zealous@xxxxxxxxxx>
To: "netfilter" <netfilter@xxxxxxxxxxxxxxxxxxx>; "squid" <squid-users@xxxxxxxxxxxxxxx>
Sent: Friday, October 22, 2004 1:13 PM
Subject: [squid-users] squid iptables snmp
Dear all,
I dont know wheather this problem is related to squid or iptables netfilter. But let me specify my problem. I tried my lots but i cant solve this problem.
Mrtg server Squid + Netfilter box Mikrotik Router
When I try to create mrtg for mikrotik router which is behind Squid + netfilter box, it gives me this error.
--------------------------------------------------------------------------- -base: Get Device Info on public@xxxxxxxxxxxxxxx: SNMP Error: no response received SNMPv1_Session (remote host: "202.202.202.202" [202.202.202.202].161) community: "public" request ID: 1723286139 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450 SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@xxxxxxxxxxxxxxx: at /usr/bin/cfgmaker line 657 --base: Vendor Id: --base: Populating confcache ---------------------------------------------------------------------------
If I removed squid + netfilter box then I tried to create mrtg for mikrotik router then i can easily do it. It doesnt give me any error.
Now i dont know wheather Is this problem related to Netfilter Iptables OR squid proxy server ????
I thought this might be iptables firewall problem so I just made the netfilter + squid box iptable rules to INPUT OUTPUT FORWARD to ACCEPT. So now it should work but it didnt.
Now i cant sort out where is the problem lying ...with iptables or with squid or any thing else ...
Awaiting for Ideas to get the solution in urgent.
-- Joel N.Solanki Network Administrator Mobile: 91-9426353268 Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)