author | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 6 Nov 2015 08:42:11 +0000 (09:42 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 6 Nov 2015 08:42:11 +0000 (09:42 +0100) |
1 | 2 | |||
---|---|---|---|---|
src/apcups.c | patch | | diff1 | | diff2 | | blob | history |
src/collectd.conf.in | patch | | diff1 | | diff2 | | blob | history |
src/types.db | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/apcups.c
index 718061ae36e693a9125325f3403da98f25be2316,281bf9803bdd6e6a84086b152f14b623961337b7..29d58c3ad6e0a2d1b2038bf6433d078113fe0497
--- 1/src/apcups.c
--- 2/src/apcups.c
+++ b/src/apcups.c
return (-1);
}
- DEBUG ("Done opening a socket %i", sd);
+ DEBUG ("apcups plugin: Done opening a socket %i", sd);
return (sd);
-} /* int net_open (char *host, char *service, int port) */
+} /* int net_open */
/*
* Receive a message from the other end. Each message consists of
*/
if (status != 0)
{
- DEBUG ("apc_query_server (%s, %s) = %i",
- DEBUG ("apcups plugin: apc_query_server (%s, %i) = %i",
- conf_host == NULL
- ? APCUPS_DEFAULT_HOST
- : conf_host,
- conf_port, status);
++ DEBUG ("apcups plugin: apc_query_server (%s, %s) = %i",
+ (conf_node == NULL) ? APCUPS_DEFAULT_NODE : conf_node,
+ (conf_service == NULL) ? APCUPS_DEFAULT_SERVICE : conf_service,
+ status);
return (-1);
}
diff --cc src/collectd.conf.in
Simple merge
diff --cc src/types.db
index 2fd59e56885f93d934e9c7f1bb8658d293305a95,c605f56d603ce5d680a8f7b7180c27ab6e647f53..5847218aa0fe1cb17a057e98bd596849cc7af4ce
--- 1/src/types.db
--- 2/src/types.db
+++ b/src/types.db
cache_operation value:DERIVE:0:U
cache_ratio value:GAUGE:0:100
cache_result value:DERIVE:0:U
-cache_size value:GAUGE:0:U
+cache_size value:GAUGE:0:1125899906842623
+ capacity value:GAUGE:0:U
ceph_bytes value:GAUGE:U:U
ceph_latency value:GAUGE:U:U
ceph_rate value:DERIVE:0:U