eldy / AWStats

AWStats Log Analyzer project (official sources)
https://www.awstats.org
377 stars 120 forks source link

Added UptimeRobot https://uptimerobot.com/ #93

Closed neilgierman closed 5 years ago

neilgierman commented 6 years ago

I think I have the code correct, but 7.7 keeps misidentifying my robot:

Wed Mar 7 21:18:23 2018 - DEBUG 2 - UserAgent 'Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)' is added to TmpRobot with value 'oBot/' Wed Mar 7 21:18:23 2018 - DEBUG 2 - UserAgent 'Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)' contains robot ID 'oBot/'

visualperception commented 6 years ago

thre is an entry earlier in the file: 'oBot/', this should be put at end of file as it is likely to act as a catchall for anything ending in robot/ which includes your new entry. i.e. it should be checked after everything else.

neilgierman commented 6 years ago

Updated commit moves oBot lower and works on my machine.