Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Vladislav Zhuk                       2:465/62.197   18 Apr 2002  13:22:36
 To : Andy Bogdanov
 Subject : статистика по трафику по SNMP
 -------------------------------------------------------------------------------- 
 
 
  PA>> Господа, а можно ли использовать для этого пакет построения графиков, в
  PA>> данном случае загрузки канала, MRTG (http://www.mrtg.org)
  PA>> Кто-нибудь поделится опытом его использования в этом плане, примеры даст,
  PA>> как сделать, а то пока только SQUID он у меня обрабатывает.
  PA>> 
  AB> ipfw add NNN count all from <ip> to any in via <out_iface>
  AB> ipfw add NNM count all from any to <ip> out via <out_iface>
 
  AB> Target[<ip>]: `/usr/local/libexec/get_count.sh NNN NNM`
  AB> etc...
 
 [ скрипт поскипан ]
 
 Вот что по этому поводу написано в доке на mrtg:
 
    Interface by IP
 
            Sometimes SNMP interface index can change, like when new
            interfaces are added or removed. This can cause all Target entries
            in your config file to become wrong by offset, causing MRTG to
            graphs wrong instances etc. MRTG supports IP address instead of
            ifindex in target definition. Then MRTG will query snmp device and
            try to map IP address to current ifindex, You can use IP address
            in every type of target definition, by adding IP address of the
            numbered interface after OID and separation char '/'
            ....
 
    Interface by Name
 
            The only sensible way to reference interfaces of your switches.
 
            You can tell cfgmaker to generate such references with the option
            --ifref=name.
            ....
 
    Interface by Ethernet Address
 
            When the SNMP interface index changes, you can key that interface
            by its 'Physical Address', sometimes called a 'hard address',
            which is the SNMP variable 'ifPhysAddress'. Internally, MRTG
            matches the Physical Address from the *.cfg file to its current
            index, and then uses that index for the rest of the session.
            ....
            и т.д.
 
 Да и вообще, чтение документации - это хорошо.
 
  VVZ                                 [ Team BEER ]
 --- QDed/BSD beta v1.33.7
  * Origin: Hапиток сезона: безалкогольное пиво с водкой (2:465/62.197)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 статистика по трафику по SNMP   Andrey Sharandakov   17 Apr 2002 22:02:59 
 Re: статистика по трафику по SNMP   Shirshov Andrey   18 Apr 2002 00:24:38 
 Re: статистика по трафику по SNMP   Pechenin Alexander   18 Apr 2002 09:46:21 
 Re: статистика по трафику по SNMP   Oleg Koreshkov   18 Apr 2002 11:19:16 
 Re: статистика по трафику по SNMP   Andy Bogdanov   18 Apr 2002 11:50:09 
 статистика по трафику по SNMP   Vladislav Zhuk   18 Apr 2002 13:22:36 
 Re: статистика по трафику по SNMP   Andy Bogdanov   18 Apr 2002 16:45:51 
 статистика по трафику по SNMP   Vladislav Zhuk   18 Apr 2002 13:01:48 
 статистика по трафику по SNMP   Vladislav Zhuk   18 Apr 2002 12:52:15 
 Re: статистика по трафику по SNMP   Pechenin Alexander   20 Apr 2002 22:14:12 
 Re: статистика по трафику по SNMP   Oleg Koreshkov   22 Apr 2002 13:30:04 
 статистика по трафику по SNMP   Andrey Ostanovsky   22 Apr 2002 22:02:45 
Архивное /ru.unix.bsd/34293cbea243.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional