Cheshire Cat Computing
http://mail.steveshipway.org/forum/

Scripts return whole numbers, MRTG doesn't
http://mail.steveshipway.org/forum/viewtopic.php?f=2&t=218
Page 1 of 1

Author:  stevesh [ Fri Apr 30, 2004 2:53 pm ]
Post subject: 

You get a decimal because MRTG is averaging over the interval. You need to add the 'integer' option to tell MRTG to display as an integer.

Option[targetname]: integer

this will tell MRTG and the routers.cgi frontend to display this as an integer.

You may also want

routers.cgi*Options[targetname]: fixunit

which will stop 1000 from being displayed as 1k.

Steve

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/