{"id":387,"date":"2025-04-07T11:13:18","date_gmt":"2025-04-07T11:13:18","guid":{"rendered":"https:\/\/adminodwszystkiego.pl\/?p=387"},"modified":"2025-04-07T11:18:00","modified_gmt":"2025-04-07T11:18:00","slug":"zabbix-snmpv3-zmiana-security-name-na-urzadzeniu","status":"publish","type":"post","link":"https:\/\/adminodwszystkiego.pl\/?p=387","title":{"rendered":"Zabbix SNMPv3 zmiana &#8222;Security name&#8221; na urz\u0105dzeniu"},"content":{"rendered":"\n<p>Po zmianie &#8222;Security name&#8221; na urz\u0105dzeniu monitorowanym przy u\u017cyciu SNMP v3 trzeba wykona\u0107 nast\u0119puj\u0105ce kroki:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Logujemy si\u0119 do GUI Zabbix&#8217;a i zmieniamy Security name monitorowanego urz\u0105dzenia.<\/li>\n\n\n\n<li>Sprawdzamy przy u\u017cyciu snmpwalk na serwerze Zabbix czy warto\u015bci s\u0105 zaczytywane przy u\u017cyciu nowego Security name. Przyk\u0142ad komendy poni\u017cej:<br><code>snmpwalk -v 3 -u \"security_name\" -l authPriv -A \"password\" -a SHA -x AES-256-C -X \"password\" 192.168.0.10<\/code><\/li>\n\n\n\n<li>Je\u015bli urz\u0105dzenie odpowiada i warto\u015bci s\u0105 mo\u017cliwe do odczytania wykonujemy polecenie na serwerze Zabbix:<strong><code> <\/code><\/strong><code>zabbix_server -R snmp_cache_reload<\/code><\/li>\n\n\n\n<li>Polecenie nie powoduje problem\u00f3w z dzia\u0142aniem Zabbixa.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p>Poni\u017cej oficjalna dokumentacja Zabbix, kt\u00f3ra wskazuje na ten problem: <a href=\"https:\/\/www.zabbix.com\/documentation\/current\/en\/manual\/config\/items\/itemtypes\/snmp\">https:\/\/www.zabbix.com\/documentation\/current\/en\/manual\/config\/items\/itemtypes\/snmp<\/a><br><em>&#8222;Changes in Authentication protocol, Authentication passphrase, Privacy protocol or Privacy passphrase, made without changing the Security name, will take effect only after the cache on a server\/proxy is manually cleared (by using -R snmp_cache_reload) or the server\/proxy is restarted. In cases, where Security name is also changed, all parameters will be updated immediately.&#8221;<\/em><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Po zmianie &#8222;Security name&#8221; na urz\u0105dzeniu monitorowanym przy u\u017cyciu SNMP v3 trzeba wykona\u0107 nast\u0119puj\u0105ce kroki: Poni\u017cej oficjalna dokumentacja Zabbix, kt\u00f3ra wskazuje na ten problem: https:\/\/www.zabbix.com\/documentation\/current\/en\/manual\/config\/items\/itemtypes\/snmp&#8222;Changes in Authentication protocol, Authentication passphrase, Privacy protocol or Privacy passphrase, made without changing the Security name, will take effect only after the cache on a server\/proxy is manually cleared (by [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29,30],"tags":[37,38],"class_list":["post-387","post","type-post","status-publish","format-standard","hentry","category-monitoring","category-zabbix","tag-monitoring","tag-zabbix"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=\/wp\/v2\/posts\/387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=387"}],"version-history":[{"count":2,"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions\/390"}],"wp:attachment":[{"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adminodwszystkiego.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}