all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Nicolò Balzarotti" <anothersms@gmail.com>
To: Pjotr Prins <pjotr.public12@thebird.nl>, Guix Devel <guix-devel@gnu.org>
Cc: guix-sysadmin@gnu.org
Subject: Re: System monitoring
Date: Sun, 29 Dec 2019 21:05:40 +0100	[thread overview]
Message-ID: <87k16enbhn.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20191228170317.2zfdsoewk4cfkzyf@thebird.nl>

Hello everybody!

Pjotr Prins <pjotr.public12@thebird.nl> writes:

> I was looking to deploy Nagios on our servers, but I am discouraged by
> its architecture. I would like something minimalistic that can run
> anywhere (including small routers).
>
I think zabbix should work, but I've never used it.  On the surface, it
seems to have a steep learning curve, but this is just my impression.

I manage a couple of personal servers and I wanted to do the same.  My
first approach was with julia, with the server (written using Mux.jl)
that takes data (as JSON objects) from "clients" and saves it to the
disk (and for warnings/error send it via matrix).  Clients were simple
programs, again written in julia, with a cron-like scheduler (Sched.jl)
to run them at fixed time.  So basically the idea was like yours.  My
main problem was with the data format. Since I wanted to store free disk
space, cpu usage, temperature from multiple sensors, I was not sure on
how to represent them in a nice way (and I never solved the problem, I
had separate metrics on separate logs).

> System monitoring has a number of important components, but they could
> all be simple and written in guile:
>
>   1. a (small) monitoring daemon (say for monitoring a web end point,
>      temperature or disk space)
>
>   These would be run by shepherd and submit events to a message queue
>   somewhere on the monitoring server (2)
>
>   2. queue handler
>
>   The queue handler sits on the monitoring server and drops messages
>   into a database
>
>   3. notification handler(s)
>
>   Reads the database and sends out alerts
>
>   4. curses and web-based monitors
>
>   These tools just fetch data from the database and handle aggregation
>
> I envisage rather simple tooling. 
>
> I am raising this here to see if anyone has come up with similar or
> partial solution(s). And to see who would be interested in such a
> project.
>

It was nothing serious and julia is not available (or at least a pain to
compile) on arm, so I agree that we can write things with guile.
I'll have more spare time at the end of February, but I'm willed to
help!

As a side note, maybe we should check how prometheous+graphana work.  I
read some blog post were it seems they work quite well.


> How do we monitor the Guix servers right now?
>
> Pj.

Thanks! Nicolò

  reply	other threads:[~2019-12-29 20:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-28 17:03 System monitoring Pjotr Prins
2019-12-29 20:05 ` Nicolò Balzarotti [this message]
2019-12-29 22:07   ` Pjotr Prins
2019-12-30 15:35 ` Arun Isaac
2020-01-05 19:39   ` Gábor Boskovits
2020-01-06  6:44     ` Pjotr Prins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k16enbhn.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me \
    --to=anothersms@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=guix-sysadmin@gnu.org \
    --cc=pjotr.public12@thebird.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.