R
R
Reikoemco2019-03-06 12:03:37
MySQL
Reikoemco, 2019-03-06 12:03:37

Why is the replication monitoring script not working on Zabbix?


I can't get the script to work on zabbix

write
Value "mv: cannot move ‘/tmp/mm.alive_instances.dat~’ to ‘/tmp/mm.alive_instances.dat’: Permission denied
/etc/zabbix/mm.sh: line 15: /tmp/mm.zabbix_sender.log: Permission denied
0" of type "string" is not suitable for value type "Numeric (unsigned)

I know what to do with the value type, but I’ve already suffered with the rest.
Now a little about the configuration:
- guide and script
- /tmp folder - zabbix owner, rights777
-/etc/zabbix folder - zabbix owner, rights777 -mm.sh
file - executable
-the .my.cnf file contains the data of the zabbix user, which has all privileges to all databases
-in zabbix_agent.conf there is a line UserParameter=mm.sh,/etc/zabbix/mm.sh
I also tried all this from root
How to force does it work?
Because the script is very good, IMHO, despite the fact that I have multimaster replication to one server

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question