Using NRDP (Passive Checks)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nelsonw
Posts: 64
Joined: Wed Feb 22, 2017 4:03 am

Re: Using NRDP (Passive Checks)

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Using NRDP (Passive Checks)

Post 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"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nelsonw
Posts: 64
Joined: Wed Feb 22, 2017 4:03 am

Re: Using NRDP (Passive Checks)

Post by nelsonw »

Hi Scott,

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


Thanks,
Nelson
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Using NRDP (Passive Checks)

Post by scottwilkerson »

yes
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nelsonw
Posts: 64
Joined: Wed Feb 22, 2017 4:03 am

Re: Using NRDP (Passive Checks)

Post by nelsonw »

Thanks for your help Scott, it worked
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Using NRDP (Passive Checks)

Post by scottwilkerson »

nelsonw wrote:Thanks for your help Scott, it worked
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked