mrtg

Milan Vobecký vobecky na zs.celakovice.cz
Středa Březen 12 11:55:55 CET 2003


Dobrý den,
chci u jedne masiny (RH 7.0) sledovat zatizeni ethernetoveho segmentu.

1.Nainstaloval jsem snmp z RPM baliku
2.GD knihovnu tam mam pouzivam - vyuzivam s PHP
3.Perl taky
4.zkompiloval jse libpcap
5.Zkompiloval jsem posledni verzy mrtg
./configure --prefix=/etc/mrtg
make
make install

6 Po spusteni ./cfgmaker public na 192.168.1.20 > mrtg.conf
se mi objevuje takovato hlaska, natoz abych rozchodil zobrazovani statistiky

Nevedel by prosim nekdo poradit, kde delam chybu. 
Dekuji

--base: Get Device Info on public na 192.168.1.20:
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public na 192.168.1.20: does not seem to support it
--snpo: Skipping ifDescr scanning because public na 192.168.1.20: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public na 192.168.1.20: does not seem to support it
--snpo: Skipping ifType scanning because public na 192.168.1.20: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public na 192.168.1.20: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "192.168.1.20" [192.168.1.20].161)
                  community: "public"
                 request ID: 1828788106
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /etc/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public na 192.168.1.20:
 at ./cfgmaker line 111
--base: Walking ifType
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.3)
SNMPv1_Session (remote host: "192.168.1.20" [192.168.1.20].161)
                  community: "public"
                 request ID: 1828788107
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /etc/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public na 192.168.1.20:
 at ./cfgmaker line 111
--base: Walking ifAdminStatus
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "192.168.1.20" [192.168.1.20].161)
                  community: "public"
                 request ID: 1828788108
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /etc/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public na 192.168.1.20:
 at ./cfgmaker line 111
--base: Walking ifOperStatus
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.8)
SNMPv1_Session (remote host: "192.168.1.20" [192.168.1.20].161)
                  community: "public"
                 request ID: 1828788109
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /etc/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public na 192.168.1.20:
 at ./cfgmaker line 111
--base: Walking ifSpeed
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "192.168.1.20" [192.168.1.20].161)
                  community: "public"
                 request ID: 1828788110
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /etc/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public na 192.168.1.20:
 at ./cfgmaker line 123



Další informace o konferenci Linux