Slant is a *simple* remote multi-system monitor currently only for
OpenBSD machines, though easily portable.  Beyond the collector and a
CGI script, it also has a nice, customisable ncurses interface for
top-like monitoring of your hosts.  Yay.

More information at https://kristaps.bsd.lv/slant.

It requires an updated kwebapp, which I'll submit next.

I was a little unsure on how to keep the database in sync, so I use the
following method in the PLIST:

 - install the CGI script with 0 perms
 - run a script, slant-upgrade, which either installs the database or
updates it using the new and existing database configuration
 - the script starts by stopping the collector
 - the script then installs the new database configuration
 - the script then sets exec permissions on the CGI script

It uses kwebapp-sqldiff to create the patch.  This way, the CGI script
(or collector) is not called with an out-of-date representation of the
database.

I doubt this is the correct way of doing things, so please let me know
if there's a better solution.

Attachment: slant.tar.gz
Description: application/gzip

Reply via email to