15 Jan 2018 07:54 AM - last edited on 19 May 2023 12:29 AM by Michal_Gebacki
How do I use the HAProxy plugin for a physical appliance that does not have the OneAgent installed?
Solved! Go to Solution.
My understanding was that at the moment plugins will only work for hosts that have a OneAgent installed.
For HA proxy you can use either socket connection (default) or URL connection for the stats. Since you mention an appliance - you will probably need to configure the HA proxy to have stats exposed.
For details see documentation or agent plugin code agent/plugin/plugins/ruxit.python.haproxy/ruxit_haproxy.py
As @James K. mentions below, plugins can currently not communicate outside of the host they are running on and thus require a oneagent.
Lateron, remote plugins could support this usecase as that requirement for running on the same machine is not there.
For now we ended up installing the OneAgent via James advice and used the docs Julius pointed us at to get it functioning. Kristof, I'll let the client know that remote plugins is coming and would remove the OneAgent requirement.