Posts Tagged ‘stats’

Fetching logs and generating stats from a Google Search Appliance

Thursday, September 21st, 2006

Blake Crosby has a collection of scripts on his site which are handy for fetching logs and generating stats from a Google Search Appliance (the mini GSA aswell).
You’ll need to install some modules from CPAN before you get started, all the required moduled are included in a comment on each script.

Spamd Statistics

Thursday, July 27th, 2006

After a quick google round I came across this post on misc@
Sadly the link is now dead, but a copy of the script was reposted onto misc@ again which is handy, I’ve also made a copy of the script available here

Anyway, so I copied the script onto one of my openbsd boxes & fired it up resulting in this rather impressive output:
Spamd statistics: (logfile: /var/log/spamd)
Average
Host Seconds Connections (secs/conn)

great!, spamdb lists a huge list of IP addresses & this is all I’m able to get out of it??
After checking out /etc/syslog.conf I found that I hadn’t added the entry for logging spamd when I reformatted, a quick edit & a kill -HUP later things looked much better! :)

Spamd statistics: (logfile: /var/log/spamd)
Average
Host Seconds Connections (secs/conn)
201.27.29.243: 12 1 12.00
217.22.88.123: 24 1 24.00

Typo in Webalizer manpage

Tuesday, July 5th, 2005

Whilst writing the weblizer.conf file for this site I came across a typo in the man page. The keyword Hostname listed in the manpage is wrong, if used the following error is spat out when webalizer is run:
Warning: Invalid keyword 'Hostname' (/etc/webalizer.conf)

The correct keyword is: HostName

More stat goodness

Tuesday, July 5th, 2005

I’ve setup Webalizer to generate stats on the hour for this site, you can reach them via the link at the bottom of the sidebar.

PF Statistics

Sunday, July 3rd, 2005

I’ve gone stat & monitoring crazy in the past few weeks, using Hatchet you can generate graphs & charts from the PF log files on the state of PF. Another tool is also available called pfrtg which does a similar job.