Monitoraggio Aggiornamenti APT con Zabbix: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
=Installazione pacchetto RVM=
apt-get install zabbix-apt
=Installazione manuale=
* Sul client da monitorare copiare il file:
* Sul client da monitorare copiare il file:
  wget https://raw.githubusercontent.com/theranger/zabbix-apt/master/zabbix_agentd.d/apt.conf -O /etc/zabbix/zabbix_agentd.d/apt.conf
  wget https://raw.githubusercontent.com/theranger/zabbix-apt/master/zabbix_agentd.d/apt.conf -O /etc/zabbix/zabbix_agentd.d/apt.conf

Latest revision as of 13:36, 11 July 2019

Installazione pacchetto RVM

apt-get install zabbix-apt

Installazione manuale

  • Sul client da monitorare copiare il file:
wget https://raw.githubusercontent.com/theranger/zabbix-apt/master/zabbix_agentd.d/apt.conf -O /etc/zabbix/zabbix_agentd.d/apt.conf
  • Se non è attivo cron-apt, attivare anche l'update apt copiando il file:
wget https://raw.githubusercontent.com/theranger/zabbix-apt/master/apt.conf.d/02periodic -O /etc/apt/apt.conf.d/02periodic
  • Riavviare l'agente
systemctl restart zabbix-agent.service 
  • Installare in Zabbix il Template
https://raw.githubusercontent.com/theranger/zabbix-apt/master/templates/apt-updates.xml
  • Assegnare all'host il template
Template App APT Updates

Riferimenti