Today [email protected] wrote: > Good day, > Please can you still help me further? > > I want to use mrtg for analyzing squid-cache logs and other internet > traffic. Meanwhile i have configured this in squid: > acl snmppublic snmp_community public > snmp_port 3401 > snmp_access allow snmppublic all > My OS is Windows 7 Ultimate and these services are already running: > SNMP Service Started Automatic Local System > SNMP Trap Started Automatic (Delayed Start) Local Service > > In "NMPv1_Session (remote host: "localhost" [127.0.0.1].161)" does the 161 > the represent SNMP port, if so, how can i change it to 3401? > What else can i do to reslove the error? > Regards, > Yomi.
see 'Extended Host Name Syntax' in http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html please subscribe to the mrtg mailinglist for support! cheers tobi > > > > Squid, > > > > it is [email protected] > > > > listname is a placeholder! > > > > zou error means that your device (localhost) is not responding the > > snmp queries ... you have to enable snmp support > > > > cheers > > tobi > > > > > > Yesterday [email protected] wrote: > > > >> Good day, > >> I have sent Subscribe to [email protected] twice no > >> reply, > >> why? > >> However, i was trying to make mrtg.cfg for squid activities under > >> windows > >> 7 OS, see below my efforts and the errors. > >> > >> What can i do to correct this error? > >> > >> "SNMP Error: > >> no response received > >> SNMPv1_Session (remote host: "localhost" [127.0.0.1].161) > >> community: "public" > >> request ID: 1422315325 > >> PDU bufsize: 8000 bytes > >> timeout: 2s > >> retries: 5 > >> backoff: 1) > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 629 > >> SNMPWALK Problem for 1.3.6.1.2.1.1 on public@localhost::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping public@localhost: as no info could be retrieved" > >> > >> Regards, > >> Yomi > >> > >> My Efforts using different options: > >> > >> Microsoft Windows [Version 6.1.7600] > >> Copyright (c) 2009 Microsoft Corporation. All rights reserved. > >> > >> c:\mrtg-2.17.0>cd bin > >> > >> c:\mrtg-2.17.0\bin>perl mrtg > >> 'perl' is not recognized as an internal or external command, > >> operable program or batch file. > >> > >> c:\mrtg-2.17.0\bin>dir perl > >> Volume in drive C has no label. > >> Volume Serial Number is 000A-EAAD > >> > >> Directory of c:\mrtg-2.17.0\bin > >> > >> File Not Found > >> > >> c:\mrtg-2.17.0\bin>dir/w/p > >> Volume in drive C has no label. > >> Volume Serial Number is 000A-EAAD > >> > >> Directory of c:\mrtg-2.17.0\bin > >> > >> [.] [..] cfgmaker indexmaker > >> mrtg mrtg-traffic-sum rateup.exe rateup.nlm > >> 6 File(s) 630,349 bytes > >> 2 Dir(s) 124,958,629,888 bytes free > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl mrtg > >> Usage: mrtg <config-file> > >> > >> mrtg-2.17.0 - Multi Router Traffic Grapher > >> > >> Copyright 1995-2006 by Tobias Oetiker > >> Licensed under the Gnu GPL. > >> > >> If you want to know more about this tool, you might want > >> to read the docs. You can find everything on the > >> mrtg website: > >> > >> http://oss.oetiker.ch/mrtg/ > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker public --global "WorkDir: > >> c:\mrtg-2 > >> .17.0" --output mrtg.cfg > >> Error: > >> can't resolve "public" to IP address > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 428 > >> SNMPWALK Problem for public@public::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping public@public: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker public@snmppublic --global > >> "WorkDir > >> : c:\mrtg-2.17.0" --output mrtg.cfg > >> Error: > >> can't resolve "snmppublic" to IP address > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 428 > >> SNMPWALK Problem for public@snmppublic::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping public@snmppublic: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker public@localhost --global > >> "WorkDir: > >> c:\mrtg-2.17.0" --output mrtg.cfg > >> SNMP Error: > >> no response received > >> SNMPv1_Session (remote host: "localhost" [127.0.0.1].161) > >> community: "public" > >> request ID: -921942783 > >> PDU bufsize: 8000 bytes > >> timeout: 2s > >> retries: 5 > >> backoff: 1) > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 629 > >> SNMPWALK Problem for 1.3.6.1.2.1.1 on public@localhost::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping public@localhost: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker public@localhost:3401 > >> --global "Wor > >> kDir: c:\mrtg-2.17.0" --output mrtg.cfg > >> WARNING: Skipping public@localhost:3401 as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker [email protected] > >> --global "Wor > >> kDir: c:\mrtg-2.17.0" --output mrtg.cfg > >> Error: > >> can't resolve "localhost.3401" to IP address > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 428 > >> SNMPWALK Problem for [email protected]::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping [email protected]: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker public@[127.0.01].3401 > >> --global "Wo > >> rkDir: c:\mrtg-2.17.0" --output mrtg.cfg > >> Error: > >> can't resolve "[127.0.01].3401" to IP address > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 428 > >> SNMPWALK Problem for public@[127.0.01].3401::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping public@[127.0.01].3401: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker [email protected] > >> --global > >> "Work > >> Dir: c:\mrtg-2.17.0" --output mrtg.cfg > >> Error: > >> can't resolve "127.0.01.3401" to IP address > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 428 > >> SNMPWALK Problem for [email protected]::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping [email protected]: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker public@[127.0.0.1].3401 > >> --global "W > >> orkDir: c:\mrtg-2.17.0" --output mrtg.cfg > >> Error: > >> can't resolve "[127.0.0.1].3401" to IP address > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 428 > >> SNMPWALK Problem for public@[127.0.0.1].3401::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping public@[127.0.0.1].3401: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker [email protected] > >> --global "Wor > >> kDir: c:\mrtg-2.17.0" --output mrtg.cfg > >> Error: > >> can't resolve "127.0.0.1.3401" to IP address > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 428 > >> SNMPWALK Problem for [email protected]::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping [email protected]: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker [email protected] --global > >> "WorkDir: > >> c:\mrtg-2.17.0" --output mrtg.cfg > >> SNMP Error: > >> no response received > >> SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161) > >> community: "public" > >> request ID: -2082819803 > >> PDU bufsize: 8000 bytes > >> timeout: 2s > >> retries: 5 > >> backoff: 1) > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 629 > >> SNMPWALK Problem for 1.3.6.1.2.1.1 on [email protected]::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping [email protected]: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin>c:\perl\bin\perl cfgmaker public@localhost --global > >> "WorkDir: > >> c:\mrtg-2.17.0" --output mrtg.cfg > >> SNMP Error: > >> no response received > >> SNMPv1_Session (remote host: "localhost" [127.0.0.1].161) > >> community: "public" > >> request ID: 1422315325 > >> PDU bufsize: 8000 bytes > >> timeout: 2s > >> retries: 5 > >> backoff: 1) > >> at C:/mrtg-2.17.0/bin\..\lib\mrtg2/SNMP_util.pm line 629 > >> SNMPWALK Problem for 1.3.6.1.2.1.1 on public@localhost::::::v4only > >> at cfgmaker line 955 > >> WARNING: Skipping public@localhost: as no info could be retrieved > >> > >> > >> c:\mrtg-2.17.0\bin> > >> > >> > > > > -- > > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland > > http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900 > > > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900 _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
