Skip to content

Instantly share code, notes, and snippets.

@amosshapira
Last active December 17, 2015 15:29
Show Gist options
  • Save amosshapira/5631878 to your computer and use it in GitHub Desktop.
Save amosshapira/5631878 to your computer and use it in GitHub Desktop.
Have you upgraded collectd from pre-5.2.1 to 5.2.1 or higher (5.3 in my case) and it started to send graphite metrics without the annoying ".value" in the name? Here is a quick find command to rename the old files to the new names.
find -name value.wsp -printf "mv -v %h.wsp %h.wsp.new; mv -v %p %h.wsp\n" | /bin/sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment