MogiePete / zabbix-galera-template

Zabbix Template for Monitoring Galera in a linux environment.
GNU General Public License v3.0
18 stars 15 forks source link

info needed #1

Closed usergoodvery closed 7 years ago

usergoodvery commented 7 years ago

hi thanks for sharing this. I am relatively new to zabbix, but I am not sure if the installation info provided is complete. The instructions on the server suggests: "Add Value Mapping Information", but you seem to do that already in the template. What else needs to be done?

Also, where do I specify mysql's instance ip and port? (if not using standard port/localhost)

Finally, for the zabbix mysql account, where do I specify username/password? or just create ~/.my.cnf file with that info in it for the zabbix unix user?

regards,

ayman

MogiePete commented 7 years ago

I always add the Value Mapping prior to importing a template.

If you are not using the default port you would need to modify the userparameter_galera.conf to specify the port.

ex: HOME=/var/lib/zabbix mysql -N -P

Under client in my.cnf or server.cnf (depending on what version you run) you need to specify the user and password as such.

[client] user = password =

usergoodvery commented 7 years ago

Thanks. I am still not clear on what value mapping is needed for. None of the templates I installed in the past required fiddling with value maps, as that's normally already provided in the template.

Are you referring to this section of the template or something else?

Galera State 1 Joining 2 Donor/Desynced 3 Joined 4 Synced
MogiePete commented 7 years ago

The instructions can be found in Zabbix's documentation for adding Value Mapping.

https://www.zabbix.com/documentation/3.2/manual/config/items/mapping

usergoodvery commented 7 years ago

OK I see what you mean that gives it an extra polish, but otherwise it's optional really