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 26: Line 26:
NOTE: 'check_mrtgtraf.c' was fixed on Linux's /usr/local/src
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, and Makefile(s) in that directory must be fixed; we have so far:
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
   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