Depending on the frequency that you write to that file logwatch may be the easier solution: https://mathias-kettner.de/checkmk_logfiles.html You may also want to look at writing a local check: https://mathias-kettner.de/checkmk_localchecks.html
Cheers, Marius From: <[email protected]> on behalf of Dennis Sweben <[email protected]> Date: Monday, 30 January 2017 at 17:06 To: "[email protected]" <[email protected]> Subject: [omd-users] Monitoring file Hi all, I made a python script that does a login to a custom server. I would like to monitor a file that it can write. The file will contain a string, Online Or Offline I can run this on the monitoring server itself using a cronjob or whatever. Whats the best way to monitor the output of this ‘local file’ on the monitoring-server itself? I do want to have Ok, Unknown, Critical for this and trigger notifications etc. Kind regards, Dennis
_______________________________________________ omd-users mailing list [email protected] http://lists.mathias-kettner.de/mailman/listinfo/omd-users
