aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/Uptime.class.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename ds_names and dsname to legendPim van den Berg2014-05-031-2/+2
| | | | This had nothing to do with an RRD data source.
* type: move generic functions to base classPim van den Berg2014-05-031-2/+2
|
* Revert "type: fix undefined index in ds_names[$source] before empty check"Pim van den Berg2013-10-091-1/+1
| | | | | | | | | | From the docs: "No warning is generated if the variable does not exist. That means empty() is essentially the concise equivalent to !isset($var) || $var == false." This reverts commit f2a4593558b3a3ec696e9cc1de93fa898b9521bb. Reported-By: Benoit Monin (https://github.com/pommi/CGP/commit/f2a4593)
* type: fix undefined index in ds_names[$source] before empty checkPim van den Berg2013-10-071-1/+1
|
* type: use empty to access ds_namesBenoît Monin2013-08-311-1/+1
| | | | | Fix some potential undefined index errors by using the empty function to access ds_names in type other than default.
* integrate jsrrdgraph in CGPPim van den Berg2013-05-181-8/+8
|
* type: escape colons in legend namesPim van den Berg2012-12-161-1/+1
| | | | | | | This problem showed up with IPv6 addresses in the NTP plugin. Forgotten in commit: v0.3-51-g330c94f [type: escape colons in filenames used in rrd commandline]
* type: escape colons in filenames used in rrd commandlinePim van den Berg2011-08-271-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>
* Uptime plugin now display current/max/avg values in days instead of secondsManuel CISSÉ2010-06-221-0/+64