From: Sergey <a_s_y@sama.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] collectd 4.7.1-alt1 и rrd
Date: Wed, 23 Sep 2009 12:46:54 +0500
Message-ID: <200909231246.54426.a_s_y@sama.ru> (raw)
In-Reply-To: <4AB9B56A.2080203@altlinux.ru>
On Wednesday 23 September 2009, Anton Gorlov wrote:
> > Простое маленькое и практически не требует настройки.
>
> А оно умеет по snmp автоматом вытягивать все имеющиеся интерфейсы на
> оборудовании типа cisco? или все оиды руками вбивать нужно?
Как-то так:
<Plugin snmp>
<Data "std_sw_traffic">
Type "if_octets"
Table true
Instance "IF-MIB::ifDescr"
Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
</Data>
<Host "bla-bla">
Address "10.1.1.1"
Version 1
Community "qwerty"
Collect "std_sw_traffic"
Interval 120
</Host>
<Host "bla-bla2">
Address "10.1.1.2"
Version 1
Community "qwerty"
Collect "std_sw_traffic"
Interval 120
</Host>
</Plugin>
Можно сложить конфиги в отдельный каталог и написать что-то вроде
Include "/etc/collectd.d.snmp/*.conf"
--
С уважением, Сергей
a_s_y@sama.ru
next prev parent reply other threads:[~2009-09-23 7:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-22 13:04 Sergey
2009-09-22 17:34 ` Max Ivanov
2009-09-22 17:53 ` Roman Lesnichenko
2009-09-23 5:43 ` Anton Gorlov
2009-09-23 7:46 ` Sergey [this message]
2009-09-23 4:44 ` Sergey
2009-09-22 17:51 ` Roman Lesnichenko
2009-09-23 4:49 ` Sergey
2009-09-23 4:57 ` Sergey
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=200909231246.54426.a_s_y@sama.ru \
--to=a_s_y@sama.ru \
--cc=sysadmins@lists.altlinux.org \
/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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git