i want to install the check_logfiles Nagios plugin.

The installation step says that

After unpacking the tar-archive you have to call ./configure. With ./configure --help you can show the options if you want to modify the default settings. However, these settings can later be overridden again by variables in the config file.

I am confused that whether I have to do that on monitoring host or remote host for which I want to check log file.

closed as off-topic by Ward, Flup, mdpc, Falcon Momot, MadHatter Jul 24 '14 at 11:59

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Ward, Flup, MadHatter
  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – mdpc, Falcon Momot
If this question can be reworded to fit the rules in the help center, please edit the question.


Installation of nagios plug-ins take place on the nagios server. It is not clear from your link how to process remote logs with the plug-in, however.

Oh wait, it mentioned being called from check_nrpe - and nrpe is a method of executing remote checks. So it seems that you compile this plug-in on your remote server (the one containing the logs) and it gets executed from the nrpe daemon on that host. See the sourceforce PDF on NRPE.

First, get nrpe working between your nagios server and your host. Then try and get this plug-in working on your host.


To check remote logfiles you must call the check at the remote host through nrpe or ssh. Nrpe is the best option, ssh checks are more costly.

Other option is forward all your syslog messages to a central syslog server. If the nagios host is the central syslog server for your environment, then you can call the check locally, obviously, because you will have the logs of the remote machine at the nagios server.


From the given examples, it looks like the plugin needs to run on the host whose log files you want to check; so your monitoring host will have (probably) to call this plugin via a SSH session to the monitored host.

But I really can't tell you any better, as I don't speak deutsch...