Nagios Client Installation

On Unix Systems:


su - bb

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

cd to ~bb

tar zxvpf nagiosclient.tgz

chown nagios/*

create symbolic links as follows:

ln -s /lib/ /lib/

ln -s /lib/ /lib/

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 -C "libexec/ -f -c 2 -w 3"

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

On Windows Systems:


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: