#-------------------- # Monitor Virusscanning on the InterScan VirusWall using nclient # # Created by: Thomas Nilsen thomas.nilsen@doc-s.co.uk # Modified by: Elmar van Mourik e.vanmourik@zhew.nl # # 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 # - IP-address '192.168.75.3' and servername 'voet' # - LibAdd if RRDTools is used # - PathAdd if RRDTools is used # Where to store the database/html/graph files WorkDir: /srv/www/htdocs/mrtg/voet # Uncomment these 3 if RRDTool database format is wanted # LogFormat: rrdtool # LibAdd: /usr/lib/perl5/5.00503/i386-linux/ # PathAdd: /usr/bin # Make stats on number of messges and files scanned Target[mail-msg]: `/usr/local/bin/chk-viruswall 192.168.75.3 smtp voet` MaxBytes[mail-msg]: 2000 Options[mail-msg]: growright,perminute,nopercent Title[mail-msg]: SMTP messages & files processed PageTop[mail-msg]:

SMTP Message Stats for Voet

ShortLegend[mail-msg]: p/min YLegend[mail-msg]: Msg/Files p/m LegendI[mail-msg]: Msgs: LegendO[mail-msg]: Files: # Make stats on number of viruses detected and cleaned Target[mail-vir]: `/usr/local/bin/chk-viruswall 192.168.75.3 vir voet` MaxBytes[mail-vir]: 10 Options[mail-vir]: growright,perminute,nopercent Title[mail-vir]: Virus detected & cleaned Voet PageTop[mail-vir]:

Virus stats for Voet

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/bin/chk-viruswall 192.168.75.3 err voet` MaxBytes[mail-que]: 10 Options[mail-que]: growright,bits,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/m LegendI[mail-que]: Queue: LegendO[mail-que]: Error.: # Make stats on number of http & ftp files scanned Target[web-scan]: `/usr/local/bin/chk-viruswall 192.168.75.3 webs voet` MaxBytes[web-scan]: 2000 Options[web-scan]: growright,perminute,nopercent Title[web-scan]: HTTP & FTP Files scanned PageTop[web-scan]:

HTTP & FTP Files Scanned Statistics

ShortLegend[web-scan]: p/min YLegend[web-scan]: Files p/min LegendI[web-scan]: http: LegendO[web-scan]: ftp: # Make stats on number of http & ftp files infected Target[web-infe]: `/usr/local/bin/chk-viruswall 192.168.75.3 webi voet` MaxBytes[web-infe]: 2000 Options[web-infe]: growright,perminute,nopercent Title[web-infe]: HTTP & FTP Files infected PageTop[web-infe]:

HTTP & FTP Infected Files Statistics

ShortLegend[web-infe]: p/min YLegend[web-infe]: Files p/min LegendI[web-infe]: http: LegendO[web-infe]: ftp: # Make stats on total number of smtp & http files infected Target[filesinf]: `/usr/local/bin/chk-viruswall 192.168.75.3 inff voet` MaxBytes[filesinf]: 2000 Options[filesinf]: growright,gauge,nopercent Title[filesinf]: Total SMTP & HTTP Files infected PageTop[filesinf]:

Total SMTP & HTTP Infected Files Statistics

ShortLegend[filesinf]: No. files YLegend[filesinf]: Total Files Legend1[filesinf]: Total infected SMTP files Legend2[filesinf]: Total infected HTTP files LegendI[filesinf]: smtp LegendO[filesinf]: http # Make stats on number of http requests & files scanned Target[http]: `/usr/local/bin/chk-viruswall 192.168.75.3 http voet` MaxBytes[http]: 2000 Options[http]: growright,perminute,nopercent Title[http]: HTTP Requests & Files scanned PageTop[http]:

HTTP Requests & Files Scanned Statistics

ShortLegend[http]: p/min YLegend[http]: Req-scanned p/m LegendI[http]: requests: LegendO[http]: scanned: # Make stats on number of ftp requests & files scanned Target[ftp]: `/usr/local/bin/chk-viruswall 192.168.75.3 ftp voet` MaxBytes[ftp]: 2000 Options[ftp]: growright,perminute,nopercent Title[ftp]: FTP Requests & Files scanned PageTop[ftp]:

FTP Requests & Files Scanned Statistics

ShortLegend[ftp]: p/min YLegend[ftp]: Req-scanned p/m LegendI[ftp]: requests: LegendO[ftp]: scanned: # Make System stats of CPU and Memory usage Target[sys]: `/usr/local/bin/chk-viruswall 192.168.75.3 sys voet` MaxBytes[sys]: 100 Options[sys]: growright,gauge,nopercent Title[sys]: CPU and Disk Usage PageTop[sys]:

CPU and Disk Usage

ShortLegend[sys]: % YLegend[sys]: CPU/Disk LegendI[sys]: CPU: LegendO[sys]: Disk: