ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] [Q] snmp ?
@ 2003-12-10 11:02 Peter S. Voronov
  0 siblings, 0 replies; only message in thread
From: Peter S. Voronov @ 2003-12-10 11:02 UTC (permalink / raw)
  To: sisyphus

Добрый день.
Дико извиняюсь за не совсем Сизифный вопрос, ограничен
в возможностях где спросить :-(

Имеется - Линукс, 2.2.21-alt3.p4-custom (хотя машинка исходно RH 6)
на ней мультипортовка, на которй 2 выделенки и 3 dial-ip модема.

Необходимо  мониторить  (mrtg)  выделенки. Проблема - номер интерфейса
может плавать.
при попытке задать mrtg мониторинг по Ip адресам - возникает следующее
сообщение :
* got 'Received SNMP response with error code
      error status: noSuchName
      index 1 (OID: 1.3.6.1.2.1.2.2.1.10.909)
просмотр snmpwalk дает :
IF-MIB::ifNumber.0 = INTEGER: 8
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: dsn0
IF-MIB::ifDescr.3 = STRING: eth0
IF-MIB::ifDescr.4 = STRING: eth1
IF-MIB::ifDescr.5 = STRING: ppp3
IF-MIB::ifDescr.6 = STRING: ppp2
IF-MIB::ifDescr.7 = STRING: ppp1
IF-MIB::ifDescr.8 = STRING: ppp0

IP-MIB::ipAdEntAddr.10.16.19.59 = IpAddress: 10.16.19.59
IP-MIB::ipAdEntAddr.10.16.19.69 = IpAddress: 10.16.19.69
IP-MIB::ipAdEntAddr.10.16.19.190 = IpAddress: 10.16.19.190
IP-MIB::ipAdEntAddr.10.16.19.254 = IpAddress: 10.16.19.254
IP-MIB::ipAdEntAddr.10.16.21.254 = IpAddress: 10.16.21.254
IP-MIB::ipAdEntAddr.127.0.0.1 = IpAddress: 127.0.0.1
IP-MIB::ipAdEntIfIndex.10.16.19.59 = INTEGER: 909
IP-MIB::ipAdEntIfIndex.10.16.19.69 = INTEGER: 913
IP-MIB::ipAdEntIfIndex.10.16.19.190 = INTEGER: 2
IP-MIB::ipAdEntIfIndex.10.16.19.254 = INTEGER: 3
IP-MIB::ipAdEntIfIndex.10.16.21.254 = INTEGER: 4
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1

в тоже время ifconfig показывает
ppp2      Link encap:Point-to-Point Protocol
          inet addr:10.16.19.59  P-t-P:10.16.19.60  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1064  Metric:1
          RX packets:2929 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3037 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

и по логике
должно быть
IP-MIB::ipAdEntIfIndex.10.16.19.59 = INTEGER: 6 а не 909

net-snmp-5.0.9-4
mrtg-2.9.17-1

может кто осмысленно куда пошлет ??????????????
-- 
Best regards,
 Peter S. Voronov
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-10 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-10 11:02 [sisyphus] [Q] snmp ? Peter S. Voronov

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