Local host error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Local host error

Post by CSykes1 »

Have the following local host error. I tried editing the service to the ip of the server with no change. Please advise.
You do not have the required permissions to view the files attached to this post.
kyang

Re: Local host error

Post by kyang »

Is this a brand new XI install? What OS and version?

Are you using SSL?

Which IP did you change it to? The Nagios XI IP? Or is it still using localhost now?

Can you run this command and show us the output?

Code: Select all

/usr/local/nagios/libexec/check_http -H localhost -v
How does the command look like now in the Core Config Manager? For this host?

Please let us know! Thanks!
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Local host error

Post by CSykes1 »

No this is been up and running for 2+ years.
No SSL
I changed it to the ip of the server.
out put from command
HTTP OK: HTTP/1.1 200 OK - 3193 bytes in 0.060 second response time |time=0.060273s;;;0.000000 size=3193B;;;0
In core see atttachment
You do not have the required permissions to view the files attached to this post.
kyang

Re: Local host error

Post by kyang »

Do you have a virtual host set up?

Try changing the command for that HTTP service to use this one --> check_xi_service_http

It's basically the same thing, except instead of using -I it uses -H for the hostname.

Apply config, force an immediate check on that localhost HTTP and let us know if that worked.
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Local host error

Post by CSykes1 »

See attachments.
You do not have the required permissions to view the files attached to this post.
kyang

Re: Local host error

Post by kyang »

Sorry, could you remove the 2.

Then try again. Thanks.
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Local host error

Post by CSykes1 »

That fixed it thanks.
kyang

Re: Local host error

Post by kyang »

Glad that worked out for you!

I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!
Locked