OT: awstats on yum repository

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue Sep 9 22:23:09 IST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I added some statistics specifically to track MailScanner downloads. For
that I added the following lines to my awstats config:

ExtraSectionName1="MailScanner downloads by architecture"
ExtraSectionCodeFilter1="200 304"
ExtraSectionCondition1="URL,^\/el[45]\/.*"
ExtraSectionFirstColumnTitle1="Architecture"
ExtraSectionFirstColumnValues1="URL,^\/el[45]\/([A-Za-z0-9_]+)\/mailscanner-[0-9].*"
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=PBL
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=20
MinHitExtra1=1

ExtraSectionName2="MailScanner wrapper downloads by architecture"
ExtraSectionCodeFilter2="200 304"
ExtraSectionCondition2="URL,^\/el[45]\/.*"
ExtraSectionFirstColumnTitle2="Architecture"
ExtraSectionFirstColumnValues2="URL,^\/el[45]\/([A-Za-z0-9_]+)\/mailscanner-wrapper-[0-9].*"
ExtraSectionFirstColumnFormat2="%s"
ExtraSectionStatTypes2=PBL
ExtraSectionAddAverageRow2=0
ExtraSectionAddSumRow2=1
MaxNbOfExtra2=20
MinHitExtra2=1

ExtraSectionName3="MailScanner downloads by version"
ExtraSectionCodeFilter3="200 304"
ExtraSectionCondition3="URL,^\/el[45]\/.*"
ExtraSectionFirstColumnTitle3="Version"
ExtraSectionFirstColumnValues3="URL,^\/el[45]\/[A-Za-z0-9_]+\/mailscanner-([0-9.]+).*"
ExtraSectionFirstColumnFormat3="%s"
ExtraSectionStatTypes3=PBL
ExtraSectionAddAverageRow3=0
ExtraSectionAddSumRow3=1
MaxNbOfExtra1=20
MinHitExtra1=1

Over time it will show how popular the repository is and Jules can use
them to add to the general statistics.


- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIxuk8BvzDRVjxmYERAuTGAKCOo14MPaCF2+mZvv6JWQqsL5hTvgCeJI6C
T0QAv1E1dtftgtz8+EuhA5Q=
=7xHh
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list