lausser / check_logfiles

A plugin (monitoring-plugin, not nagios-plugin, see also http://is.gd/PP1330) which scans logfiles for patterns.
https://omd.consol.de/docs/plugins/check_logfiles/
GNU General Public License v2.0
46 stars 27 forks source link

[REQUEST] Different thresholds for different time range #37

Closed Rohlik closed 6 years ago

Rohlik commented 6 years ago

Hello and thanks for this best plugin for monitoring logs.

Is it possible to set different warning/critical threshold for different time range?

For example between 6:00-22:00 hours, critical state occur at 5 critical patterns are found, but for time range 22:01-5:59 you need 15 critical patterns to be found.

Can you implement this feature to your script?

lausser commented 6 years ago

Sorry, that's not possible. I propose to implement this functionality with script/postscript methods.