diff options
Diffstat (limited to 'inc/collectd.inc.php')
-rw-r--r-- | inc/collectd.inc.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php index 3ef9102..2a44fba 100644 --- a/inc/collectd.inc.php +++ b/inc/collectd.inc.php | |||
@@ -221,21 +221,4 @@ function collectd_flush($identifier) { | |||
221 | } | 221 | } |
222 | } | 222 | } |
223 | 223 | ||
224 | # generate identifiers from args | ||
225 | function ident_from_args($args) { | ||
226 | if (is_array($args['tinstance'])) { | ||
227 | foreach($args['tinstance'] as $ti) { | ||
228 | $instances[] = collectd_identifier($args['host'], | ||
229 | $args['plugin'], $args['pinstance'], | ||
230 | $args['type'], $ti); | ||
231 | } | ||
232 | } else { | ||
233 | $instances[] = collectd_identifier($args['host'], | ||
234 | $args['plugin'], $args['pinstance'], | ||
235 | $args['type'], $args['tinstance']); | ||
236 | } | ||
237 | |||
238 | return $instances; | ||
239 | } | ||
240 | |||
241 | ?> | 224 | ?> |