sensu-plugins / sensu-plugins-cpu-checks

This plugin provides native CPU instrumentation for monitoring and metrics collection, including: CPU usage and metrics for user, nice, system, idle, iowait, irq, softirq, steal, and guest.
http://sensu-plugins.io
MIT License
13 stars 34 forks source link

Scheme not working as expected #57

Closed zenmetsu closed 5 years ago

zenmetsu commented 5 years ago

I feel that this could be invalid, but I'm opening an issue after spending 4 hours trying to find documentation on the subject in the hopes that a quick answer can be provided. I am attempting to upgrade from Sensu 1.x to Sensu 5.x and am having difficulty with this plugin. Previously I would use '--scheme production.:::name:::' to prefix my metrics, and the hostname would be substituted. This does not appear to be the case now as the substitution is not taking place. Is there some other way of handling this under Sensu 5.x?

zenmetsu commented 5 years ago

Closing as invalid. Sensu has changed the necessary tokens and the documentation is here: https://docs.sensu.io/sensu-go/5.11/reference/tokens/