Subversion Repositories vnag

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 daniel-mar 1
HOW TO SETUP THIS MONITOR!
2
 
3
1. Install ipfm
4
 
5
	$aptitude install ipfm
6
 
7
2. Setup ipfm (set your IP addresses and enable)
8
 
9
3. Change /etc/ipfm.conf to hourly clearing and at least hourly dumping! (OTHERWISE THIS MONITOR WON'T WORK!!!)
10
 
11
	FILENAME "/var/log/ipfm/eth0/%Y_%m_%d_%H.log"
12
	# Log every hour, but update the information every minute
13
	DUMP EVERY 1 minute
14
	CLEAR EVERY 1 hour
15
	SORT TOTAL
16
	RESOLVE
17
 
18
4. Create following crontab entry to delete log files which are older than 370 days:
19
 
20
 
21
 
22
5. In case you are using Icinga2, install icinga2.conf into /etc/icinga2/conf.d/
23
   Please make sure to edit the path of your command.