Nagios Plugins: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 23: Line 23:


   cp plugins/check_disk /apps/nrpe2.6/libexec/
   cp plugins/check_disk /apps/nrpe2.6/libexec/
NOTE: 'check_mrtgtraf.c' was fixed on Linux's /usr/local/src

Revision as of 02:04, 16 January 2007

 cd /usr/local/src/nagios-plugins-1.4.5
 su nagios

On clonweb (where we are running Nagios):

 ./configure --prefix=/www/nagios2.6

On any other machine which is suppose to be remotely monitored by clonweb:

 ./configure

Compile:

 gmake

NOTE: compiling fails on Solaris at some point but produces 'check_disk' at least ..

On clonweb:

 gmake install

On other machine just copy plugins you need (or all of them) to 'nrpe' area (assume 'nrpe' is installed already):

 cp plugins/check_disk /apps/nrpe2.6/libexec/

NOTE: 'check_mrtgtraf.c' was fixed on Linux's /usr/local/src