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
 
(8 intermediate revisions by the same user not shown)
Line 8: Line 8:
On any other machine which is suppose to be remotely monitored by clonweb:
On any other machine which is suppose to be remotely monitored by clonweb:


   ./configure --prefix=/apps/nrpe2.6
   ./configure
 
Compile:


   gmake
   gmake
NOTE: compiling fails on Solaris at some point but produces 'check_disk' at least ..
On clonweb:
   gmake install
   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
NOTE: new pluging written by JLAB personal must be placed into 'plugins' dubdirectory. Makefile.in in that directory must be fixed, and ./configure
must be run again in main directory to produce Makefile. We have so far:
  check_quota.c by Sergey Boyarinov

Latest revision as of 12:53, 11 June 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

NOTE: new pluging written by JLAB personal must be placed into 'plugins' dubdirectory. Makefile.in in that directory must be fixed, and ./configure must be run again in main directory to produce Makefile. We have so far:

 check_quota.c by Sergey Boyarinov