[mrtg] Oid problem
Jan Rockstedt
jan.rockstedt at avinova.se
Mon May 28 11:06:23 CEST 2007
Hi all,
I have a cisco router and wan't to get "show ip bgp route" into mrtg.
The oid is 1.3.6.1.4.1.9.9.187.1.2.4.1.1
#snmpwalk -c public -v2c ip-number 1.3.6.1.4.1.9.9.187.1.2.4.1.1
Give me:
SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.1.81.88.9.185.1.1 = Counter32:
67094
My mrtg.cfg:
EnableIPv6: no
WorkDir: /usr/local/www/data-dist/bgp-route
Target[avinova-bgp]: 1.3.6.1.4.1.9.9.187.1.2.4.1.1:public at ip-number
MaxBytes[avinova-bgp]: 150000
Title[avinova-bgp]: Show BGP route -- bgp-avinova.avinova.se
But when i run the mrtg mrtg.cfg i get this error msg:
2007-05-25 13:06:00: ERROR: Target[avinova-bgp][_IN_]
'1.3.6.1.4.1.9.9.187.1.2.4.1. $target->[0]{$mode} ' evaluated to
' »468946704' instead of a number
2007-05-25 13:06:00: ERROR: Target[avinova-bgp][_OUT_]
'1.3.6.1.4.1.9.9.187.1.2.4.1. $target->[0]{$mode} ' evaluated to
' »262879011' instead of a number
Any suggestion to get 67094 value into mrtg?
//Jan
Mvh / Regards
Jan Rockstedt
+46 - 40 - 668 07 45
jan.rockstedt at avinova.se <mailto:jan.rockstedt at avinova.se>
IBM Certified Specialist - System i5 Administrator
Avinova AB
Spångatan 37 B
211 53 Malmö Sweden
Tel +46-40-668 07 40
Fax +46-40-668 07 55
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070528/f1e5cd94/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 6773 bytes
Desc: image001.png
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20070528/f1e5cd94/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1848 bytes
Desc: image002.png
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20070528/f1e5cd94/attachment-0003.png
More information about the mrtg
mailing list