Page 1 of 1
Page fault "Process Info" - Error: No output from backend!
Posted: Sat Mar 18, 2017 2:14 pm
by evisus
Hello everyone.
I am building a lab with nagios xi version 5.4.3 in centos 7, I have configured it with ssl with letsencrypt and having as reference the official document of nagios, the web access ssl and the access to the api works correctly. I only have problems accessing the "Process Info" page, in the box I have the error "Error: No output from backend!" (attached image).
I have tried to update the Nagios version but I have an error related to the cetificate and I think it may be related.
I hope I can get help from someone.
Regards!
Re: Page fault "Process Info" - Error: No output from backen
Posted: Sun Mar 19, 2017 5:33 pm
by rkennedy
Looking at your log file I see this -
Code: Select all
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=bgLTlOhGC5Xp' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
two things - does localhost resolve to 127.0.0.1, and was everything working fine prior to adding the SSL support?
[quote]
I have tried to update the Nagios version but I have an error related to the cetificate and I think it may be related.
[/code]
If you have a problem with your certificate then this will probably need to be resolved before it'll work with Nagios.
Re: Page fault "Process Info" - Error: No output from backen
Posted: Sun Mar 19, 2017 6:34 pm
by evisus
Hi
Localhost resolves as Rabbit-Prod (127.0.0.1)
[xxxx]$ ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from Rabbit-Prod (127.0.0.1): icmp_seq=1 ttl=64 time=0.049 ms
64 bytes from Rabbit-Prod (127.0.0.1): icmp_seq=2 ttl=64 time=0.074 ms
Everything worked normal before the certificate
Thanks for the help
Re: Page fault "Process Info" - Error: No output from backen
Posted: Sun Mar 19, 2017 8:29 pm
by evisus
Well I have come across one of the errors and it turns out that they are not related.
On accessing the nagios backend, I had forgotten to allow access to the localhost in the access restrictions in /etc/httpd/conf.d/nagios(xi-ql).conf. I added "Allow from 127.0.0.1" and I solved that problem.
I only have to solve the problem when trying to update NagiosXI.
I have added the certificates generated by letsencrypt to the ssl.conf file and now the error message is another one.
I thank you for your help.
Error
######
[xxxxxx]$ sudo /usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies
https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=bgLTlOhGC5Xp'
--2017-03-19 22:28:28--
https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:443... connected.
WARNING: no certificate subject alternative name matches
requested host name ‘localhost’.
HTTP request sent, awaiting response... 403 Forbidden
2017-03-19 22:28:28 ERROR 403: Forbidden.
######
Re: Page fault "Process Info" - Error: No output from backen
Posted: Sun Mar 19, 2017 8:48 pm
by evisus
hehehehe good I have solved both problems, in addition to adding the certificates generated by letsencrypt in my ssl.conf file, I had to add the name of the server for which the certificate was generated "ServerName = servername.com"
Now I update nagiosxi without problems, everything in operation.
Now I have my nagios with certificate, virtual host and with access restrictions validating the source ip
Thanks for the support
P.D .: I think I should have more sleep

Re: Page fault "Process Info" - Error: No output from backen
Posted: Mon Mar 20, 2017 9:12 am
by cdienger
Glad to hear you have things sorted : ) Is it okay to close the thread at this point or did you have any more questions?
Re: Page fault "Process Info" - Error: No output from backen
Posted: Mon Mar 20, 2017 9:22 am
by evisus
Of course, please close this thread.
Thank you!