Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i want to install nagios plugin check_logfiles

Now 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.

Now i am confused that whether i have to do that on monitoring host or remote host for which i want to check log file. please help

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

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.

share|improve this answer
    
thanks buddy , both r working now –  John Aug 24 '10 at 10:41
add comment

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.

share|improve this answer
add comment

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...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.