From: Patlasov YuriI <y.patlasov@gmail.com>
To: slava@tangramltd.com,
ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] mrtg не грузит MIB
Date: Thu, 24 Dec 2009 17:40:45 +0200
Message-ID: <4B338B7D.2000606@gmail.com> (raw)
In-Reply-To: <4B33881C.3010408@tangramltd.com>
24.12.2009 17:26, Slava Dubrovskiy пишет:
> 24.12.2009 16:46, Patlasov YuriI пишет:
>
>> Всем привет.
>> Стоит AltServer 4.0.1.
>> squid 2.6
>> Поставил Mrtg - 2.14.7 чтоб графики красивые рисовал от сквида.
>> Сквид настроил.
>> MIB использую от пакета net-snmp - 5.4.1
>>
>> Вол лог:
>> --snpo: SNMPGet from squidmrtg@127.0.0.1:3401 --
>> 1.3.6.1.4.1.3495.1.3.1.2.1.2,1.3.6.1.4.1.3495.1.3.1.2.1.1,cacheUptime,cacheSoftware,cacheVersionId
>>
>> Unknown SNMP var cacheUptime
>> at /usr/bin/mrtg line 2038
>> Unknown SNMP var cacheSoftware
>> at /usr/bin/mrtg line 2038
>> Unknown SNMP var cacheVersionId
>> at /usr/bin/mrtg line 2038
>> --snpo: SNMPfound -- '32371', '32371', 'undef', 'undef', 'undef'
>> Use of uninitialized value in concatenation (.) or string at
>> /usr/bin/mrtg line 2052.
>> Use of uninitialized value in concatenation (.) or string at
>> /usr/bin/mrtg line 2052.
>>
>> Выходит что когда по номеру свойства обращаюсь
>> (1.3.6.1.4.1.3495.1.3.1.2.1.2) от его выдает, а по имени НЕ хочет.
>> Пути к MIB файлу уже по всякому писал и права разные давал. Не чего не
>> помогло.
>> В чем может быть проблема???
>>
> Ну так и пользуйся номером, зачем имя?
>
>
а ты пробовал это номер вытащить?
cacheUptime,cacheSoftware,cacheVersionId - mrtg сам подставляет и
выдает ошибку. А если это в кроне запустить, раз в пять минут?!?
Есть еще предложения?
prev parent reply other threads:[~2009-12-24 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-24 14:46 Patlasov YuriI
2009-12-24 15:26 ` Slava Dubrovskiy
2009-12-24 15:40 ` Patlasov YuriI [this message]
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=4B338B7D.2000606@gmail.com \
--to=y.patlasov@gmail.com \
--cc=slava@tangramltd.com \
--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