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

Load Nagios::CheckLogfiles::Search::Eventlog only if we are on Windows. #77

Open hpreusse opened 1 year ago

hpreusse commented 1 year ago

This PR should addess parts of #73

xavierba commented 1 year ago

Thanks for submitting the PR. Actually, you should use 'require' rather than 'use', so Nagios::CheckLogfiles::Search::Eventlog isn't used at compile time, only runtime. Sorry for commenting too early yesterday, I probably was too low on caffeine ;)

hpreusse commented 1 year ago

@xavierba. I'm not a programmer at all, I just moved some code around. I've changed the fork and hence updated the PR. Thanks for the hint!

lausser commented 1 year ago

I am aware of your comments here and i will have a look later. I'm just too busy in the moment...