NRDS download or wget not working
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: NRDS download or wget not working
I have tried to do this with no joy.
Did it on a clean build with a new install of XI, everything else seems to be working as well.
Gareth
Did it on a clean build with a new install of XI, everything else seems to be working as well.
Gareth
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: NRDS download or wget not working
On the new one, what's the output of ls -laR /usr/local/nrdp >/tmp/ls.txt?
Does everything look the same between the two servers?
Does everything look the same between the two servers?
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: NRDS download or wget not working
Hi dwhitfield
There certainly looks more files there than before
Heres the file as requested:
There certainly looks more files there than before
Heres the file as requested:
You do not have the required permissions to view the files attached to this post.
Re: NRDS download or wget not working
Can we get a fresh set of your apache logs? The ones we currently have are a bit old and don't reflect the new changes:
Code: Select all
/var/log/httpd/error_log
/var/log/httpd/ssl_error_log
/var/log/httpd/access_log
/var/log/httpd/ssl_access_logFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: NRDS download or wget not working
As requested please find the attached
Appreciate all the help
Appreciate all the help
You do not have the required permissions to view the files attached to this post.
Re: NRDS download or wget not working
This definitely stands out:
That probably shouldn't be returning a 404. I was able to replicate this on my Nagios XI machine.
Just to verify I understand exactly what's going on, can you share the outputs of the following commands:
And afterwards, run this command and see if it fixes the problem:
Code: Select all
172.29.130.22 - - [06/Mar/2017:14:20:31 +0000] "GET /nrdp/?cmd=nrdsgetclient&token=<token>&configname=<config_name>HTTP/1.1" 404 - "http://vapngoa101/nagiosxi/includes/components/nrdsconfigmanager/nrdsconfigmanager.php" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"Just to verify I understand exactly what's going on, can you share the outputs of the following commands:
Code: Select all
ls -d -1 /usr/local/nrdp/** | xargs ls -al
cat config.inc.php | grep tmp
Code: Select all
sed -i "2i\$cfg['tmp_dir'] = '/tmp';" /usr/local/nrdp/server/config.inc.phpFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: NRDS download or wget not working
Afternoon
That has worked and i have included the file for you to look at:
Thanks a lot for the help, if you could let me know the issue that would be great! just so i can know the cause if it was something we did wrong.
Regards
Gareth
That has worked and i have included the file for you to look at:
Thanks a lot for the help, if you could let me know the issue that would be great! just so i can know the cause if it was something we did wrong.
Regards
Gareth
You do not have the required permissions to view the files attached to this post.
Re: NRDS download or wget not working
The issue is a known bug with NRDP that will be fixed in a future version. Sorry for the confusion it may have caused!
Did you have additional questions regarding this issue, or can we close this thread and mark it as resolved?
Did you have additional questions regarding this issue, or can we close this thread and mark it as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: NRDS download or wget not working
Hi mcapra
No problem at all thanks a lot for the help and assistance.
Yes you can close the ticket off.
Gareth
No problem at all thanks a lot for the help and assistance.
Yes you can close the ticket off.
Gareth