Nagios behind teleport. #44195
Replies: 5 comments 4 replies
-
What appears in the Apache access/error logs when this happens? |
Beta Was this translation helpful? Give feedback.
-
Hi,
Apache error also shows nothing when connecting from teleport. However, there is an undefined array key error. That could be something. Although, I don't think it explains why
|
Beta Was this translation helpful? Give feedback.
-
"This site cannot be reached" actually sounds like a DNS error. You're trying to access My guess is that you haven't added a DNS record for the app pointing to your Teleport proxy as detailed here: https://goteleport.com/docs/enroll-resources/application-access/guides/connecting-apps/#tls-requirements |
Beta Was this translation helpful? Give feedback.
-
To be honest, I'm somewhat happy that this isn't making sense to you too! The error is just the chrome browser error where dns doesn't reslove. (I know, I know.... it looks like there is just like the web app does not exist). I have a vps running a non-containerised web app, and I have another vps with 5 docker containers. All of which are web apps in the same teleport cluster. And they all work fine. Nothing is explicitly appearing in the logs when trying to connect. But I did see this:
The 194 address is the vps with nagios. No issues using tsh at all. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am trying to setup nagios to monitor a few services I self-host. However, I cannot seem to put Nagios behind teleport.
I setup Nagios using the official setup (Ubuntu 22.04).
The installation works, but when I add Nagios as an app to teleport, I cannot access it through teleport.
This is my teleport app service:
If I remove the "/nagios/", it successfully resolves to the apache default page. But with the nagios path, I just get a "this site can't be reached" browser error.
http://<public_ipv4>/nagios/
displays correctly on the open web.To me, it doesn't seem like there is anything that should stop teleport from resolving nagios as an app.
curl http://localhost/nagios/
shows the nagios page.I assume it must have something to do with the apache config. (Not sure about apache at all.) I will lodge this question on the Nagios forum too. I just wanted to know if anyone here had come across something like this.
Thank you all for your help and any info is very much appriciated.
Beta Was this translation helpful? Give feedback.
All reactions