Hi,
Zabbix version 2.0.3
Host OS Ubuntu 12.04
I was panning to set up actions to execute remote commands (as part of a project) but I've just seen the notice about remote commands not being available on active zabbix agents.
Ultimately I want to have zabbix execute ruby scripts (ideally stored on the host machine as I don't have direct access to the zabbix server) based on triggers changing state.
example command' ruby .../action1.rb
I'm wondering about a few options:
- run a non-active agent in parallel and execute remote commands through this. Would this even work?
- use telnet commands instead, if so can anyone provide some examples of telnet action operation commands?
- a non action based solution where I use a script to poll a trigger for its given state. I have working code for this but my supervisor wants a solution where zabbix will trigger it once the trigger state changes.
**Edit for clarification** - I'm interaction with zabbix only via the API as part of the parameters of the project.
I'm assuming that actions executing files is fairly common practice (?). Can anyone advise about how they go about this when item data is coming from an active zabbix agent?
Thanks in advance for any responses.
Zabbix version 2.0.3
Host OS Ubuntu 12.04
I was panning to set up actions to execute remote commands (as part of a project) but I've just seen the notice about remote commands not being available on active zabbix agents.
Ultimately I want to have zabbix execute ruby scripts (ideally stored on the host machine as I don't have direct access to the zabbix server) based on triggers changing state.
example command' ruby .../action1.rb
I'm wondering about a few options:
- run a non-active agent in parallel and execute remote commands through this. Would this even work?
- use telnet commands instead, if so can anyone provide some examples of telnet action operation commands?
- a non action based solution where I use a script to poll a trigger for its given state. I have working code for this but my supervisor wants a solution where zabbix will trigger it once the trigger state changes.
**Edit for clarification** - I'm interaction with zabbix only via the API as part of the parameters of the project.
I'm assuming that actions executing files is fairly common practice (?). Can anyone advise about how they go about this when item data is coming from an active zabbix agent?
Thanks in advance for any responses.
Comment