This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- src/statsd-tg.c | |
| +++ src/statsd-tg.c | |
| @@ -202,7 +202,10 @@ static int send_random_event (int sock, unsigned short seed[static 3]) /* {{{ */ | |
| return (-1); | |
| assert (buffer[buffer_size] == 0); | |
| + fprintf (stderr, "errno is: %i, strerror is: %s\n", errno, strerror(errno)); | |
| status = send (sock, buffer, (size_t) buffer_size, /* flags = */ 0); | |
| + | |
| + fprintf (stderr, "send status is: %i, strerror is: %s\n", status, strerror(errno)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ gdb collectd/sbin/collectd collectd/var/lib/collectd/core | |
| GNU gdb (GDB) 7.4.1-debian | |
| Copyright (C) 2012 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
| This is free software: you are free to change and redistribute it. | |
| There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
| and "show warranty" for details. | |
| This GDB was configured as "x86_64-linux-gnu". | |
| For bug reporting instructions, please see: | |
| <http://www.gnu.org/software/gdb/bugs/>... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gdb /opt/collectd/sbin/collectd /opt/collectd/var/lib/collectd/core | |
| GNU gdb (GDB) 7.4.1-debian | |
| Copyright (C) 2012 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
| This is free software: you are free to change and redistribute it. | |
| There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
| and "show warranty" for details. | |
| This GDB was configured as "x86_64-linux-gnu". | |
| For bug reporting instructions, please see: | |
| <http://www.gnu.org/software/gdb/bugs/>... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [cache] | |
| STORAGE_DIR = /srv/carbon | |
| LOCAL_DATA_DIR = /srv/carbon/whisper | |
| WHITELISTS_DIR = /srv/carbon/lists | |
| CONF_DIR = /opt/carbon-venv/conf/ | |
| LOG_DIR = /var/log/carbon/ | |
| PID_DIR = /var/run/ | |
| USER = carbon | |
| MAX_CACHE_SIZE = inf | |
| MAX_UPDATES_PER_SECOND = 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Plugin "processes"> | |
| ProcessMatch "carbon-cache" "python.+carbon-cache" | |
| ProcessMatch "carbon-aggregator" "python.+carbon-aggregator" | |
| </Plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LoadPlugin "curl_json" | |
| <Plugin "curl_json"> | |
| <URL "http://localhost:8080/metrics/mbean/com.puppetlabs.puppetdb.query.population%3Atype%3Ddefault%2Cname%3Dnum-nodes"> | |
| Instance "population-num-nodes" | |
| Header "Accept: application/json" | |
| <Key "Value"> | |
| Type "absolute" | |
| </Key> | |
| </URL> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root 4852 0.0 2.4 195636 12260 ? Ss 14:27 0:00 /usr/sbin/httpd | |
| root 4857 0.0 0.6 72496 3388 ? SNl 14:27 0:00 \_ /opt/lumberjack/bin/lumberjack --host localhost --port 6782 --ssl-ca-path /etc/logstash/server.crt - | |
| root 4858 0.0 0.7 72496 3980 ? SNl 14:27 0:00 \_ /opt/lumberjack/bin/lumberjack --host localhost --port 6782 --ssl-ca-path /etc/logstash/server.crt - | |
| apache 4884 0.0 2.4 350144 12072 ? Sl 14:27 0:00 \_ /usr/sbin/httpd | |
| apache 4885 0.0 2.4 350144 12188 ? Sl 14:27 0:00 \_ /usr/sbin/httpd | |
| apache 4887 0.0 2.4 350144 12072 ? Sl 14:27 0:00 \_ /usr/sbin/httpd | |
| apache 4888 0.0 2.4 350144 12072 ? Sl 14:27 0:00 \_ /usr/sbin/httpd | |
| apache 4890 0.0 2.4 350144 12072 ? Sl 14:27 0:00 \_ /usr/sbin/httpd | |
| apache 4891 0.0 2.4 350144 12072 ? Sl 14:27 0:00 \_ /usr/sbin/httpd | |
| apache 4895 0.0 2.4 350144 12072 ? Sl 14:27 0:00 \_ /usr/sbin/httpd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git log --oneline -1 | |
| cca836f - get cracking on the registrar | |
| $ make | |
| Makefile:21: warning: overriding commands for target `clean' | |
| Makefile.ext:15: warning: ignoring old commands for target `clean' | |
| go get -d github.com/alecthomas/gozmq | |
| PKG_CONFIG_PATH=$PWD/build/lib/pkgconfig \ | |
| go install -tags zmq_3_x github.com/alecthomas/gozmq | |
| PKG_CONFIG_PATH=$PWD/build/lib/pkgconfig \ | |
| go install -ldflags '-r $ORIGIN/../lib' lumberjack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2013-04-30T16:33:35.576+0200 SSL_connect error vv | |
| 140087971010080:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:1166: | |
| 2013-04-30T16:33:35.576+0200 SSL_connect error ^^ | |
| 2013-04-30T16:33:35.576+0200 ssl handshake failed | |
| 2013-04-30T16:33:35.576+0200 Disconnect requested | |
| 2013-04-30T16:33:35.576+0200 Connection attempt to localhost:6782 failed: Success |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -ru /tmp/pb-c-0.12/pinba.pb-c.c /tmp/pb-c-0.15/pinba.pb-c.c | |
| --- /tmp/pb-c-0.12/pinba.pb-c.c 2013-04-10 17:41:05.434000580 +0200 | |
| +++ /tmp/pb-c-0.15/pinba.pb-c.c 2013-04-10 17:42:07.270012460 +0200 | |
| @@ -1,5 +1,10 @@ | |
| /* Generated by the protocol buffer compiler. DO NOT EDIT! */ | |
| +/* Do not generate deprecated warnings for self */ | |
| +#ifndef PROTOBUF_C_NO_DEPRECATED | |
| +#define PROTOBUF_C_NO_DEPRECATED | |
| +#endif |