Check_logfiles Timeout exceeded

Hi everyone ,

I am using consollabs logfile plugin.
https://labs.consol.de/nagios/check_logfiles/#introduction

Sometimes it returns Unknown and says Timeout exceeded as you see in the ss below.

image

and in the agent process is hanging and consumes CPU too much.

I observed this situation a few days . I guess it happens only logfile’s gets so big .
If this is the issue ,what could be other solution other than making logfile iteration more often ?

Thanks !

I use https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/logfile and it work well with big logs and also allows to clear events by acknowledge them.

Or send the logs to a log server like Graylog and process them there.

1 Like

Thank you rivad ,

You are trying to help everyone in this community .
Actually I was satisfied with the plugin I used except this issue . I will consider starting using the one you sent if I can not find other solution.