It's all in the error. From your config file:
Target[McData_port21]:11.3.6.1.4.1.289.2.1.1.2.3.1.1.44.21
Notice the 11.3.6.1.4. It should be 1.3.6.1.4.
On 8/31/08 11:29 PM, "Steven Jones" <[EMAIL PROTECTED]> wrote:
I seem to have an error in my config once I go past a certain point....I have a
32 port switch but I cannot go past port20 without this error,
8><---------
vuwunicvmrtg001:/etc/mrtg# vi 130-195-85-171-fc-ports-mrtg-cfg
vuwunicvmrtg001:/etc/mrtg# env LANG=C /usr/bin/mrtg
/etc/mrtg/130-195-85-171-fc-ports-mrtg-cfg
cannot encode Object ID 11.3.6.1.4.1.289.2.1.1.2.3.1.1.44.21: first subid too
big in Object ID 11.3.6.1.4.1.289.2.1.1.2.3.1.1.44.21 at /usr/bin/mrtg line 2043
2008-09-01 15:23:17: ERROR: Target[mcdata_port21][_IN_] ' $target->[20]{$mode}
' did not eval into defined data
2008-09-01 15:23:17: ERROR: Target[mcdata_port21][_OUT_] ' $target->[20]{$mode}
' did not eval into defined data
vuwunicvmrtg001:/etc/mrtg#
8><---------
The lines in my cfg file are,
#-------------------------------------------------------------------------------
Target[McData_port20]:.1.3.6.1.4.1.289.2.1.1.2.3.1.1.44.20&.1.3.6.1.4.1.289.2.1.1.2.3.1.1.45.20:[EMAIL
PROTECTED]
Title[McData_port20]: SW C Port 19
PageTop[McData_port20]: <H1>SW C Port 19</H1>
#-------------------------------------------------------------------------------
Target[McData_port21]:11.3.6.1.4.1.289.2.1.1.2.3.1.1.44.21&.1.3.6.1.4.1.289.2.1.1.2.3.1.1.45.21:[EMAIL
PROTECTED]
Title[McData_port21]: SW C Port 20
PageTop[McData_port21]: <H1>SW C Port 20</H1>
#-------------------------------------------------------------------------------
#Target[McData_port22]:11.3.6.1.4.1.289.2.1.1.2.3.1.1.44.22&.1.3.6.1.4.1.289.2.1.1.2.3.1.1.45.22:[EMAIL
PROTECTED]
#Title[McData_port22]: SW C Port 21
#PageTop[McData_port22]: <H1>SW C Port 21</H1>
#-------------------------------------------------------------------------------
Port 19 works Ok, 20 and 20+ all give that error.......
Can someone help please?
regards
Steven Jones
Technical Specialist Linux/Unix/San/Vmware
APG -Technology Integration Team
Victoria University of Wellington
Phone: +64 4 463 6272
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg