Chào các Anh VnPro!
Em đang mắc vấn đề này, mà chưa biết fix thế nào:
Đang có 1 con APC AP9319 cần monitor temperature & humidity. Em cấu hình mrtg chạy trên Windows, đã cấu hình thành công.
Đã tìm được OID:
Nhưng nó vẫn không hiển thị ra web ~~
Em command: perl mrtg mrtg.cfg, nó toàn báo lỗi:
Giờ em đang mắc, chưa rõ làm tiếp theo thế nào để fix nó. Các bác nào làm rồi, support em với nhé ~~
Rất mong nhận được support!
Em đang mắc vấn đề này, mà chưa biết fix thế nào:
Đang có 1 con APC AP9319 cần monitor temperature & humidity. Em cấu hình mrtg chạy trên Windows, đã cấu hình thành công.
Đã tìm được OID:
# Created by
# cfgmaker public@192.168.1.25 --global "WorkDir: c:\www\mrtg" --output mrtg.cfg
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
################################################## ####################
# System: APC
# Description: APC Environmental Monitoring Unit (MB:v3.6.9 PF:v2.6.4 PN:apc_hw02_aos_264.bin AF1:v2.6.7 AN1:apc_hw02_ems_267.bin MN:AP9319 HR:3 SN: ZA0551019239 MD:12/15/2005)
# Contact: NOC-HN
# Location: VND-HN
################################################## ####################
### Interface 1 >> Descr: 'lance' | Name: '' | Ip: '192.168.1.25' | Eth: '00-c0-b7-7a-da-ff' ###
Target[192.168.1.25_1]: 1.3.6.1.4.1.318.1.1.10.3.13.1.1.3&1.3.6.1.4.1.318. 1.1.10.3.13.1.1.6 :public@192.168.1.25:
Title[192.168.1.25_1]:Temperature and Humidity Minitoring By TienPT
PageTop[192.168.1.25_1]:<H1>Temperature and Humidity Tang 1</H1>
MaxBytes[192.168.1.25_1]:100
ShortLegend[apc]: 
YLegend[192.168.1.25_1]:Temp/Humidity
LegendI[192.168.1.25_1]:Temperature(°C)
LegendO[192.168.1.25_1]:Humidity(%RH)
Legend1[192.168.1.25_1]:Temperature of sensor
Legend2[192.168.1.25_1]:Humidity of sensor
Options[192.168.1.25_1]:nopercent,gauge
# cfgmaker public@192.168.1.25 --global "WorkDir: c:\www\mrtg" --output mrtg.cfg
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
################################################## ####################
# System: APC
# Description: APC Environmental Monitoring Unit (MB:v3.6.9 PF:v2.6.4 PN:apc_hw02_aos_264.bin AF1:v2.6.7 AN1:apc_hw02_ems_267.bin MN:AP9319 HR:3 SN: ZA0551019239 MD:12/15/2005)
# Contact: NOC-HN
# Location: VND-HN
################################################## ####################
### Interface 1 >> Descr: 'lance' | Name: '' | Ip: '192.168.1.25' | Eth: '00-c0-b7-7a-da-ff' ###
Target[192.168.1.25_1]: 1.3.6.1.4.1.318.1.1.10.3.13.1.1.3&1.3.6.1.4.1.318. 1.1.10.3.13.1.1.6 :public@192.168.1.25:
Title[192.168.1.25_1]:Temperature and Humidity Minitoring By TienPT
PageTop[192.168.1.25_1]:<H1>Temperature and Humidity Tang 1</H1>
MaxBytes[192.168.1.25_1]:100
ShortLegend[apc]: 
YLegend[192.168.1.25_1]:Temp/Humidity
LegendI[192.168.1.25_1]:Temperature(°C)
LegendO[192.168.1.25_1]:Humidity(%RH)
Legend1[192.168.1.25_1]:Temperature of sensor
Legend2[192.168.1.25_1]:Humidity of sensor
Options[192.168.1.25_1]:nopercent,gauge
Em command: perl mrtg mrtg.cfg, nó toàn báo lỗi:
C:\mrtg-2.16.4\bin>perl mrtg mrtg.cfg
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.318.1.1.10.3.13.1.1.3)
SNMPv1_Session (remote host: "192.168.1.25" [192.168.1.25].161)
community: "public"
request ID: 1705650137
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at C:/mrtg-2.16.4/bin\..\lib\mrtg2/SNMP_util.pm line 492
SNMPGET Problem for 1.3.6.1.4.1.318.1.1.10.3.13.1.1.3 1.3.6.1.4.1.318.1.1.10.3.1
3.1.1.6 sysUptime sysName on public@192.168.1.25::::::v4only
at mrtg line 2242
2010-08-29 17:54:23: ERROR: Target[192.168.1.25_1][_IN_] ' $target->[0]{$mode} '
did not eval into defined data
2010-08-29 17:54:23: ERROR: Target[192.168.1.25_1][_OUT_] ' $target->[0]{$mode}
' did not eval into defined data
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.318.1.1.10.3.13.1.1.3)
SNMPv1_Session (remote host: "192.168.1.25" [192.168.1.25].161)
community: "public"
request ID: 1705650137
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at C:/mrtg-2.16.4/bin\..\lib\mrtg2/SNMP_util.pm line 492
SNMPGET Problem for 1.3.6.1.4.1.318.1.1.10.3.13.1.1.3 1.3.6.1.4.1.318.1.1.10.3.1
3.1.1.6 sysUptime sysName on public@192.168.1.25::::::v4only
at mrtg line 2242
2010-08-29 17:54:23: ERROR: Target[192.168.1.25_1][_IN_] ' $target->[0]{$mode} '
did not eval into defined data
2010-08-29 17:54:23: ERROR: Target[192.168.1.25_1][_OUT_] ' $target->[0]{$mode}
' did not eval into defined data
Rất mong nhận được support!
Comment