Page fault "Process Info" - Error: No output from backend!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Page fault "Process Info" - Error: No output from backend!

Post 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!
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Page fault "Process Info" - Error: No output from backen

Post 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.
Former Nagios Employee
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Re: Page fault "Process Info" - Error: No output from backen

Post 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
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Re: Page fault "Process Info" - Error: No output from backen

Post 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. :roll:

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.
######
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Re: Page fault "Process Info" - Error: No output from backen

Post 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 :D
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Page fault "Process Info" - Error: No output from backen

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
evisus
Posts: 82
Joined: Tue Apr 26, 2016 1:19 pm

Re: Page fault "Process Info" - Error: No output from backen

Post by evisus »

Of course, please close this thread.

Thank you!
Locked