]> arthur.barton.de Git - nagcollect.git/blob - INSTALL
RAID.tst: only check RAID on Linux when /proc/md is readable
[nagcollect.git] / INSTALL
1
2              NagCollect: Nagios Data Collector for Passive Checks
3            Copyright (c)2009-2010 Alexander Barton, alex@barton.de
4
5              NagCollect is free software and published under the
6                    terms of the GNU General Public License.
7
8                                    INSTALL
9
10
11 Server
12 ~~~~~~
13
14 1. Run "make install-server".
15
16 2. Adjust /etc/nagios3/system.cfg and your Nagios3 templates.
17
18 3. Use visudo(8) to add the following to your /etc/sudoers file:
19
20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21 ALL=(nagios) NOPASSWD: /usr/local/sbin/nagios-submit-host, \
22                         /usr/local/sbin/nagios-submit-service
23 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
24
25 4. Configure client keys in /etc/nagios3/nagcollect.keys.
26
27
28 Client
29 ~~~~~~
30
31 1. Run "make install-client".
32
33 2. Adjust the client configuration in /usr/local/etc/nagcollect.conf.
34
35 3. Make sure /usr/local/sbin/nagcollect is run periodically.
36
37 On Mac OS X, you can use the following to commands to start and stop the
38 periodic execution, which "make install-client" does on this platform:
39
40 - Start: sudo launchctl load -w /Library/LaunchDaemons/de.barton.nagcollect
41 - Stop:  sudo launchctl unload -w /Library/LaunchDaemons/de.barton.nagcollect