NRDP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sarpione
Posts: 49
Joined: Fri Oct 14, 2016 10:02 am

NRDP

Post by sarpione »

Hello how are you? my name is Santiago.
Just I enter to work in a company that are testing the nagios xi.
For now they have the trial version, one of the uses that more work is needed to receive reports of pcs (windows 7) outside the local network.
Inquiring saw that can be done with "NRDP" but when trying to implement it fails to work. Searching the internet I could not find a guide that explains step by step. Somebody could tell me where I can find it somewhere?
From already thank you very much.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NRDP

Post by tgriep »

We do have a guide for installing the Windows NRDS client, take a look at the link below.
https://assets.nagios.com/downloads/nag ... DS_Win.pdf
Take a look at it and if you have any questions or errors on instaling, just post back here and we'll try and answer them for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NRDP

Post by dwhitfield »

Additionally, I'm guessing you already read through our NRDP Overview, but in case not, here it is: https://assets.nagios.com/downloads/nrd ... erview.pdf

You can find NCPA Agent Installation Instructions at https://support.nagios.com/kb/article.php?id=110

What version of CentOS/RHEL are you using? In CentOS you can find out from rpm --query centos-release
sarpione
Posts: 49
Joined: Fri Oct 14, 2016 10:02 am

Re: NRDP

Post by sarpione »

Thanks for the answers.
Here I put them a better explanation.

Image

I already did this in the nagios xi (ubuntu is hosted on a virtual machine).
https://assets.nagios.com/downloads/nrd ... 1476457137

Except for the part of the host, which I did on GNU and not the nagios console.

In the Windows cliente im install NRDS and then edite config (Next image)

Image
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: NRDP

Post by gormank »

You might want to look into SNMP. You can use traps for passive, and gets for active monitoring. There's an SNMP wizard that can help a bit. Yes, people laugh at SNMP because its old, but once the service is running on the remote host, you can set up monitoring from the Nagios box. Once the number of hosts starts to get large that's a big issue.
Once a service is created by the wizard, you need to massage it so its generic and can be applied to many hosts, use templates, hostgroups, etc.
I'm not suggesting its a complete answer, but it may help...
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: NRDP

Post by avandemore »

First, Ubuntu isn't really supported as a Nagios XI host. While you can get to install, some components and plugins will not work correctly for several reasons.

Also it would be helpful to post details about your problems such as defining what "fails to work" means. Is there an error message on the console or the logs? Can you connect manually the to remote Windows box? Any detailed information you can provide may help to get you a quick and efficient answer.
Previous Nagios employee
sarpione
Posts: 49
Joined: Fri Oct 14, 2016 10:02 am

Re: NRDP

Post by sarpione »

This hosted on a CentOS 6.3 also have a core that if in Ubuntu.

Leave Windows log.

17/10/2016 1:04:00 p.m. NRDS --- --- Finished Transaction:
10/17/2016 1:09:00 PM --- --- Starting NRDS Transaction:
17/10/2016 1:09:00 p.m. Diagnostic mode: False
17/10/2016 1:09:00 p.m. basis NRDP locked and loaded address: http://192.168.230.168/nrdp/?token=1234567&cmd=
17/10/2016 1:09:00 pm XML being passed to check for updates: http://192.168.230.168/nrdp/?token=1234 ... DATA=<?xml version = '1.0'> <configs> <? config> <name> Test NRDP </ name> <version> 0 </ version> </ config> </ configs>
10/17/2016 1:09:00 PM Post running routine ..:
17/10/2016 1:09:00 p.m. ignoring certificate errors: 13056
10/17/2016 1:09:00 PM Post Data ....:
17/10/2016 1:09:00 pm ..... address: http://192.168.230.168/nrdp/?token=1234 ... DATA=<?xml version = '1.0'> <configs> <config? > <name> Test NRDP </ name> <version> 0 </ version> </ config> </ configs>
17/10/2016 1:09:00 p.m. NRDP response to update query: <? Xml version = "1.0" encoding = "utf-8"?>
<Result>
<Status> 2 </ status>
<Message> We do not Have That configuration </ message>
<Meta>
<Output> </ output>
</ Meta>
<Config>
</ Config>
</ Result>

10/17/2016 1:09:00 p.m. availability Config update: False
10/17/2016 1:09:00 p.m. command to be run. \ Plugins \ check_windows_time.bat 192.168.230.69 180,300
17/10/2016 1:09:00 p.m. executing command line. Cmd / c \ plugins \ check_windows_time.bat 192.168.230.69 180300>% temp% \ output.txt
17/10/2016 1:09:00 pm return results from plugin: OK% 3A + Time + is +% 2B00% 2E0477983s + from + 192% 2E168% 2E230% 2E69% 7C% 27Offset% 27% 3D00s% 3B180% 3B300% 3B0
10/17/2016 1:09:00 p.m. return code from plugin: 0
17/10/2016 1:09:00 pm XML to be posted to NRDP: token = 1234567 & cmd = submitcheck & XMLDATA = <? Xml version = '1.0'> <checkresults> <CheckResult type = 'service' CheckType = '1'> <hostname> Sarpi </ hostname> <servicename> Time </ servicename> <state> 0 </ state> <output> OK% 3A + Time + is +% 2B00% 2E0477983s + from + 192% 2E168% 2E230% 2E69% 7C % 27Offset% 27% 3D00s% 3B180% 3B300% 3B0 </ output> </ CheckResult> </ checkresults>
10/17/2016 1:09:00 PM Post running routine ..:
17/10/2016 1:09:00 p.m. ignoring certificate errors: 13056
17/10/2016 1:09:00 PM Post Data ....: token = 1234567 & cmd = submitcheck & XMLDATA = <? Xml version = '1.0'?> <Checkresults> <CheckResult type = 'service' CheckType = '1'> <hostname> Sarpi </ hostname> <servicename> Time </ servicename> <state> 0 </ state> <output> OK% 3A + Time + is +% 2B00% 2E0477983s + from + 192% 2E168% 2E230% 2E69% 7C % 27Offset% 27% 3D00s% 3B180% 3B300% 3B0 </ output> </ CheckResult> </ checkresults>
17/10/2016 1:09:00 p.m. address .....: http://192.168.230.168/nrdp/?token=1234567&cmd=
17/10/2016 1:09:00 PM post response from NRDP: <? Xml version = "1.0" encoding = "utf-8"?>
<Result>
<Status> 0 </ status>
<Message> OK </ message>
<Meta>
<Output> 1 checks processed. </ Output>
</ Meta>
</ Result>

10/17/2016 1:09:00 p.m. NRDS --- --- Finished Transaction:
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NRDP

Post by tgriep »

I have to verify that your Windows Host is not on the same network as your Nagios XI server, is that correct?
Do you have access to the routers / firewalls to setup port forwarding from the internet to your Nagios server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
sarpione
Posts: 49
Joined: Fri Oct 14, 2016 10:02 am

Re: NRDP

Post by sarpione »

In this case yes, the host is in the same network, but only for testing, the real case is the client outside the network, and yes i have acces to all network architecture.
I think im do it wrong the process in the host creation. maybe someone can give me step by step how i have to create the host to recive the pasive checks of nrdp.
i do that...

Image

and that in the host

Image
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NRDP

Post by rkennedy »

sarpione wrote:In this case yes, the host is in the same network, but only for testing, the real case is the client outside the network, and yes i have acces to all network architecture.
I think im do it wrong the process in the host creation. maybe someone can give me step by step how i have to create the host to recive the pasive checks of nrdp.
i do that...

Image

and that in the host

Image
Forgive me if I'm wrong as I'm not familiar with the plugin, but it looks like your passing $ARG1$ to -H. Usually, we pass $HOSTADDRESS$ to -H to specify which host to check based on. Otherwise, you're querying '180' as an IP which we know is not valid. You may just need to redefine your check command and have it use $USER1$/check_windows_time -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
Former Nagios Employee
Locked