Author: adamg                        Date: Sat Apr  5 22:18:31 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- daily reports

---- Files affected:
SOURCES:
   vnstat.cron (1.1 -> 1.2) , vnstat.sysconfig (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/vnstat.cron
diff -u SOURCES/vnstat.cron:1.1 SOURCES/vnstat.cron:1.2
--- SOURCES/vnstat.cron:1.1     Sat Apr  5 13:02:43 2008
+++ SOURCES/vnstat.cron Sun Apr  6 00:18:25 2008
@@ -1,3 +1,5 @@
 MAILTO=root
-# to enable interface monitoring via vnstat remove comment on next line
+# collect data every 5 minutes
 */5 * * * *  vnstat /usr/sbin/vnstat-cron
+# daily reports
+5 0 * * * vnstat /usr/bin/vnstat-report

================================================================
Index: SOURCES/vnstat.sysconfig
diff -u SOURCES/vnstat.sysconfig:1.1 SOURCES/vnstat.sysconfig:1.2
--- SOURCES/vnstat.sysconfig:1.1        Sat Apr  5 13:02:43 2008
+++ SOURCES/vnstat.sysconfig    Sun Apr  6 00:18:25 2008
@@ -5,3 +5,13 @@
 #
 # the following sets vnstat up to monitor eth0
 VNSTAT_OPTIONS="-u -i eth0"
+
+# whether to send daily reports [yes|no]
+VNSTAT_SEND_DAILY_REPORT="yes"
+
+# who send daily reports to
+VNSTAT_EMAIL="[EMAIL PROTECTED]"
+
+# sendmail paths and options
+SENDMAIL="/usr/sbin/sendmail"
+SENDMAIL_OPTIONS="-oi -t"
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/vnstat.cron?r1=1.1&r2=1.2&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/vnstat.sysconfig?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to