Removed calls for formatNumber() in Root.mrtg_action() because we need unformatted values

This commit is contained in:
Tobi Schäfer 2008-10-05 10:47:18 +00:00
parent d78f046208
commit fcebd371a6

View file

@ -363,16 +363,16 @@ Root.prototype.mrtg_action = function() {
res.writeln(0); res.writeln(0);
break; break;
case "cache": case "cache":
res.writeln(formatNumber(app.cacheusage)); res.writeln(app.cacheusage);
res.writeln(formatNumber(getProperty("cacheSize"))); res.writeln(getProperty("cacheSize"));
break; break;
case "threads": case "threads":
res.writeln(formatNumber(app.activeThreads)); res.writeln(app.activeThreads);
res.writeln(formatNumber(app.freeThreads)); res.writeln(app.freeThreads);
break; break;
case "requests": case "requests":
res.writeln(formatNumber(app.requestCount)); res.writeln(app.requestCount);
res.writeln(formatNumber(app.errorCount)); res.writeln(app.errorCount);
break; break;
case "users": case "users":
res.writeln(app.countSessions()); res.writeln(app.countSessions());