Nagios Client Installation

On Unix Systems:

Installation

su - bb

wget http://pvalentino.pvalentino.lan/install/nagios/nagiosclient.tgz

cd to ~bb

tar zxvpf nagiosclient.tgz

chown bb.bb nagios/*

create symbolic links as follows:

ln -s /lib/libcrypto.so.0.9.7a /lib/libcrypto.so.0.9.7

ln -s /lib/libssl.so.0.9.7a /lib/libssl.so.0.9.7

To test, from server run:

the nagios user requires the ssh keys from bb so that it can issue ssh commands

ssh bb@hostname must work!!!

su - nagios

cd /usr/local/groundwork/nagios/libexec

./check_by_ssh -H 10.3.17.183 -C "libexec/check_mem.pl -f -c 2 -w 3"

./check_by_ssh -H 10.3.17.183 -t 30 -l bb -C "libexec/check_load -w 15,10,5 -c 30,25,20"

On Windows Systems:

Installation

Copy \pvalentinofs02libraryappsnagiosclient to C:

Open a command prompt:

cd nagiosclient

pnsclient.exe /install

Double click Nsclient.reg and click OK to accept the registry change

Back at command prompt type:

net start nsclient

For W2K3 Servers with DEP enabled:

Right Click "My Computer"

Select "Properties"

Click "Advanced"

Click "Settings" under Performance section

Select the "Data Execution Prevention" tab and click "Add"

Browse to c:nagiosclientpNsclient.exe

Windows servers do not require a reboot unless they have DEP enabled.

No comments: