Package: bindgraph
Version: 0.2-2
Severity: important

there is no /etc/logrotate.d/bind9 or bindgraph at the moment.

I think that it should go in bind9 package and be modified in bindgraph

I did something like:

# start of logrotate.conf for bind
/var/log/bind9*.log {
        weekly
        missingok
        rotate 4
        compress
        delaycompress
        notifempty
        create 644 root adm
        sharedscripts
        postrotate
                if [ -f /var/run/bind/run/named.pid ]; then
                        /etc/init.d/bind9 restart > /dev/null
# following line should be added by bindgraph
                        /etc/init.d/bindgraph restart > /dev/null
                fi
        endscript
}
# end of logrotate.conf for bind

by the way.
it seems that bindgraph is not working too well when log is growing more then 
few MB in size.
it stopped working when my logfile was about 20MB big or it was a matter of 
number of lines
(about 250000)?

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages bindgraph depends on:
ii  debconf                       1.4.30.11  Debian configuration management sy
ii  libfile-tail-perl             0.98-5     File::Tail perl module
ii  librrds-perl                  1.0.49-1   Time-series data storage and displ

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to