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.
[nagios@localhost libexec]$ ./check_logfiles --logfile=logfile path --criticalpattern=string
Argument " 'runcount' => 38544," isn't numeric in localtime at ./check_logfiles line 2966.
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
Can you post a link to this plugin?
What OS/version is the plugin running on?
I want to test this plugin myself.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.