From: Andrei Bulava <abulava@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] mrtg over smnp
Date: Thu, 23 Jun 2005 12:35:38 +0300
Message-ID: <42BA826A.3070302@altlinux.ru> (raw)
In-Reply-To: <42BA5B04.8040405@altlinux.ru>
Andrei Bulava wrote:
> Oleg Sukhanov wrote:
>
>> Andrei Bulava wrote:
>>
>>> Работает, как из пушки, с snmpd, запущенном на localhost. Сейчас буду
>>> тестировать работу с snmpd на другом хосте.
>>
>>
>>
>> Строчку target из конфига сюда можно?
>
>
> Target[localhost_eth0]: \eth0:public@localhost:
>
> $ rpm -qv mrtg
> mrtg-2.12.1-alt1
Так, протестировал с '--ifref=ip' и на другой хост:
# head -2 mrtg-cairo.cfg
# Created by
# /usr/bin/cfgmaker --ifref=ip --subdirs=SNMPNAME --global 'WorkDir:
/var/www/html/mrtg' --global 'Options[_]: growright, noarrow' --global
'Refresh: 300' --global 'Interval: 5' --global 'WriteExpires: Yes'
--global 'IconDir: ../images/' public@cairo.office
# grep 127\.0\.0\.1 mrtg-cairo.cfg
### Interface 1 >> Descr: 'lo' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
Target[cairo.office_127.0.0.1]: /127.0.0.1:public@cairo.office:
SetEnv[cairo.office_127.0.0.1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
Directory[cairo.office_127.0.0.1]: cairo.office
MaxBytes[cairo.office_127.0.0.1]: 1250000
Title[cairo.office_127.0.0.1]: Traffic Analysis for 127.0.0.1 --
cairo.office
PageTop[cairo.office_127.0.0.1]: <h1>Traffic Analysis for 127.0.0.1 --
cairo.office</h1>
<td>127.0.0.1
(localhost.localdomain)</td>
# grep cairo /etc/cron.d/mrtg
0-59/5 * * * * root /usr/bin/mrtg --user mrtg --group mrtg
/etc/mrtg/mrtg-cairo.cfg
"У меня всё работает." (с)
$ rpm -qv mrtg
mrtg-2.12.1-alt1
--
// AB1002-UANIC
next prev parent reply other threads:[~2005-06-23 9:35 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-22 5:42 Oleg Sukhanov
2005-06-22 6:14 ` Mike Lykov
2005-06-22 6:17 ` Oleg Sukhanov
2005-06-22 6:19 ` Denis Ovsienko
2005-06-22 6:16 ` Oleg Sukhanov
2005-06-22 6:55 ` Denis Ovsienko
2005-06-22 23:19 ` Oleg Sukhanov
2005-06-22 7:02 ` Andrei Bulava
2005-06-22 23:18 ` Oleg Sukhanov
2005-06-23 8:27 ` Andrei Bulava
2005-06-23 5:21 ` Dmytro O. Redchuk
2005-06-23 5:29 ` Oleg Sukhanov
2005-06-23 5:40 ` Dmytro O. Redchuk
2005-06-23 5:44 ` Oleg Sukhanov
2005-06-23 6:34 ` Andrei Bulava
2005-06-23 6:41 ` Oleg Sukhanov
2005-06-23 6:47 ` Andrei Bulava
2005-06-23 9:35 ` Andrei Bulava [this message]
2005-06-23 22:46 ` Oleg Sukhanov
2005-06-24 3:01 ` Oleg Sukhanov
2005-06-23 7:05 ` Dmytro O. Redchuk
2005-06-23 7:59 ` Andrei Bulava
2005-06-23 8:27 ` Dmytro O. Redchuk
2005-06-23 8:40 ` [JT] " Andrei Bulava
2005-06-23 15:44 ` [sisyphus] " Michael Shigorin
2005-06-23 22:47 ` Oleg Sukhanov
2005-06-24 5:08 ` Mike Lykov
2005-06-24 14:54 ` [sisyphus] q: admins@? (was: mrtg over smnp) Michael Shigorin
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=42BA826A.3070302@altlinux.ru \
--to=abulava@altlinux.ru \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git