{"id":1287,"date":"2019-04-12T08:34:26","date_gmt":"2019-04-12T05:34:26","guid":{"rendered":"https:\/\/helia.ee\/koolitus\/?page_id=1287"},"modified":"2019-10-27T00:09:44","modified_gmt":"2019-10-26T21:09:44","slug":"zabbix-snmp-community-muutmine","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=1287","title":{"rendered":"Zabbix &#8211; SNMP Community muutmine"},"content":{"rendered":"\r\n<p>Store all common items in a template &#8216;Template SNMP&#8217;.<br \/>The attribute &#8216;SNMP community&#8217; is set to the user macro &#8216;{$SNMP_COMMUNITY}&#8217; in all these items.<br \/>Add a user macro\u00a0{$SNMP_COMMUNITY} = public\u00a0to the &#8216;Template SNMP&#8217;<\/p>\r\n\r\n\r\n\r\n<p>Then create one template per customer (e.g. &#8216;Template SNMP &#8211; ACME&#8217;) and link it to the common template &#8216;Template SNMP&#8217;.<br \/>Add a user macro &#8216;{$SNMP_COMMUNITY}&#8217; to the customer template as well. But this time with the individual community string.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Store all common items in a template &#8216;Template SNMP&#8217;.The attribute &#8216;SNMP community&#8217; is set to the user macro &#8216;{$SNMP_COMMUNITY}&#8217; in all these items.Add a user macro\u00a0{$SNMP_COMMUNITY} = public\u00a0to the &#8216;Template SNMP&#8217; Then create one template per customer (e.g. &#8216;Template SNMP &#8211; ACME&#8217;) and link it to the common template &#8216;Template SNMP&#8217;.Add a user macro &#8216;{$SNMP_COMMUNITY}&#8217; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1475,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1287","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1287"}],"version-history":[{"count":2,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1287\/revisions"}],"predecessor-version":[{"id":1479,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1287\/revisions\/1479"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1475"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}