portertech / chef-monitor

An OpsCode Chef cookbook for monitoring services, wrapping the Sensu cookbook.
http://community.opscode.com/cookbooks/monitor
84 stars 101 forks source link

custom Graphite path prefix in nagios_perfdata.rb #22

Closed cruschke closed 10 years ago

cruschke commented 10 years ago

Some users store their Graphite metrics to live.servers.myhost.mycheck, others in servers.live.myhost.mycheck etc ... So supporting a customizable path prefix would be really appriciated.

As an additional requirement this "live" is set in client[:environment] in the Sensu client config.

portertech commented 10 years ago

@cruschke Please create an issue or submit a pull-request to get this functionality in the Mutator, the correct repository to do this is https://github.com/sensu/sensu-community-plugins We can then pull it into this cookbook.