ergo icon indicating copy to clipboard operation
ergo copied to clipboard

Better monitoring of a running server

Open DanielOaks opened this issue 6 years ago • 6 comments

Inspired by our cool friend project eris, it may make sense for us to integrate into other monitoring software. Lets server runners see trends over time, see the status of the box without running a bunch of IRC commands, and may let the runners actually perform maintenence actions without being connected? I've thought about some custom exposure for this, e.g. the old JSON API that we used to expose, but being able to piggyback off existing, stable monitoring software solutions would be cool.

eris uses Grafana, I wonder what's out there, fairly simple to integrate, relatively well-supported, low-dependency and has the features that we'd like.

DanielOaks avatar Feb 22 '19 04:02 DanielOaks

We might want to talk more generally about bringing back a web interface (in this case, to serve a stats endpoint). This is relevant to several other tickets:

  1. We might want a viewer for persistent logs: #348
  2. We might want admin dashboards for user accounts: #288, #414
  3. We might want API functionality for IP bans

slingamn avatar Feb 22 '19 07:02 slingamn

bringing back a web interface (in this case, to serve a stats endpoint).

Web content served via internal httpd, or relying on other httpds? (nginx, apache, etc). The idea is awesome.

bogdomania avatar Feb 22 '19 15:02 bogdomania

Internal httpd yeah. Oragono's internal httpd would only serve an API endpoint, very small and doesn't take up much space or processing :)

DanielOaks avatar Feb 22 '19 20:02 DanielOaks

img1

I started a demo of a user interface, nothing fancy, just some web pages. Once all the pages are working, I will tailor the content more closely to Oragono's needs. Feel free to drop any toughts.

[L.E.] I think a good web app and a tiny webserver, all in the same package, running locally, on admin's machine ( with packaging in place, for various OS ) would be far more effective than relying on third party, like Grafana.

bogdomania avatar Sep 27 '19 20:09 bogdomania

Hi @bogdomania, your screenshot looks pretty neat! What's the status on the project, is there possibly a pre-release for download somewhere?

tacerus avatar Jun 15 '21 13:06 tacerus

As for monitoring, there exists https://github.com/dgl/ircd_exporter, but it unfortunately relies on the STATS command and is designed for linked servers.

tacerus avatar Jun 15 '21 13:06 tacerus