Issue with check_logfiles plugin
Posted: Wed Mar 04, 2015 6:18 am
Hi team,
we are using check_logfiles plugin to look for some pattern in our log files in few application servers, tough it was working fine till early this week on all the servers, we have had an issue on 1 server. When a check is executed we see the message 'CHECK_NRPE: Socket timeout after 30 seconds' on the nagios console. We have logged into the application server and run the plugin to check a pattern as there we get the below message.
I have tried re-compiling the plugin from source and also replacing it with the plugin from a different server where it was working fine with no success. 1 thing I observed is the tmp files created in /tmp are not getting created now. Please help
we are using check_logfiles plugin to look for some pattern in our log files in few application servers, tough it was working fine till early this week on all the servers, we have had an issue on 1 server. When a check is executed we see the message 'CHECK_NRPE: Socket timeout after 30 seconds' on the nagios console. We have logged into the application server and run the plugin to check a pattern as there we get the below message.
Code: Select all
[nagios@localhost libexec]$ ./check_logfiles --logfile=logfile path --criticalpattern=string
Argument " 'runcount' => 38544," isn't numeric in localtime at ./check_logfiles line 2966.