add health-check #1

Closed
opened 10 months ago by René Wagner · 6 comments
Owner
There is no content yet.
René Wagner added the
enhancement
label 10 months ago
Collaborator

If you're talking about a health check for "serve" functionality, there is a health check endpoint! https://natpen.net/code/gus/tree/serve/views.py#n56

You can see an example of it getting called here https://natpen.net/code/gus/tree/infra/gemini-health-check-gus.guru.service

If you're talking about a health check for "serve" functionality, there is a health check endpoint! https://natpen.net/code/gus/tree/serve/views.py#n56 You can see an example of it getting called here https://natpen.net/code/gus/tree/infra/gemini-health-check-gus.guru.service
Poster
Owner

Jep, i'm aware of this. :)

This issue is more of a reminder for me to eventually set this up. I'm currently using a simple port check which tests availability of port 1965 from "the outside".

Jep, i'm aware of this. :) This issue is more of a reminder for me to eventually set this up. I'm currently using a simple port check which tests availability of port 1965 from "the outside".
Collaborator

Ahhh, okay I understand now. One thing you could do is reach out to Stephane Bortzmeyer about this - he has already set up a health checker for gus.guru, to check it from an unrelated system and network location. He would probably be happy to set one up for you too :)

Ahhh, okay I understand now. One thing you could do is reach out to Stephane Bortzmeyer about this - he has already set up a health checker for gus.guru, to check it from an unrelated system and network location. He would probably be happy to set one up for you too :)
René Wagner added
operations
and removed
enhancement
labels 10 months ago

The health checker relies on the Manisha program which is a simple plug-in for Nagios, Icinga and similar monitoring programs.
Yes, I have an instance running and I can monitor geminispace.info as well, or you could use your own monitoring instance.
Manisha can check that port 1965 is open (which is obvious) but also the status code, the content of the answer, certificates soon-to-expire, etc.

The health checker relies on the [Manisha program](gemini://gemini.bortzmeyer.org/software/manisha/) which is a simple plug-in for Nagios, Icinga and similar monitoring programs. Yes, I have an instance running and I can monitor geminispace.info as well, or you could use your own monitoring instance. Manisha can check that port 1965 is open (which is obvious) but also the status code, the content of the answer, certificates soon-to-expire, etc.
Poster
Owner

@bortzmeyer Thanks for you suggestion.
It would be really nice if you'd add geminispace.info to your instance. Port/status code check would be sufficient for moment.

Thank you for your efforts.

@bortzmeyer Thanks for you suggestion. It would be really nice if you'd add geminispace.info to your instance. Port/status code check would be sufficient for moment. Thank you for your efforts.
Poster
Owner

geminispace.info is monitored on https://status.clttr.info/public

geminispace.info is monitored on https://status.clttr.info/public
René Wagner closed this issue 5 months ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.