diff options
Diffstat (limited to '')
| -rw-r--r-- | plugin/vserver.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugin/vserver.php b/plugin/vserver.php index c727ad9..186166d 100644 --- a/plugin/vserver.php +++ b/plugin/vserver.php | |||
| @@ -47,8 +47,6 @@ switch($obj->args['type']) { | |||
| 47 | 'rss' => 'ffb000', | 47 | 'rss' => 'ffb000', |
| 48 | 'anon' => 'ff00ff', | 48 | 'anon' => 'ff00ff', |
| 49 | ); | 49 | ); |
| 50 | $obj->width = $width; | ||
| 51 | $obj->heigth = $heigth; | ||
| 52 | 50 | ||
| 53 | $obj->rrd_title = sprintf('Memory utilization on Vserver %s', $obj->args['pinstance']); | 51 | $obj->rrd_title = sprintf('Memory utilization on Vserver %s', $obj->args['pinstance']); |
| 54 | $obj->rrd_vertical = 'Bytes'; | 52 | $obj->rrd_vertical = 'Bytes'; |
| @@ -73,8 +71,6 @@ switch($obj->args['type']) { | |||
| 73 | 'total' => 'ffb000', | 71 | 'total' => 'ffb000', |
| 74 | 'uninterruptable' => 'ff00ff', | 72 | 'uninterruptable' => 'ff00ff', |
| 75 | ); | 73 | ); |
| 76 | $obj->width = $width; | ||
| 77 | $obj->heigth = $heigth; | ||
| 78 | 74 | ||
| 79 | $obj->rrd_title = sprintf('Threads on Vserver %s', $obj->args['pinstance']); | 75 | $obj->rrd_title = sprintf('Threads on Vserver %s', $obj->args['pinstance']); |
| 80 | $obj->rrd_vertical = 'Numbers'; | 76 | $obj->rrd_vertical = 'Numbers'; |
| @@ -106,8 +102,6 @@ switch($obj->args['type']) { | |||
| 106 | $obj->rrd_title = sprintf('Traffic on Vserver %s', $obj->args['pinstance']); | 102 | $obj->rrd_title = sprintf('Traffic on Vserver %s', $obj->args['pinstance']); |
| 107 | $obj->rrd_vertical = sprintf('%s per second', ucfirst($CONFIG['network_datasize'])); | 103 | $obj->rrd_vertical = sprintf('%s per second', ucfirst($CONFIG['network_datasize'])); |
| 108 | $obj->scale = $CONFIG['network_datasize'] == 'bits' ? 8 : 1; | 104 | $obj->scale = $CONFIG['network_datasize'] == 'bits' ? 8 : 1; |
| 109 | $obj->width = $width; | ||
| 110 | $obj->heigth = $heigth; | ||
| 111 | $obj->rrd_format = '%5.1lf%s'; | 105 | $obj->rrd_format = '%5.1lf%s'; |
| 112 | 106 | ||
| 113 | collectd_flush($obj->identifiers); | 107 | collectd_flush($obj->identifiers); |
| @@ -121,8 +115,6 @@ switch($obj->args['type']) { | |||
| 121 | $obj->rrd_title = sprintf('Processes on Vserver %s', $obj->args['pinstance']); | 115 | $obj->rrd_title = sprintf('Processes on Vserver %s', $obj->args['pinstance']); |
| 122 | $obj->rrd_vertical = 'Processes'; | 116 | $obj->rrd_vertical = 'Processes'; |
| 123 | 117 | ||
| 124 | $obj->width = $width; | ||
| 125 | $obj->heigth = $heigth; | ||
| 126 | $obj->rrd_format = '%5.1lf%s'; | 118 | $obj->rrd_format = '%5.1lf%s'; |
| 127 | 119 | ||
| 128 | collectd_flush($obj->identifiers); | 120 | collectd_flush($obj->identifiers); |
