blob: 2fa9dc4d4ecdcbc43eb9ef54ffe7ab967255ec8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
To make NeDi work, do the following:
1. In %%PREFIX%%/etc, edit 'nedi.seedlist' and 'nedi.conf'.
Use the samples contained in that directory.
2. (Optional) Create a directory where you want NeDi to store its
RRD files and link it to %%WWWDIR%%/rrd:
rm -r %%WWWDIR%%/rrd
mkdir -p /var/db/nedi/rrd
ln -s /var/db/nedi/rrd %%WWWDIR%%/rrd
2. Change the directory to %%WWWDIR%%.
3. Initialize the MySQL database. NeDi will do this for you, just type
./nedi.pl -i
4. Test whether NeDi knows all your devices:
./nedi.pl -y
5. Add a crontab entry like this:
0 * * * * root %%WWWDIR%%/nedi.pl -c > /tmp/nedi.lastrun
6. Add an alias to Apache like this:
Alias /nedi %%WWWDIR%%/html
|