29 lines
716 B
Text
29 lines
716 B
Text
|
|
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 %%NEDIDIR%%/rrd:
|
|
|
|
rm -r %%NEDIDIR%%/rrd
|
|
mkdir -p /var/db/nedi/rrd
|
|
ln -s /var/db/nedi/rrd %%NEDIDIR%%/rrd
|
|
|
|
2. Change the directory to %%NEDIDIR%%.
|
|
|
|
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 %%NEDIDIR%%/nedi.pl -c > /tmp/nedi.lastrun
|
|
|
|
6. Add an alias to Apache like this:
|
|
|
|
Alias /nedi %%NEDIDIR%%/html
|
|
|