Hi,
I'm in the process of getting Nagios to start monitoring events via Event Log. However, after configuring the 'EventLog.txt' (attached) file to monitor an event, I get a "UNKNOWN - configuration incomplete" status. I'm sure I'm missing something.
I used the command below to check for the event:
./check_nrpe -H $HOSTADDRESS$ -u -t 30 -c check_logfiles -a EventLog.txt $ARG3$
Thanks.
Need help using check_logfiles
Need help using check_logfiles
You do not have the required permissions to view the files attached to this post.
Re: Need help using check_logfiles
I also have the attached file is another option but it is not detecting the event. Although, it is not giving me an error when I use this file, it just shows everthing is ok.
Thanks.
Thanks.
You do not have the required permissions to view the files attached to this post.
Re: Need help using check_logfiles
What check plugin is this using on the remote machine?
Re: Need help using check_logfiles
It is using the "check_nrpe" plugin. Thanks.
Re: Need help using check_logfiles
Sorry, I mean on the remote machine that's receiving the NRPE request. check_nrpe calls the remote agent and asks the remote machine to execute a plugin or script and return the results to the Nagios server. I need to know what it's executing on the remote machine that's giving those results, and also if it's being run on a windows machine, or unix/linux.
Re: Need help using check_logfiles
Check_logfiles
Re: Need help using check_logfiles
Ok, it looks like you may be getting some sort of debugging output from the plugin. The "Unknown" state is because the plugin is exiting properly and returning output that Nagios can understand. You may need to test the plugin directory on the remote machine to figure out what is causing the issue.
Here's the doc I found for that plugin, it appears to be community developed.
http://labs.consol.de/lang/en/nagios/check_logfiles/
Here's the doc I found for that plugin, it appears to be community developed.
http://labs.consol.de/lang/en/nagios/check_logfiles/