Re: [squid-users] problem with snmp
Dnia Śr Grudnia 12 2007, 17:21, Adrian Chadd napisał(a): On Wed, Dec 12, 2007, [EMAIL PROTECTED] wrote: What about adding the snmp version there.. snmpwalk -m /usr/share/squid/mib.txt -v2c -c public localhost:3405 .1.3.6.1.4.1.3495.1.3.1 yea.. thanks :) it works, so on wiki.squid-cache.org are outdated infromations. Where in the Wiki? I'll go update it. Here: http://wiki.squid-cache.org/SquidFaq/SquidSnmp?highlight=%28snmp%29 * SquidFaq * SquidSnmp That isn't working: You can test if your Squid supports SNMP with the snmpwalk program (s nmpwalk is a part of the NET-SNMP project). Note that you have to specify the SNMP port, which in Squid defaults to 3401. snmpwalk -p 3401 hostname communitystring .1.3.6.1.4.1.3495.1.1 Regards, -- Tomasz
Re: [squid-users] problem with snmp
Dnia ¦r Grudnia 12 2007, 17:21, Adrian Chadd napisa³(a): On Wed, Dec 12, 2007, [EMAIL PROTECTED] wrote: What about adding the snmp version there.. snmpwalk -m /usr/share/squid/mib.txt -v2c -c public localhost:3405 .1.3.6.1.4.1.3495.1.3.1 yea.. thanks :) it works, so on wiki.squid-cache.org are outdated infromations. Where in the Wiki? I'll go update it. Here: http://wiki.squid-cache.org/SquidFaq/SquidSnmp?highlight=%28snmp%29 * SquidFaq * SquidSnmp That isn't working: You can test if your Squid supports SNMP with the snmpwalk program (s nmpwalk is a part of the NET-SNMP project). Note that you have to specify the SNMP port, which in Squid defaults to 3401. snmpwalk -p 3401 hostname communitystring .1.3.6.1.4.1.3495.1.1 Regards, -- Tomasz Thanks to you for catching this. The wiki is now updated. Amos
[squid-users] problem with snmp
Hello, I cant force squid to work woth snmp snmpwalk -m /usr/share/squid/mib.txt 127.0.0.1:3405 -c public cacheHttpHits snmpwalk: Timeout (Sub-id not found: (top) - cacheHttpHits) snmpwalk 127.0.0.1:3405 -c public -m /usr/share/squid/mib.txt snmpwalk: Timeout etc... In logs: 2007/12/12 16:08:56| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:08:57| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:08:58| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:08:59| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:09:00| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:09:01| Failed SNMP agent query from : 127.0.0.1. In squid.conf: acl snmppublic snmp_community public snmp_port 3405 snmp_access allow snmppublic localhost snmp_access deny all snmp_incoming_address 0.0.0.0 snmp_outgoing_address 0.0.0.0 (I disabled in configuration snmp_incoming/outgoing_address too, and changed address to 255.255.255.255 without effect). What can i do now? Regards -- Tomasz
[squid-users] problem with snmp
Hello, I cant force squid to work woth snmp snmpwalk -m /usr/share/squid/mib.txt 127.0.0.1:3405 -c public cacheHttpHits snmpwalk: Timeout (Sub-id not found: (top) - cacheHttpHits) snmpwalk 127.0.0.1:3405 -c public -m /usr/share/squid/mib.txt snmpwalk: Timeout etc... In logs: 2007/12/12 16:08:56| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:08:57| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:08:58| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:08:59| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:09:00| Failed SNMP agent query from : 127.0.0.1. 2007/12/12 16:09:01| Failed SNMP agent query from : 127.0.0.1. In squid.conf: acl snmppublic snmp_community public snmp_port 3405 snmp_access allow snmppublic localhost snmp_access deny all snmp_incoming_address 0.0.0.0 snmp_outgoing_address 0.0.0.0 (I disabled in configuration snmp_incoming/outgoing_address too, and changed address to 255.255.255.255 without effect). What can i do now? Regards -- Tomasz -- Tomasz Kolaj Administrator sieci ABP Computer
Re: [squid-users] problem with snmp
On Dec 12, 2007 7:14 AM, [EMAIL PROTECTED] wrote: Hello, Hello :) snmpwalk -m /usr/share/squid/mib.txt 127.0.0.1:3405 -c public cacheHttpHits snmpwalk: Timeout (Sub-id not found: (top) - cacheHttpHits) snmpwalk 127.0.0.1:3405 -c public -m /usr/share/squid/mib.txt snmpwalk: Timeout What about adding the snmp version there.. snmpwalk -m /usr/share/squid/mib.txt -v2c -c public localhost:3405 .1.3.6.1.4.1.3495.1.3.1 Does that work for ya? Tory
Re: [squid-users] problem with snmp
Dnia Śr Grudnia 12 2007, 16:47, Tory M Blue napisał(a): On Dec 12, 2007 7:14 AM, [EMAIL PROTECTED] wrote: Hello, Hello :) snmpwalk -m /usr/share/squid/mib.txt 127.0.0.1:3405 -c public cacheHttpHits snmpwalk: Timeout (Sub-id not found: (top) - cacheHttpHits) snmpwalk 127.0.0.1:3405 -c public -m /usr/share/squid/mib.txt snmpwalk: Timeout What about adding the snmp version there.. snmpwalk -m /usr/share/squid/mib.txt -v2c -c public localhost:3405 .1.3.6.1.4.1.3495.1.3.1 yea.. thanks :) it works, so on wiki.squid-cache.org are outdated infromations. Regards, -- Tomasz Kolaj Administrator sieci ABP Computer
Re: [squid-users] problem with snmp
On Wed, Dec 12, 2007, [EMAIL PROTECTED] wrote: What about adding the snmp version there.. snmpwalk -m /usr/share/squid/mib.txt -v2c -c public localhost:3405 .1.3.6.1.4.1.3495.1.3.1 yea.. thanks :) it works, so on wiki.squid-cache.org are outdated infromations. Where in the Wiki? I'll go update it. Adrian
Re: [squid-users] problem with snmp
[EMAIL PROTECTED] wrote: Dnia Śr Grudnia 12 2007, 16:47, Tory M Blue napisał(a): On Dec 12, 2007 7:14 AM, [EMAIL PROTECTED] wrote: Hello, Hello :) snmpwalk -m /usr/share/squid/mib.txt 127.0.0.1:3405 -c public cacheHttpHits snmpwalk: Timeout (Sub-id not found: (top) - cacheHttpHits) snmpwalk 127.0.0.1:3405 -c public -m /usr/share/squid/mib.txt snmpwalk: Timeout What about adding the snmp version there.. snmpwalk -m /usr/share/squid/mib.txt -v2c -c public localhost:3405 .1.3.6.1.4.1.3495.1.3.1 yea.. thanks :) it works, so on wiki.squid-cache.org are outdated infromations. Regards, I'm trying to do the same thing but I'm getting Timeout: No Response from localhost:3401. If I do a sockstat though it shows it listening on 3401. squidsquid 9376 163udp4 *:3401*:* Any ideas? Elvar
Re: [squid-users] problem with snmp
Elvar wrote: [EMAIL PROTECTED] wrote: Dnia Śr Grudnia 12 2007, 16:47, Tory M Blue napisał(a): On Dec 12, 2007 7:14 AM, [EMAIL PROTECTED] wrote: Hello, Hello :) snmpwalk -m /usr/share/squid/mib.txt 127.0.0.1:3405 -c public cacheHttpHits snmpwalk: Timeout (Sub-id not found: (top) - cacheHttpHits) snmpwalk 127.0.0.1:3405 -c public -m /usr/share/squid/mib.txt snmpwalk: Timeout What about adding the snmp version there.. snmpwalk -m /usr/share/squid/mib.txt -v2c -c public localhost:3405 .1.3.6.1.4.1.3495.1.3.1 yea.. thanks :) it works, so on wiki.squid-cache.org are outdated infromations. Regards, I'm trying to do the same thing but I'm getting Timeout: No Response from localhost:3401. If I do a sockstat though it shows it listening on 3401. squidsquid 9376 163udp4 *:3401*:* Any ideas? Elvar Nevermind, turns out it was an ACL issue. Regards, Elvar