[mrtg] Re: TRANGO M5800S
linux at cancun.com.mx
linux at cancun.com.mx
Thu Jun 19 09:10:39 MEST 2003
Trango doesn't use standard mib2 to count bytes in or out
you need to put a special oid, you need to use next
for EthInOctets => 1.3.6.1.4.1.5454.1.10.1.15.5.0
for EthOutOctets => 1.3.6.1.4.1.5454.1.10.1.15.6.0
your Target line must be something like this
Target[Trango_100]:enterprises.5454.1.10.1.15.5.0&enterprises.5454.1.10.1.15.6.0:public at 10.12.10.100
this should work, try using snmpget instead of snmpwalk like mrtg does
snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.5.0 and
snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.6.0
here is an example of one of my Trango AP
# snmpget 192.168.254.101 public enterprises.5454.1.10.1.15.6.0
enterprises.5454.1.10.1.15.6.0 = Counter32: 2809586178
# snmpget 192.168.254.101 public enterprises.5454.1.10.1.15.5.0
enterprises.5454.1.10.1.15.5.0 = Counter32: 658849128
#
Juan Bou
At 05:26 p.m. 18/06/03 +0700, Reza Iskandar Achmad wrote:
>Hello, I have problem on monitoring TrangoBroad
>
>When I use snmp command to communicate to the device, it work and does
>not return error respons.
>
>shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.1
>enterprises.5454.1.10.1.15.1.0 = 568
>
>shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.2
>enterprises.5454.1.10.1.15.2.0 = 187
>
>after that, I create mrtg.cfg like this,
>
>
>#-----------------------mrtg.cfg------------------------------------
>Workdir: /home/shiro/mrtg/cfg
>Logdir: /home/shiro/mrtg/httpd
>#Unscaled[_]: ymwd
>Options[_]: bits, growright
>#ShortLegend[_]: b/s
>LoadMIBs: /usr/share/snmp/mibs/TRANGO-MIB.txt
>######################################################################
># System: Orang Wireless Jetcoms
># Description: Trango Systems Inc. SNMP agent for M5800S
># Contact: Jetcoms AP
># Location: Sebelah RCTI
>######################################################################
>Target[Trango_100]:enterprises.5454.1.10.1.15.1&enterprises.5454.1.10.1.15.2:public at 10.12.10.100
>Title[Trango_100]: Trango 100
>MaxBytes[Trango_100]: 3000000
>
>#----------------------End of mrtg.cfg----------------------------
>
>
>TRANGO-MIB.txt is file which contains MIB from trango CD distribution
>
>then I run mrtg command, It give me error message like this
>
>shiro at xudu:~> /usr/bin/mrtg mrtg/cfg/mrtg.cfg
>SNMP Error:
>Received SNMP response with error code
> error status: noSuchName
> index 3 (OID: 1.3.6.1.2.1.1.3.0)
>SNMPv1_Session (remote host: "10.12.10.100" [10.12.10.100].161)
> community: "public"
> request ID: 628659165
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458
>SNMPGET Problem for enterprises.5454.1.10.1.15.1
>enterprises.5454.1.10.1.15.2 sysUptime sysName on public at 10.12.10.100
> at /usr/bin/mrtg line 1621
>WARNING: skipping because at least the query for
>enterprises.5454.1.10.1.15.1 on 10.12.10.100 did not succeed
>ERROR: Target[trango_100][_IN_] ' $$target[0]{$mode} ' did not eval into
>defined data
>ERROR: Target[trango_100][_OUT_] ' $$target[0]{$mode} ' did not eval
>into defined data
>WARNING: Skipping Update of trango_100, inlast is not defined
>WARNING: Skipping Update of trango_100, outlast is not defined
>
>Can anyone give advice in order to get mrtg graphic to monitor my Trango AP?
>
>Sorry for my bad english, I'm Indonesian :-)
>
>regards,
>
>
>Reza Iskandar Achmad
>
>
>--
>Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
>Archive http://www.ee.ethz.ch/~slist/mrtg
>FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
>WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
~
-
Juan Bou Riquer.
Internet Cancun.
jbou at cancun.com.mx
Tel. 87-2601 Fax. 84-3809
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list