diff options
| author | Pim van den Berg | 2014-05-03 18:15:12 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2014-05-03 19:21:36 +0200 |
| commit | edae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch) | |
| tree | da0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/ntpd.php | |
| parent | type/base: set default values for rrd_title and rrd_format (diff) | |
| download | apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2 apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz | |
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
Diffstat (limited to 'plugin/ntpd.php')
| -rw-r--r-- | plugin/ntpd.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ntpd.php b/plugin/ntpd.php index 22f9580..ceea1db 100644 --- a/plugin/ntpd.php +++ b/plugin/ntpd.php | |||
| @@ -13,7 +13,7 @@ require_once 'type/Default.class.php'; | |||
| 13 | # ntpd/time_offset-<host>.rrd | 13 | # ntpd/time_offset-<host>.rrd |
| 14 | 14 | ||
| 15 | $obj = new Type_Default($CONFIG, $_GET); | 15 | $obj = new Type_Default($CONFIG, $_GET); |
| 16 | $obj->ds_names = array('ping' => 'Ping time', | 16 | $obj->legend = array('ping' => 'Ping time', |
| 17 | 'ping_stddev' => 'Ping stddev', | 17 | 'ping_stddev' => 'Ping stddev', |
| 18 | 'ping_droprate' => 'Ping droprate'); | 18 | 'ping_droprate' => 'Ping droprate'); |
| 19 | $obj->rrd_format = '%5.1lf%s'; | 19 | $obj->rrd_format = '%5.1lf%s'; |
