Thursday, January 27, 2011

Need Help regarding nagios plugin

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

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

    From Massimo
  • 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.

    Master : thanks buddy , both r working now
    From PP
  • 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.

0 comments:

Post a Comment