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


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Rostislav Podgorniy                  2:4635/83.1    11 Mar 2005  13:27:58
 To : All
 Subject : snmp
 -------------------------------------------------------------------------------- 
 
 
 Now that we have everything configured, we want to start adding data into our
 newly created database. Before we can do that, we need to look at our snmp tree 
 and find out where the data we want is. The command for this would be:
 
     * # snmpwalk -v 1 -c <your community string> localhost
 
 The first string you are looking for is IF-MIB::ifDescr.? where the ? is a
 number greater than 0. This string will tell you the number of the interface you
 want to monitor. For example, the string I needed is: IF-MIB::ifDescr.1 =
 STRING: sis0, which tells me to use interface '1'.
 
 The next command will run snmpget to fetch the byte counter values for the
 inbound and outbound statistics:
 
     * # snmpget -v 1 -c <your community string> -Oqv localhost
 IF-MIB::ifInOctets.1 IF-MIB::ifOutOctets.1
 
 Раньше всё было ок. Делал как тут написано. А сейчас обновил систему, Поотключал
 в ядpе вещи котоpые не используются - все сетевухи кpоме rl0, котоpая у меня,
 ненужные устpойства и тому подобное Всё делал по доке найденно в нете. И данные 
 записи котоpые я должен увидеть IF-MIB::..... пpопали.
 
 Выводит вот что:
 
 rost# snmpwalk -v 1 -c rost-server localhost | grep IF::MIB
 Error: OID not increasing: udp.ipv6UdpTable.ipv6UdpEntry.ipv6UdpLocalAddress.'..
 ..............'.4435.0 >= udp.ipv6UdpTable.ipv6UdpEntry.ipv6UdpLocalAddress.'...
 .............'.3130.0
 
 rost# snmpwalk -v 1 -c rost-server localhost | grep rl0
 interfaces.ifTable.ifEntry.ifDescr.1 = rl0
 Error: OID not increasing:
 udp.ipv6UdpTable.ipv6UdpEntry.ipv6UdpLocalAddress.'................'.4435.0 >=
 udp.ipv6UdpTable.ipv6UdpEntry.ipv6UdpLocalAddress.'................'.3130.0
 
 rost# snmpwalk -v 1 -c rost-server localhost | grep gif0
 interfaces.ifTable.ifEntry.ifDescr.5 = gif0
 Error: OID not increasing:
 udp.ipv6UdpTable.ipv6UdpEntry.ipv6UdpLocalAddress.'................'.4510.0 >=
 udp.ipv6UdpTable.ipv6UdpEntry.ipv6UdpLocalAddress.'................'.4435.0
 
 Где гpабли?
 А то тепеpь гpафик загpузки постpоить не могу
 
 --
 WBR, Rostislav Podgorniy       rostislav[@]podgorniy.com       icq #709057
 
 ... Объявление: Лечу бесплодие методом тыка...
 --- GoldED+ 1.1.4.7 (WinNT 5.1.2600-Service_Pack_2 i686)
  * Origin: MailSMS.net - Service for cellular phones owners (2:4635/83.1)
 
 

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

 Тема:    Автор:    Дата:  
 snmp   Rostislav Podgorniy   11 Mar 2005 13:27:58 
 Re: snmp   Anton V. Yuzhaninov   11 Mar 2005 15:28:33 
 snmp   Rostislav Podgorniy   11 Mar 2005 15:23:08 
 Re: snmp   Anton V. Yuzhaninov   11 Mar 2005 18:32:24 
 snmp   Andrey Ostanovsky   11 Mar 2005 17:23:48 
 snmp   Rostislav Podgorniy   11 Mar 2005 17:50:24 
 snmp   Andrey Ostanovsky   11 Mar 2005 23:32:40 
 snmp   damir bikmuhametov   12 Mar 2005 03:24:56 
 Re: snmp   Anton V. Yuzhaninov   12 Mar 2005 14:20:52 
 Re: snmp   Dmitriy Kirhlarov   12 Mar 2005 21:19:05 
 snmp   Andrey Ostanovsky   12 Mar 2005 23:16:14 
 Re: snmp   Dmitriy Kirhlarov   13 Mar 2005 12:47:25 
 snmp   Andrey Ostanovsky   12 Mar 2005 23:33:48 
 Re: snmp   Dmitriy Kirhlarov   13 Mar 2005 12:50:27 
 snmp   Konstantin Boshnyaga   12 Mar 2005 21:32:46 
Архивное /ru.unix.bsd/27794231735d.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional