NagoisXI NRDP and Network Analyzer

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
hbackus
Posts: 36
Joined: Tue May 17, 2011 5:02 pm

NagoisXI NRDP and Network Analyzer

Post by hbackus »

I am doing an evaluation on Nagios XI and Nagios Network Analyzer using the OVF deployment.
Each is running on its own virtual machine on the same subnet with static ip addresses. I am attempting to setup NRDP on Nagios XI and have NetFlow data sent to Nagios Network Analyzer. I am using the document “Integrating Network Analyzer with Nagios Core and Nagioxs XI”.
Following the documents instructions at the Nagios Network Analyzer I click on the ‘Alerting’ tab, and then the ‘Nagios Setup’ and enter a friendly name in the Name field, the IP address of the Nagios XI server in the NRDP Address field, and the token from the config.inc.php file from the Nagios XI server in the NRDP Token field. When I click on the “Finish & Save’ button a display box pops up that says ‘URL does not appear to be an NRDP server http://nagiosxi_server_ip_address’.

Nagios XI 2012R2.9 NRDP server config file config.inc.php configuration is:
<?php
// NRDP Config File
// Copyright (c) 2010 Nagios Enterprises, LLC.
// License: Nagios Open Software License <http://www.nagios.com/legal/licenses>
//
// $Id: config.inc.php 454 2011-01-13 22:52:28Z egalstad $

$cfg['authorized_tokens']=array("testnrdp1234",);
$cfg["require_https"]=false;
$cfg["require_basic_auth"]=false;
$cfg["valid_basic_auth_users"]=array();
$cfg["nagios_command_group"]="nagcmd";
$cfg["command_file"]="/usr/local/nagios/var/rw/nagios.cmd";
$cfg["check_results_dir"]="/usr/local/nagios/var/spool/checkresults";
$cfg["tmp_dir"]="/usr/local/nagiosxi/tmp";
///////// DONT MODIFY ANYTHING BELOW THIS LINE /////////
$cfg['product_name']='nrdp';
$cfg['product_version']='1.2'
?>

The file's rights are: -rwxrwxr-- 1 nagios nagios 1956 May 21 02:12 config.inc.php

The file has also been copied to the /etc/httpd/ as conf.d

Testing the NRDP API with the default settings and the token from the config.inc.php file returns, this:

XML file does not appear to have any style information associated with it. The document tree is shown below.

<result><status>0</status><message>OK</message><meta><output>2 checks processed.</output></meta></result>.

Why I am getting the message from Nagios Network Analyzer that the URL for the Nagios XI is not an NRDP server.

Any other information that can be shared to help with this evaluation is appreciated.
:?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagoisXI NRDP and Network Analyzer

Post by scottwilkerson »

The URL should also include/nrdp/

e.g.

Code: Select all

http://nagiosxi_server_ip_address/nrdp/
Also, these machines need to be able to communicate with one another on the network.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
hbackus
Posts: 36
Joined: Tue May 17, 2011 5:02 pm

Re: NagoisXI NRDP and Network Analyzer

Post by hbackus »

Wow! I guess I should not be so literal with my interpretation of the document. Thanks...... :oops:
Locked