| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Current In/Out showing 0 values http://steveshipway.org/forum/viewtopic.php?f=2&t=397 |
Page 1 of 1 |
| Author: | lmatos [ Fri Oct 29, 2004 4:47 am ] |
| Post subject: | Current In/Out showing 0 values |
I recently installed version 2.14, and after that the current In/Out values shows 0's al the time. Avg. In/Out and Max. In/Out. What's going on????? routers2.cgi v2.14 mrtg 2.10.15 rrdtool 1.0.48 |
|
| Author: | smashhead [ Fri Oct 29, 2004 6:29 am ] |
| Post subject: | |
hi. Pls check ur mrtg config,if the options have a "unknaszero"parameter,delete it. like this: Options[router]: growright nopercent integer gauge unknaszero (delete it) |
|
| Author: | lmatos [ Fri Oct 29, 2004 9:13 am ] |
| Post subject: | |
thanks, it worked perfect. |
|
| Author: | stevesh [ Fri Oct 29, 2004 10:10 am ] |
| Post subject: | |
This seems to be due to a race condition between mrtg and routers2. If you update the .rrd at 01:00, and then query routers2 at 01:04, it seems that rrdtool decided the latest value for the .rrd is 'unknown' (since it is more that 50% of an interval from the last update). If you have unknaszero, then routers2 will replace an unknown with zero. However, there is additional code in routers2 that spots a Last value of 'Unknown', and replaces it with the previous value if one is known, in order to bypass this problem. It doesnt work if you have unknaszero set, though, since in this case there will be no 'unknown' value. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|