aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/Uptime.class.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-27type: escape colons in filenames used in rrd commandlinePim van den Berg1-2/+2
A colon ':' in a legend argument will mark the end of the legend: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html#INOTES_on_legend_arguments Reported-by: Benjamin Dupuis <poil@quake.fr>
2010-06-22Uptime plugin now display current/max/avg values in days instead of secondsManuel CISSÉ1-8/+21
2010-03-01add the possibility to generate and use default colors for graphsManuel CISSÉ1-2/+6
2010-03-01utf8 filename support for all typesPim van den Berg1-11/+11
Types GenenericIO and GenericStacked were not included in commit: 596dd7d414 [make rrdfiles using utf8 and spaces work]
2009-12-31rewrite of type classesPim van den Berg1-37/+22
A constructor is added to the Type_Default class. The constructor will parse GET values (such as host, plugin, pinstance, type, tinstance, seconds), create an array of all needed rrd files to generate a graph and substract identifiers from these rrd files. Because of the constructor (and related functions) it is not needed to define an array of tinstances to be grouped and shown in one graph. Also $obj->args don't have to be defined per plugin. This will result in smaller plugin files. The type classes are based on the fact that a plugin has multiple type instances OR multiple rrd data sources. This is called the source and is retrieved by rrd_get_sources in each rrd_gen_graph function. Also variables in function rrd_gen_graph have been renamed to better ones.
2009-12-28replace duplicate code by function rrd_optionsPim van den Berg1-7/+1
2009-10-03cpu graph for hosts running a 2.4 kernelPim van den Berg1-1/+4
There was no cpu graph shown with hosts running a 2.4 kernel, because all defined cpu states were needed.