#-------------------- # Monitor In/out Messages on mail server using nclient # # Change the following paramaters for this script to work # - WorkDir # - Logformat (if you want to use MRTG native format or don't have RRDTools installed # - # - LibAdd if RRDTools is used # - PathAdd if RRDTools is used # Where to store the database/html/graph files WorkDir: /var/www/html/mrtg # Comment these 3 out if native MRTG database format is wanted LogFormat: rrdtool LibAdd: /usr/lib/perl5/5.00503/i386-linux/ PathAdd: /usr/bin # Make stats on number of messges sent and recieved Target[mail-msg]: `/usr/local/mrtg-2/scripts/chk-viruswall msg ` MaxBytes[mail-msg]: 200 Options[mail-msg]: perminute, nopercent Title[mail-msg]: Msg - mail server PageTop[mail-msg]:

Message Stats for mail server

ShortLegend[mail-msg]: p/min YLegend[mail-msg]: Msg p/min LegendI[mail-msg]: Sent: LegendO[mail-msg]: Rcvd: # Make stats on number of viruses detected and cleaned Target[mail-vir]: `/usr/local/mrtg-2/scripts/chk-viruswall vir ` MaxBytes[mail-vir]: 10 Options[mail-vir]: perminute, nopercent Title[mail-vir]: Virus mail server PageTop[mail-vir]:

Virus stats for mail server

ShortLegend[mail-vir]: p/m YLegend[mail-vir]: Virus p/min LegendI[mail-vir]: Cleaned: LegendO[mail-vir]: Detect.: # Make stats on number of SMTP errors and queue length Target[mail-que]: `/usr/local/mrtg-2/scripts/chk-viruswall err ` MaxBytes[mail-que]: 10 Options[mail-que]: perminute, nopercent Title[mail-que]: Queue mail server PageTop[mail-que]:

Queue and SMTP Error stats for mail server

ShortLegend[mail-que]: p/m YLegend[mail-que]: Queue & Err p/min LegendI[mail-que]: Queue: LegendO[mail-que]: Error.: