System information
Greetings,
I have experienced odd behavior in graphs if a link/router goes down
unexpectedly. I'm not sure exactly why, but when you view the Bits graph
there will be a large spike (larger than the link is capable of
providing). I don't believe it is an issue with NMIS itself, I believe
the router is reporting incorrect figures... but I digress.
If anyone would like it, I have changed a few CDEF's in nmiscgi.pl to
not allow throughput greater throughput figures than the link is capable
of as defined by the interfaceTable.
In nmiscgi.pl, just comment the current input/outputBits CDEF's under
the drawrrd sub routine and add the two conditional ones below (I'd
offer up a patch, but there a a few other changes we've already made
here):
#"CDEF:inputBits=input,8,*",
#"CDEF:outputBits=output,8,*",
"CDEF:inputBitsTmp=input,8,*",
"CDEF:inputBits=inputBitsTmp,$NMIS::interfaceTable{$tmpifDescr}{ifSpeed},GT,UNKN,inputBitsTmp,IF",
"CDEF:outputBitsTmp=output,8,*",
"CDEF:outputBits=outputBitsTmp,$NMIS::interfaceTable{$tmpifDescr}{ifSpeed},GT,UNKN,outputBitsTmp,IF",
Now, you will still see spikes with these changes, but they will not
exceed the speed of the link (i.e. laws of physics still prevail).
Thanks to Keith and all who have worked on this project - it is an
irreplaceable tool! If I'm the only one who has seen these spikes simply
disregard this message as the ramblings of an idiot.
regards,
david
Guilherme's Patch
NMIS - Network Management Information System http://www.sins.com.au/nmis/
29 of 43 15/04/2002 3:59 PM