Naemon

From ArchWiki

Naemon is the new monitoring suite that aims to be faster and more stable, while giving you a clearer view of the state of your network.

Installation

Install naemonAUR.

Copy /etc/naemon/examples/* to /etc/naemon/conf.d/ if you want some example hosts and services to start with.

Install the plugins from monitoring-plugins as well as fping.

Web interface

Install thrukAUR, then uncomment:

/etc/naemon/naemon.cfg
broker_module=/usr/lib/naemon/naemon-livestatus/livestatus.so /var/cache/naemon/live

Thruk is a fast, modern GUI. Try out the demo[dead link 2021-05-17 ⓘ].

Apache configuration

Add the http user to the naemon group:

# usermod -aG naemon http

Load modules and include naemon-thruk.conf:

/etc/httpd/conf/httpd.conf
LoadModule rewrite_module modules/mod_rewrite.so                            
LoadModule fcgid_module modules/mod_fcgid.so 

Include conf/extra/thruk.conf

Set the thruk_user and thruk_group to naemon:

/etc/thruk/thruk_local.conf
thruk_user=naemon
thruk_group=naemon

Restart httpd.service and navigate to http://localhost/thruk/

The default username and password is thrukadmin:thrukadmin.

See also