{"id":42417,"date":"2023-07-07T18:14:47","date_gmt":"2023-12-24T07:34:49","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/"},"modified":"2024-04-30T12:29:11","modified_gmt":"2024-04-30T04:29:11","slug":"%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/","title":{"rendered":"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent"},"content":{"rendered":"<h1>\u9996\u5148<\/h1>\n<p>\u6211\u7ecf\u5e38\u5728\u5bb6\u4e2d\u865a\u62df\u8bbe\u7f6eUbuntu\u670d\u52a1\u5668\u6765\u6784\u5efa\u5404\u79cdOSS\u73af\u5883\uff0c\u4f46\u6bcf\u6b21\u90fd\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6\u548cZabbix\u4ee3\u7406\u611f\u89c9\u5f88\u9ebb\u70e6\u3002<\/p>\n<p>\u6211\u66fe\u7ecf\u60f3\u7740\u80fd\u5426\u4ee5\u67d0\u79cd\u65b9\u5f0f\u81ea\u52a8\u5b8c\u6210\uff0c\u4e8e\u662f\u7075\u673a\u4e00\u52a8\uff0c\u5c1d\u8bd5\u7740\u7528Ansible\u6765\u5b9e\u73b0\u3002<br \/>\n\u5728\u5b89\u88c5Zabbix\u65f6\uff0c\u6211\u4ece\u6dfb\u52a0\u5b58\u50a8\u5e93\u5f00\u59cb\u3002<br \/>\n\u6211\u8ba4\u4e3a\u901a\u8fc7\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5e94\u7528\u5230\u5176\u4ed6\u8f6f\u4ef6\u5b89\u88c5\u4e2d\uff0c\u6240\u4ee5\u8bf7\u52a1\u5fc5\u53c2\u8003\u4e00\u4e0b\u3002<\/p>\n<h1>\u73af\u5883<\/h1>\n<p>Ubuntu 22.04\uff08\u5909\u66f4\u5bfe\u8c61\uff09<\/p>\n<p>\u30db\u30b9\u30c8\u540d\uff1aubuntu<br \/>\nIP\u30a2\u30c9\u30ec\u30b9\uff1a192.168.10.3<\/p>\n<p>Ansible Server<\/p>\n<p>\u30db\u30b9\u30c8\u540d\uff1aansible<br \/>\nIP\u30a2\u30c9\u30ec\u30b9\uff1a192.168.10.5<br \/>\nAnsible Core version\uff1a2.13.1<br \/>\nPython version\uff1a3.8.10<\/p>\n<p>zabbix_server (Zabbix)<\/p>\n<p>Version\uff1a6.0.6<\/p>\n<p>zabbix_agentd<\/p>\n<p>Version\uff1a5.0.17<\/p>\n<h1>\u524d\u63d0<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Zabbix\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5bfe\u8c61\u30b5\u30fc\u30d0\u304c\u69cb\u7bc9\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5bfe\u8c61\u30b5\u30fc\u30d0\u3068Ansible\u30b5\u30fc\u30d0\u304cSSH\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3053\u3068\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Ansible\u30b5\u30fc\u30d0\u304c\u69cb\u7bc9\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>\u3061\u306a\u307f\u306bAnsible\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306a\u3069\u306f\u5225\u8a18\u4e8b\u306b\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1>\u4e3b\u6301\u4eba\u51c6\u5907\u597d\u4e86.<\/h1>\n<p>\u5c06Zabbix\u4ee3\u7406\u7a0b\u5e8f\u5b89\u88c5\u5728\u4fdd\u5b58\u5728\/etc\/ansible\u7684hosts\u6587\u4ef6\u4e2d\u7684\u76ee\u6807\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u6216IP\u5730\u5740\u4e2d\u3002<br \/>\n\u4f7f\u7528vim\u7f16\u8f91\/etc\/ansible\/hosts\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>[linux_apt]\r\n192.168.10.3\r\n\r\n[linux_apt:vars]\r\nansible_user: admin\r\nansible_password: password\r\nansible_port: 22\r\nansible_facts.os_family: 'Debian'\r\nansible_become_password:password\r\n\r\n<\/code><\/pre>\n<p>\u6211\u5c06[192.168.10.3]\u6dfb\u52a0\u5230[linux_apt]\u7ec4\u4e2d\u3002<br \/>\n\u7136\u540e\uff0c\u5728[linux_apt:vars]\u4e2d\u6dfb\u52a0\u4e86\u767b\u5f55\u6240\u9700\u7684\u4fe1\u606f\u3002<br \/>\n\u767b\u5f55\u7528\u6237\u540d\u3001\u5bc6\u7801\u3001\u7aef\u53e3\u53f7\u3001\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u4ee5\u53casudo\u65f6\u6240\u9700\u7684\u5bc6\u7801\u3002<\/p>\n<h1>Playbooks\u7684\u63cf\u8ff0<\/h1>\n<p>Playbooks\u88ab\u5206\u4e3a\u56db\u4e2a\u4efb\u52a1\u8fdb\u884c\u63cf\u8ff0\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u4e0b\u8f7dZabbix\u8f6f\u4ef6\u5305<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u6dfb\u52a0Zabbix\u4ed3\u5e93\uff08\u83b7\u53d6Zabbix\u8f6f\u4ef6\u5305\uff09<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u66f4\u65b0\u8f6f\u4ef6\u5305\u5217\u8868<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u5b89\u88c5Zabbix Agent<\/ol>\n<p>\u521b\u5efaPlaybooks\u6587\u4ef6\u5939\u4e8e\/etc\/ansible\u76ee\u5f55\u4e0b\u3002<br \/>\n\u4f7f\u7528vim\u547d\u4ee4\u7f16\u8f91\/etc\/ansible\/add_zabbix.yaml\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>---\r\n- hosts: linux_apt\r\n  gather_facts: false\r\n  become: true\r\n\r\n  tasks:\r\n    - name: get zabbix package #wget\u3068\u540c\u3058\u64cd\u4f5c\u3002OS\u3084Zabbix\u30b5\u30fc\u30d0\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066URL\u306f\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n      get_url:\r\n        url: https:\/\/repo.zabbix.com\/zabbix\/6.0\/ubuntu-arm64\/pool\/main\/z\/zabbix-release\/zabbix-release_6.0-3+ubuntu22.04_all.deb\r\n        dest: \/tmp #\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u5834\u6240\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\r\n\r\n    - name: dpkg zabbix #dpkg -i \u3068\u540c\u3058\u304f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\r\n      ansible.builtin.dpkg_selections:\r\n        name: zabbix-release_6.0-3+ubuntu22.04_all.deb\r\n        selection: install\r\n\r\n    - name: update package index #\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u305f\u306e\u3067\u3001\u30ea\u30b9\u30c8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3057\u307e\u3059\u3002\r\n      ansible.builtin.apt:\r\n        update_cache: yes\r\n\r\n    - name: install zabbix-agent #Zabbix\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\r\n      ansible.builtin.apt:\r\n        name:\r\n          - zabbix-agent\r\n        state: present\r\n...\r\n<\/code><\/pre>\n<h1>\u6267\u884c<\/h1>\n<p>\u5f53\u51c6\u5907\u597dhosts\u548cPlaybooks\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<br \/>\nansible-playbook \/etc\/ansible\/add_zabbix.yaml<\/p>\n<p>[\u8fd0\u884c\u7ed3\u679c]<\/p>\n<pre class=\"post-pre\"><code>PLAY [linux_apt] ***************************************************************\r\n\r\nTASK [get zabbix package] ******************************************************\r\nok: [192.168.10.3]\r\n\r\nTASK [dpkg zabbix] *************************************************************\r\nchanged: [192.168.10.3]\r\n\r\nTASK [update package index] ****************************************************\r\nchanged: [192.168.10.3]\r\n\r\nTASK [install zabbix-agent] ****************************************************\r\nchanged: [192.168.10.3]\r\n\r\nPLAY RECAP *********************************************************************\r\n192.168.10.3       : ok=4    changed=3    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   \r\n<\/code><\/pre>\n<p>OK=4\u4ef6\u3001Changed=3\u4ef6\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u30a8\u30e9\u30fc\u3082\u306a\u3044\u306e\u3067\u554f\u984c\u306a\u304f\u5b8c\u4e86\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5982\u679c\u8fd8\u6709\u5176\u4ed6\u9700\u8981\u5b89\u88c5\u7684\u8f6f\u4ef6\uff0c\u8bf7\u6dfb\u52a0\u4efb\u52a1\uff0c\u53ef\u4ee5\u4e00\u6b21\u5b8c\u6210\u8bbe\u7f6e\u3002<\/p>\n<h1>\u6587\u732e\u53ef\u4f9b\u53c2\u8003<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Ansible\u30af\u30c3\u30af\u30d6\u30c3\u30af<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u53c2\u8003\u30b5\u30a4\u30c8<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u6211\u7ecf\u5e38\u5728\u5bb6\u4e2d\u865a\u62df\u8bbe\u7f6eUbuntu\u670d\u52a1\u5668\u6765\u6784\u5efa\u5404\u79cdOSS\u73af\u5883\uff0c\u4f46\u6bcf\u6b21\u90fd\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6\u548cZabbix\u4ee3\u7406\u611f [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42417","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5c1d\u8bd5\u4f7f\u7528ansible\u5728ubuntu\u4e0a\u5b89\u88c5zabbix-agent\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u6211\u7ecf\u5e38\u5728\u5bb6\u4e2d\u865a\u62df\u8bbe\u7f6eUbuntu\u670d\u52a1\u5668\u6765\u6784\u5efa\u5404\u79cdOSS\u73af\u5883\uff0c\u4f46\u6bcf\u6b21\u90fd\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6\u548cZabbix\u4ee3\u7406\u611f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5c1d\u8bd5\u4f7f\u7528ansible\u5728ubuntu\u4e0a\u5b89\u88c5zabbix-agent\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-24T07:34:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T04:29:11+00:00\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/\",\"name\":\"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-24T07:34:49+00:00\",\"dateModified\":\"2024-04-30T04:29:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5c1d\u8bd5\u4f7f\u7528ansible\u5728ubuntu\u4e0a\u5b89\u88c5zabbix-agent\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent","og_description":"\u9996\u5148 \u6211\u7ecf\u5e38\u5728\u5bb6\u4e2d\u865a\u62df\u8bbe\u7f6eUbuntu\u670d\u52a1\u5668\u6765\u6784\u5efa\u5404\u79cdOSS\u73af\u5883\uff0c\u4f46\u6bcf\u6b21\u90fd\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6\u548cZabbix\u4ee3\u7406\u611f [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u5c1d\u8bd5\u4f7f\u7528ansible\u5728ubuntu\u4e0a\u5b89\u88c5zabbix-agent\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-24T07:34:49+00:00","article_modified_time":"2024-04-30T04:29:11+00:00","author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/","name":"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-24T07:34:49+00:00","dateModified":"2024-04-30T04:29:11+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6211\u5c1d\u8bd5\u4f7f\u7528Ansible\u5728Ubuntu\u4e0a\u5b89\u88c5Zabbix-agent"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e5%b0%9d%e8%af%95%e4%bd%bf%e7%94%a8ansible%e5%9c%a8ubuntu%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-agent%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=42417"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42417\/revisions"}],"predecessor-version":[{"id":91918,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/42417\/revisions\/91918"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=42417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=42417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=42417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}