Difference between revisions of "Zabbix agent2"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
``` | ``` | ||
zabbix_agent2 -t system.run['ls -l /'] | zabbix_agent2 -t system.run['ls -l /'] | ||
− | zabbix_get -s 127.0.0.1 -p 10050 -k system.run['/mon/checkip ping | + | zabbix_get -s 127.0.0.1 -p 10050 -k system.run['/mon/checkip ping <host/ip>'] |
``` | ``` | ||
Revision as of 20:43, 9 November 2020
zabbix_agent2 -t system.run['ls -l /'] zabbix_get -s 127.0.0.1 -p 10050 -k system.run['/mon/checkip ping <host/ip>']
update timeout for system.run commands in /etc/zabbix/zabbix_agent2.conf
Timeout=10