Page 1 of 1

NRDP Config manager

Posted: Tue May 28, 2013 12:10 pm
by 360crm
Evening all

I am currently getting an issue when running the install instructions from NRDP config manager on a couple of servers.

When I run the wget on the link provided through the XI interface I get the following:

Code: Select all

HTTP request sent, awaiting response... 404 Not Found
2013-05-28 17:48:25 ERROR 404: Not Found.

--2013-05-28 17:48:25--  http://servers.tar.gz/
Resolving servers.tar.gz... failed: Name or service not known.
wget: unable to resolve host address `servers.tar.gz'
It seems to connect to the ip ok as above it states Connecting to <ipaddress>:80 connected.

This is the command XI interface gives me:

Code: Select all

wget -O Asterisk Servers.tar.gz "http://<ipaddress>/nrdp/?cmd=nrdsgetclient&token=nh6lkj382hha&configname=Asterisk Servers"
Any advice would be greatly appreciated.

Re: NRDP Config manager

Posted: Tue May 28, 2013 12:19 pm
by slansing
Hmm, just as a double check can you ping the nagios server from the remote host you are trying to download to? Have you done anything such as enable SSL on the nagios server? Or change it's default port away from 80. "It does not seem so as wget can resolve it."

I'm unable to reproduce this on my end. Though I do believe Asterisk should not be in the command, it should look like this:

Code: Select all

wget -O Servers.tar.gz "http://<ipaddress>/nrdp/?cmd=nrdsgetclient&token=nh6lkj382hha&configname=Asterisk Servers"
I think that is an issue with you how defined the config name, I don't believe using an asterisk will be valid as it is a illegal character in many Nagios components.

Re: NRDP Config manager

Posted: Tue May 28, 2013 12:26 pm
by 360crm
Thanks for the information, which solved the issue.

The problem was my config was named asterisk servers, when I changed to asteriskservers it worked ok it didn't like the space.

Thanks again!

Re: NRDP Config manager

Posted: Tue May 28, 2013 12:42 pm
by slansing
Great, glad to hear it was not a bug :)!