[Tendrl-devel] workaround for https://github.com/Tendrl/performance-monitoring/issues/9

Martin Bukatovic mbukatov at redhat.com
Thu Jun 8 17:51:37 UTC 2017


On 06/07/2017 06:22 AM, Anmol Babu wrote:
> The user addition needs to be done on all those nodes that are monitored(node-monitoring and hence collectd installed)...
> Basically, we have a collectd plugin that on threshold breach of any resource's utilization, sends out a notification to tendrl about the threshold breach.
> The limitation on collectd to run plugin as a script to be executed on a threshold breach detected, is that it can't be run as root and it(collectd threshold handling script) has to run only as a non-root user
> So, if you want the server node also to be monitored and alerted on utilization breaches, then user needs to be added on that machine as well.
> 
> The plugin is as in:
> https://github.com/Tendrl/node-monitoring/blob/develop/tendrl/node_monitoring/plugins/handle_collectd_notification.py
> 
> The plugin is loaded as:
> https://github.com/Tendrl/node-monitoring/blob/develop/tendrl/node_monitoring/templates/collectd.jinja#L28

Thanks a lot for the explanation.

I have additional question: do I understand this right that tendrl-user
is created in node-agent package because it's better wrt to maintenance,
but the actual component which requires it is just monitoring at this
point?

-- 
Martin Bukatovic
USM QE team
Red Hat




More information about the Tendrl-devel mailing list