From: Leon de Rooij Date: Tue, 21 Apr 2009 11:37:06 +0000 (+0200) Subject: freeswitch plugin: Changed channels to fs_channels in freeswitch.c and tyeps.db X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=516476d2eb63e098cdf7fd402e245095f5ae122d;p=collectd.git freeswitch plugin: Changed channels to fs_channels in freeswitch.c and tyeps.db --- diff --git a/src/freeswitch.c b/src/freeswitch.c index dc013fe5..c666e8bc 100644 --- a/src/freeswitch.c +++ b/src/freeswitch.c @@ -100,7 +100,9 @@ static int freeswitch_read (void) esl_disconnect(&handle); */ - freeswitch_submit ("res-public", "channels", 3, 5); +DEBUG ("FreeSWITCH SUBMIT: res-public fs_channels 3 5"); + + freeswitch_submit ("res-public", "fs_channels", 3, 5); return (0); } /* int freeswitch_read */ diff --git a/src/types.db b/src/types.db index 04292e9f..5e89da18 100644 --- a/src/types.db +++ b/src/types.db @@ -7,7 +7,6 @@ bitrate value:GAUGE:0:4294967295 bytes value:GAUGE:0:U cache_result value:COUNTER:0:4294967295 cache_size value:GAUGE:0:4294967295 -channels inbound:GAUGE:0:U, outbound:GAUGE:0:U charge value:GAUGE:0:U compression_ratio value:GAUGE:0:2 connections value:COUNTER:0:U @@ -49,6 +48,7 @@ files value:GAUGE:0:U frequency frequency:GAUGE:0:U frequency_offset ppm:GAUGE:-1000000:1000000 fscache_stat value:COUNTER:0:4294967295 +fs_channels inbound:GAUGE:0:U, outbound:GAUGE:0:U gauge value:GAUGE:U:U http_request_methods count:COUNTER:0:134217728 http_requests count:COUNTER:0:134217728