H-Software / Zabbix-Template-Linux-Pacemaker

13 stars 8 forks source link

Clarify on Dependencies #2

Open girishkg opened 7 years ago

girishkg commented 7 years ago

Hi, I dont understand the below line in the instruction

copy script "scripts/check_pacemaker_actions" in /srv/sensu/checks/ (or install as nagios check)

Does it mean I need to install sensu and/or nagios (nrpe) clients along with zabbix agent on the server to monitor and then copy the script as stated (?) so that "scripts/check_pacemaker_actions" will be executed by sensu/nagios (nrpe) agent and the result will be used by zabbix agent?

System requirement and/or pre-requisites section would be nice along with this great work.

dan-aksenov commented 7 years ago

Agree with above question. what are requirements to run this app. For me "summary & nodes" says - "no data".

kmonticolo commented 6 years ago

You just need to copy them to your system (I put them to /usr/local/bin/), change path accordingly in /etc/zabbix/zabbix_agentd.d/zabbix-agent-pacemaker.conf file, modify sudoers file to allow zabbix user to execute these scripts. Edit: I just prepared ansible role to do that: https://github.com/kmonticolo/ansible-role-pacemaker