Difference between revisions of "Naemon"

From ArchWiki
Jump to: navigation, search
(Apache configuration: Use thruk_local.conf not thruk.conf)
(Installation: sample config moved to examples)
Line 6: Line 6:
  
 
Install {{aur|naemon}} from the [[AUR]].
 
Install {{aur|naemon}} from the [[AUR]].
 +
 +
Copy /etc/naemon/examples/* to /etc/naemon/conf.d/ if you want some example hosts and services to start with.
  
 
Install the plugins from {{Pkg|monitoring-plugins}} as well as {{Pkg|fping}}.
 
Install the plugins from {{Pkg|monitoring-plugins}} as well as {{Pkg|fping}}.

Revision as of 08:34, 12 May 2017

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 from the AUR.

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.

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 and navigate to http://localhost/thruk/

The default username and password is thrukadmin, thrukadmin.

See also