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!
Page fault "Process Info" - Error: No output from backend!
Page fault "Process Info" - Error: No output from backend!
You do not have the required permissions to view the files attached to this post.
Re: Page fault "Process Info" - Error: No output from backen
Looking at your log file I see this -
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.
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!
[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.
Former Nagios Employee
Re: Page fault "Process Info" - Error: No output from backen
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
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
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.
######
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
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
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
Glad to hear you have things sorted : ) Is it okay to close the thread at this point or did you have any more questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Page fault "Process Info" - Error: No output from backen
Of course, please close this thread.
Thank you!
Thank you!