Categories: Openwrt

openwrt zabbix agent daemon

# HOWTO configure zabbix agent on OpenWrt
#
# install zabbix (built from openwrt packages repo)

ipkg install zabbix-agent

# create zabbix user and group
#
# /etc/passwd

zabbix:*:42223:42223:zabbix:/var:/bin/false

# /etc/group

zabbix:x:42223:

# create /var/tmp (for pidfile)

mkdir /var/tmp
chown zabbix /var/tmp

# edit /etc/zabbix/zabbix_agentd.conf

Hostname=openwrt
StartAgents=1
PidFile=/var/tmp/zabbix_agentd.pid
LogFileSize=1

# start zabbix_agentd

zabbix_agentd

# End
admin

Share
Published by
admin

Recent Posts

How to back up and restore the ESXi host configuration

Original https://kb.vmware.com/s/article/2042141 Backing up ESXi host configuration data To synchronize the configuration changed with persistent…

11 месяцев ago

vCenter Converter Standalone download

vCenter Converter Standalone 6.6.0 download (далее…)

12 месяцев ago

VMware remote console (VMRC) 12 download

VMware remote console (VMRC) 12.0.5 download Last version: VMware Remote Console 12.0.5  28 NOV 2023…

2 года ago

Mysql calculate row size for all tables

SELECT col_sizes.TABLE_SCHEMA, col_sizes.TABLE_NAME, SUM(col_sizes.col_size) AS EST_MAX_ROW_SIZE FROM ( SELECT cols.TABLE_SCHEMA, cols.TABLE_NAME, cols.COLUMN_NAME, CASE cols.DATA_TYPE WHEN…

2 года ago

Mysql change date format in database

UPDATE DB SET column = DATE(STR_TO_DATE(column, '%Y-%d-%m')) WHERE DATE(STR_TO_DATE(column, '%d-%m-%Y')) <> '0000-00-00'

2 года ago

esxi debian lvm extend partition

echo 1 > /sys/class/block/sda/device/rescan #maybe run under root> sudo fdisk /dev/sda2 > d > 2…

2 года ago