Monitor useragent logfile for errors
varac opened this issue · comments
We had this already using the dispatcher setup, we just need to re-enable it.
I tried quickly but didn't got it running in the first shot so i reverted it today.
hey @varac!
We are discussing about that here: pixelated/pixelated-user-agent#601
So, i think we can close this issue and create another one after decide how we will solve this problem.
What do you think?
I'm not sure is the same thing.
No this is an issue about continuous parsing and monitoring the useragent logfile on the server for errors.
ok!
Thanks for the clarification, @deniscostadsc and @varac :)
doku for monitoring
To QA:
- There should be no useragent log nagios alerts in the dashboard
- Please review is the regular expressions in
/etc/check_mk/logwatch.d/user-agent.cfg
are sufficient (by looking in the logs for possible candidates that are not covered by those). - You can test the regex by simply echoing sth into
/var/log/pixelated/user-agent.log
, wait a few minutes and see if it will end up in/var/lib/check_mk/logwatch/unstable1.unstable.pixelated-project.i/...
- Please review if https://github.com/pixelated/project-issues/wiki/Monitoring makes sense to you as well
- @thaissiqueira and I tested it on unstable and everything is working fine and the wiki is good.
- About this comment, for now the regular expressions are enough and we can add more on demand.
Please review is the regular expressions in /etc/check_mk/logwatch.d/user-agent.cfg are sufficient (by looking in the logs for possible candidates that are not covered by those).
So, we can deploy on production
On tuesdays standup we decided that we need a clear workflow how to handle upcoming log errors. We just updated the Monitoring Logfiles wiki page with instructions how to do this. Hope this is clear enough.
Looks good @varac .
One thing that isn't working though is that deploy to dev fails due to the check-mk package not existing in dev. Can we elaborate a treatment for dev? Sorry to notice/mention this after the story was considered ready.