Page 2 of 2

Re: Using NRDP (Passive Checks)

Posted: Thu Mar 07, 2019 10:06 am
by nelsonw
Hi Scott,

I ran the requested steps,
# cd /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager/
# ls -l
total 64
-rwxr-x---. 1 nagios nagios 1162 Nov 30 14:12 CHANGELOG.txt
-rwxr-x---. 1 nagios nagios 0 Feb 17 2017 installed.nrds
-rwxr-x---. 1 nagios nagios 1743 Nov 30 14:12 install.sh
-rwxr-x---. 1 nagios nagios 3079 Nov 30 14:12 nrdsconfigmanager.inc.php
-rwxr-x---. 1 nagios nagios 41021 Nov 30 14:12 nrdsconfigmanager.php
-rwxr-x---. 1 nagios nagios 6 Nov 30 14:12 nrds_version.txt
-rwxr-x---. 1 nagios nagios 18 Nov 30 14:12 nsis_version.txt
# rm -f installed.nrds
# ./install.sh
--2019-03-07 14:47:01-- https://assets.nagios.com/downloads/nrd ... 2.7.tar.gz
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19769576 (19M) [application/x-gzip]


However, when I run /tmp/clients/installnrds, I still receive the same curl error. Please advise if there is anything else I should do

# ./installnrds 127.0.0.1 30
nagios group already exists.
nagios user already exists.
Installing NRDS Client

Adding cron jobs for 127.0.0.1 at a 30 minute interval

Crontabs installed OK
Updating config and plugins
curl exited with error 1792
Installation complete


FYI - I understand it may not be normal to run NRDS Client on the same server as NagiosXI. The reason I am trying to do this is because I have a check that takes longer than 60 seconds and times out. I do not want to update the service_timeout variable, as this is not recommended


Thanks,
Nelson

Re: Using NRDP (Passive Checks)

Posted: Thu Mar 07, 2019 10:56 am
by scottwilkerson
I want you to run this again

Code: Select all

cd /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager/
rm -f installed.nrds
./install.sh
then re-download the package from

Code: Select all

wget -O NRDS_LINUX.tar.gz "http://<my nagios server>/nrdp/?cmd=nrdsgetclient&token=<My Token>&configname=NRDS_LINUX"

Re: Using NRDP (Passive Checks)

Posted: Thu Mar 07, 2019 11:49 am
by nelsonw
Hi Scott,

I have run wget again. Please advise if I should now run ./installnrds HOSTNAME INTERVAL


Thanks,
Nelson

Re: Using NRDP (Passive Checks)

Posted: Thu Mar 07, 2019 1:04 pm
by scottwilkerson
yes

Re: Using NRDP (Passive Checks)

Posted: Fri Mar 08, 2019 5:21 am
by nelsonw
Thanks for your help Scott, it worked

Re: Using NRDP (Passive Checks)

Posted: Fri Mar 08, 2019 8:15 am
by scottwilkerson
nelsonw wrote:Thanks for your help Scott, it worked
Great!

Locking thread