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

Feature request: Indicate the user who should execute the search, by parameters #60

Open iam333 opened 4 years ago

iam333 commented 4 years ago

Hi! thank in advance for your job!thats great!

Would it be possible to execute the search for a string in a log, indicating a specific user (the owner of the log) by parameters, for example?

My problem is that I am looking for a string in a log restricted to a certain user, to be able to do it I execute check_logfiles with sudo, but I would like to be able to avoid it.

I have seen the example of doing it by touching the ACLs, but they are machines in which we cannot do it.

thanks