From: Andrey Rybak <ra@iop.kiev.ua> To: community@altlinux.ru Subject: [Comm] mrtg + cban Date: Wed, 06 Apr 2005 11:54:20 +0300 Message-ID: <4253A3BC.2030504@iop.kiev.ua> (raw) Hello altLinux! Настраиваю mrtg на машине, на которой нет iptables, соответственно не могу мониторить с помощью скриптов из /usr/lib/mrtg2/helper, т.к. они используют iptables. Вместо них использую прогу cdan, написанную на Си и прямо парсящую /proc/net/dev. Проблема такая: если рутом запустить cban, то работает как положено - выдает такие строчки: incoming bytes/sec: 124457 outgoing bytes/sec: 2857 но mrtg рисует прямую линию = 1. mrtg ваключен в группу proc. mrtg.cfg прилагается: Title[eth0]: Traffic eth0 MaxBytes[eth0]: 1000000000 AbsMax[eth0]: 1000000000 Options[eth0]: gauge Target[eth0]: `/root/bin/cban -i eth0 -m` PageTop[eth0]: <H1>eth0 statistics</H1> ... WithPeak[eth0]: ymwd WorkDir: /var/www/html/mrtg
next reply other threads:[~2005-04-06 8:54 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-04-06 8:54 Andrey Rybak [this message] 2005-04-06 10:39 ` Eugene Ostapets 2005-04-06 11:08 ` Andrey Rybak
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4253A3BC.2030504@iop.kiev.ua \ --to=ra@iop.kiev.ua \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git