Your script should output an additional 2 lines. The third line can be blank, it represents the uptime of the device. The fourth line is the device description (used in native-mode MRTG output, this is why you get "unknown has been up for unknown" on your generated pages)
The flatline section is when the data is being stored as 'unknown' -- default behaviour for native-mode MRTG is to display unknowns as the previous known value. Add option 'unknaszero' to make unknowns display as zero instead. The unknown data could be because the polling failed, or because your 'maxbytes' value is too small (if the calculated value exceeeds this then an unknown will be stored). Maybe increase it much higher to check? Since the data seems to be a constantly increasing total, then maybe omit the 'gauge'? The perl ipv6 errors are probably not a problem, but maybe someone else can comment...? Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead [email protected] Ph: +64 9 373 7599 ext 86487 _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
