Hi! On Wed, 07 Apr 2010, Paras pradhan wrote: > How do I change it to match the output similar to what w and > top provides. i.e instead of 350m, 440m,200m graph it as 0.03, > 0.04, 0.02.
This is not a matter of NagiosGraph itself, but of its rrdtool backend. To create the legend on the graph, it will use a line like this: rrdtool graph [...] 'GPRINT:B:LAST:Cur %6.1lf %sOct' [...] That GPRINT part creates the legend for a certain data source (in this case 'B'). The thing responsible for the SI prefix (i.e. m, k, G and so on) is the "%s". So to get rid of that you'd have to make NG not include it when creating graphs. Yes, that may be a nasty piece of effort, but I don't know NG very well, so I can't say if it's possible easily. For more information on RRDTool itself, I recommend its man pages or better yet, its homepage http://oss.oetiker.ch/rrdtool/ HTH, Tobias -- printk(CARDNAME": Bad Craziness - sent packet while busy.\n" ); linux-2.6.6/drivers/net/smc9194.c ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
