Spaces in file names causing issues

Aaron Thomas Holt <[email protected]>
Newsgroups gmane.comp.db.rrdtool.user
Message-ID <CAPdqDJnXH4ViQj0kM3gnXDyVOSKC24PJhCAVEN84v-hHsM4Myg@mail.gmail.com>
Hi all,

I have a ganglia installation using rrdcached and I'm having problems with
spaces in filenames. I'm monitoring 30ish clusters. Clusters that don't
have spaces in their filenames are updated as expected. Clusters named
"Rack ##" are not being updated. This only started when I added rrdcached
(which I need as file I/O is high). Log info below:

strace -s 999 -f -p $(pgrep gmetad) 2>&1 | grep write | grep -i rack
[pid 31108] write(65, "UPDATE /var/lib/ganglia/rrds/Rack 12/
node1232-general.rc.colorado.edu/rx_bytes_eth1.rrd 1434749985:0.0000\n",
106 <unfinished ...>
[pid 31125] write(61, "UPDATE /var/lib/ganglia/rrds/Rack 04/
node0407-general.rc.colorado.edu/tcp_outsegs.rrd 1434749985:0.00000\n", 105
<unfinished ...>
[pid 31123] write(63, "UPDATE /var/lib/ganglia/rrds/Rack 09/
node0939-general.rc.colorado.edu/tx_pkts_lo.rrd 1434749985:0.0000\n", 103
<unfinished ...>
...

tail -f /var/log/messages
Jun 19 15:20:34 rcstat1 rrdcached[29221]: handle_request_update: stat
(/var/lib/ganglia/rrds/Rack) failed.
Jun 19 15:20:34 rcstat1 rrdcached[29221]: handle_request_update: stat
(/var/lib/ganglia/rrds/Rack) failed.
Jun 19 15:20:34 rcstat1 rrdcached[29221]: handle_request_update: stat
(/var/lib/ganglia/rrds/Rack) failed.
...

Is this a bug in rrdcached? Is there a work around?

Thanks,
Aaron

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.