sensu-plugins / sensu-plugins-openstack

This plugin provies native OpenStack instrumentation for monitoring and metrics collection, including: service health and metrics from Ceilometer, Keystone, Neutron, and Nova.
http://sensu-plugins.io
MIT License
4 stars 13 forks source link

using python scripts installed by the gem #4

Open hfrese opened 8 years ago

hfrese commented 8 years ago

Hello,

I have a question about the python scripts included in this gem and general in sensu-plugins. Because for example neutron-agent-status.py is not a ruby script no handy wrapper script is available in /opt/sensu/embedded/bin after installing the gem.

In our use case, just using the complete path (or modifying the $PYTHONPATH) is not an option either because the path includes the ruby and gem versions, which can and will change. I have written my own solution that provides the sensu check command with the right path to the script but it is not an elegant solution.

I would be very grateful for your opionion and suggestions on how to easily access the python scripts installed by the gem.

eheydrick commented 7 years ago

I left a comment in a similar issue here: https://github.com/sensu-plugins/sensu-plugins-openstack/issues/5#issuecomment-270568615.