Page 1 of 1

Inquiry about changing check_logfile output value.

Posted: Wed Oct 18, 2023 9:07 pm
by chunsuk4u
hi. I am Korean and currently monitor systems and networks with Nagios.
I'm trying to analyze the server's log, and I've configured it with check_logfiles, and I'm currently very satisfied with it.
However, when printing [OK - no errors or warnings]
This part [/var/log/messages OK - no errors or warnings]
I would like to change it to. I am modifying line 1138 of the check_logfiles file, but it does not work, so I am asking this.
Please help.

Re: Inquiry about changing check_logfile output value.

Posted: Tue Oct 24, 2023 9:38 am
by swolf
Hi @chunsuk4u, thanks for reaching out.

First, this looks like it's related to a Nagios XI plugin, so I'm moving this thread to from Nagios Log Server to Nagios XI.

Second, I don't have a good answer for you. It looks to me like check_logfiles is a community plugin hosted on the Nagios Exchange. I would recommend reaching out to the plugin's author for advice on how to configure or modify it to better suit your environment.