{"id":8584,"date":"2020-08-28T13:32:56","date_gmt":"2020-08-28T05:32:56","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8584"},"modified":"2020-08-28T13:32:56","modified_gmt":"2020-08-28T05:32:56","slug":"zabbix-agentd","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/zabbix-agentd","title":{"rendered":"zabbix_agentd\u547d\u4ee4 – Zabbix\u5ba2\u6237\u7aef\u5b88\u62a4\u7a0b\u5e8f"},"content":{"rendered":"\n

zabbix_agentd \u662f\u4e00\u4e2a\u7528\u4e8e\u76d1\u63a7\u5404\u79cd\u670d\u52a1\u5668\u53c2\u6570\u7684\u5b88\u62a4\u8fdb\u7a0b\u3002<\/p>\n\n\n\n

zabbix_agentd\u662f\u5b89\u88c5\u5230\u88ab\u76d1\u63a7\u670d\u52a1\u5668\u4e0a\uff0czabbix_agentd\u53c8\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u5de5\u5177\uff0czabbix_server\u4fbf\u53ef\u4ee5\u548czabbix_agentd\u901a\u4fe1\u6765\u83b7\u53d6\u6570\u636e\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>zabbix_agentd [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-c<\/td>\u914d\u7f6e\u6587\u4ef6\u8def\u5f84<\/td><\/tr>
-p<\/td>\u6253\u5370\u51fa\u6240\u6709\u7684item<\/td><\/tr>
-t<\/td>\u6d4b\u8bd5\u6307\u5b9aitem key<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5217\u51fa\u6240\u6709\u7684items\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# zabbix_agentd -p<\/pre>\n\n\n\n

\u6d4b\u8bd5\u6307\u5b9a\u7684key\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# zabbix_agentd -t system.uptime -c zabbix_agentd.conf<\/pre>\n\n\n\n

\u542f\u52a8zabbix_agentd\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# zabbix_agentd -c zabbix_agentd.conf<\/pre>\n","protected":false},"excerpt":{"rendered":"

zabbix_agentd \u662f\u4e00\u4e2a\u7528\u4e8e\u76d1\u63a7\u5404\u79cd\u670d\u52a1\u5668\u53c2\u6570\u7684\u5b88\u62a4\u8fdb\u7a0b\u3002 zabbix_agentd\u662f\u5b89\u88c5\u5230\u88ab\u76d1\u63a7 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8584"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8584"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8584\/revisions"}],"predecessor-version":[{"id":8613,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8584\/revisions\/8613"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}