The zabbix service and monitor service deployment on a machine

Problem, the file path of the two services is / usr / local / sdata down, let the two services co-exist, at least need to talk about a file migration services to another folder, while all configuration items are modified, so that to find a specified file path,

Scenario 1, the first in accordance with zabbix service,
the / usr / local / sdata overall migration to a different directory, then modify the configuration file, specify the file path to the file directory modified while modify / usr / lib / systemd / systemd information on mysql sdata-server sdata-agent of the system / under, and log file path should also be amended, especially mariadb configuration information, the monitor needs to be separated zone,
the configuration file then httpd etc, need to modify sdata the configuration information may also modify the php information zabbix

After configuration, start the appropriate service
startup agent mysql no problem, but suggested that error while loading shared libraries when the server starts: libgd.so.2: can not open shared object
reference
https://blog.csdn.net/u011252402 / article / details / 83098516
copy the file so the bottom of the monitor lib to the specified lib, / ust / lib64, zabbix service starts successfully

Due to the migration of the folders, you need to delete the original equipment rpm -e package, and then install the package in the show, show the package configuration file as long as the area and nothing should separate the issue of zabbix

Guess you like

Origin www.cnblogs.com/0916m/p/11902083.html