Zabbix lahenduse seadistamine: erinevus redaktsioonide vahel

Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
Resümee puudub
27. rida: 27. rida:
   
 
<pre>
 
<pre>
root@plms-tm:~# openssl rand -hex 32 > /etc/zabbix/pskident5.txt
+
root@plms-tm:~# openssl rand -hex 32 > /etc/zabbix/pskident.txt
root@plms-tm:~# chown root:zabbix /etc/zabbix/pskident5.txt
+
root@plms-tm:~# chown root:zabbix /etc/zabbix/pskident.txt
root@plms-tm:~# chmod 0640 /etc/zabbix/pskident5.txt
+
root@plms-tm:~# chmod 0640 /etc/zabbix/pskident.txt
 
</pre>
 
</pre>
   

Redaktsioon: 4. detsember 2025, kell 02:58

Sissejuhatus

TODO

Seadistamine

Agendi seadistamine

root@plms-tm:~# egrep -v "^$|^#" /etc/zabbix/zabbix_agent2.conf
PidFile=/run/zabbix/zabbix_agent2.pid
LogFile=/var/log/zabbix/zabbix_agent2.log
LogFileSize=0
Server=10.235.106.149
ServerActive=10.235.106.149
Hostname=plms-tm.auul.pri.ee
PluginSocket=/run/zabbix/agent.plugin.sock
ControlSocket=/run/zabbix/agent.sock
TLSConnect=psk
TLSPSKIdentity=psk-ident-plms-tm
TLSPSKFile=/etc/zabbix/pskident.txt
Include=/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf
Include=/etc/zabbix/zabbix_agent2.d/*.conf

ning agent poolel

root@plms-tm:~# openssl rand -hex 32 > /etc/zabbix/pskident.txt
root@plms-tm:~# chown root:zabbix /etc/zabbix/pskident.txt
root@plms-tm:~# chmod 0640 /etc/zabbix/pskident.txt

ning server host sissekande juures