Created
March 14, 2015 07:32
-
-
Save jamtur01/7783b62a462cec88396a to your computer and use it in GitHub Desktop.
This file contains 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
(def default-services | |
[{:service #"^load/load/(.*)$" :rewrite "load $1"} | |
{:service #"^swap/swap_(.*)-(.*)$" :rewrite "swap $1 $2"} | |
{:service #"^memory/memory-(.*)$" :rewrite "mem $1"} | |
{:service #"^processes/ps_state-(.*)$" :rewrite "processes $1"} | |
{:service #"^aggregation-cpu-average/cpu-(.*)$" :rewrite "cpu $1"} | |
{:service #"^df-(.*)/df_complex-(.*)$" :rewrite "df $1 $2"} | |
{:service #"^interface-(.*)/if_(errors|packets|octets)/(tx|rx)$" :rewrite "nic $1 $3 $2"}]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment