- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: where should I check to monitor logs of squid ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 11:45 PM
тАО04-18-2007 11:45 PM
where should I check to monitor logs of squid using mrtg
acl snmppublic snmp_community public
snmp_port 3401
snmp_access allow snmppublic all
# squid -k recon
installed mrtg, then ran
# ./cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' --output /home/httpd/mrtg/mrtg.cfg public@10.0.0.110
then mib.txt from squid directory to mrtg directory as
# cp /usr/local/squid/share/mib.txt /usr/local/mrtg-2/mibs/squid.mib
then add a line in mrtg.cfg
LoadMIBS: /usr/local/mrtg-2/mibs/squid.mib
then in cron
*/5 * * * * /usr/local/mrtg-2/bin/mrtg /home/httpd/mrtg/mrtg.cfg
Now what should I do, how can I check the log/traffic-graph of squid.. should I have to config the Apache too.
Plz help
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 11:51 PM
тАО04-18-2007 11:51 PM
Re: where should I check to monitor logs of squid using mrtg
If you want to monitor squid, see also srg or sarg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 12:09 AM
тАО04-19-2007 12:09 AM
Re: where should I check to monitor logs of squid using mrtg
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 01:21 AM
тАО04-19-2007 01:21 AM
Re: where should I check to monitor logs of squid using mrtg
>Yes, create an Alias and point it to /home/httpd/mrtg, use indexmaker to >generate the index page.
hmmm... if u can plz explain a bit more...(excuze me i m so dumb ;( ) i.e plz write me the syntax
>If you want to monitor squid, see also srg or sarg
Ok, I must try sarg
Thanks Ivan Krastev
>Another good choice is to use cacti. See how to configure - > http://gentoo-wiki.com/Cacti/Squid_Setup
Thanks for suggestion.. I will try cacti too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 01:28 AM
тАО04-19-2007 01:28 AM
Re: where should I check to monitor logs of squid using mrtg
even though I have ran the following commands, before running cfgmaker
# /etc/init.d/snmpd start
# chkconfig snmpd on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 10:37 AM
тАО04-19-2007 10:37 AM
Re: where should I check to monitor logs of squid using mrtg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 05:17 PM
тАО04-19-2007 05:17 PM
Re: where should I check to monitor logs of squid using mrtg
I found the sol... before running cfgmaker, I ran snmpconf, then I ran cfgmaker...and this time no errors... (and all the setting above).
Ok, I can see html files in /home/httpd/mrtg, but these files are not the squid logs, but logs of overall bandwith/traffic that passes from the machine(squid server).
Squid is doing fine, i.e sqid is providing snmp, because when I ran
# snmpwalk -c communityname -v1 127.0.0.1:3401 .1.3.6.1.4.1.3495.1
i got the whole bunch of lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 05:20 PM
тАО04-19-2007 05:20 PM
Re: where should I check to monitor logs of squid using mrtg
> Umm, you want to query the SNMP server running on port 3401 to get the >squid stats
HOW ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2007 11:50 AM
тАО04-22-2007 11:50 AM