{"id":468,"date":"2012-01-05T11:29:07","date_gmt":"2012-01-05T11:29:07","guid":{"rendered":"http:\/\/www.nooblet.org\/blog\/?p=468"},"modified":"2013-01-17T09:42:31","modified_gmt":"2013-01-17T09:42:31","slug":"zabbix-unsupported-items-status","status":"publish","type":"post","link":"https:\/\/www.nooblet.org\/blog\/2012\/zabbix-unsupported-items-status\/","title":{"rendered":"Zabbix Unsupported Items Status"},"content":{"rendered":"<p>Following on from the <a href=\"http:\/\/www.nooblet.org\/blog\/2011\/zabbix-trigger-summary\/\" title=\"Zabbix Trigger Summary by Email\">zabbix status script<\/a>, I have put togethor another script to list any unsupported items on agents.<\/p>\n<p>For an item to go unsupported, it usually means something is wrong with the agent, so I add this script to \/etc\/cron.hourly.<\/p>\n<p>The SQL query to get the list of unsupported items is,<\/p>\n<pre class=\"lang:tsql decode:true \" >SELECT\r\n        hosts.host AS hostname,\r\n        items.description AS item,\r\n        items.key_ AS \"key\"\r\nFROM\r\n        items\r\nRIGHT JOIN\r\n        hosts ON items.hostid=hosts.hostid\r\nWHERE\r\n        items.status = 3;<\/pre>\n<p><strong>Download<\/strong><br \/>\n<img decoding=\"async\" src=\"\/blog\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/unknown.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"https:\/\/www.nooblet.org\/blog\/download\/zabbix-unsupported-status.sh\">zabbix-unsupported-status.sh<\/a><\/strong> (1.3 KiB, 3,256 hits)<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following on from the zabbix status script, I have put togethor another script to list any unsupported items on agents. For an item to go unsupported, it usually means something is wrong with the agent, so I add this script to \/etc\/cron.hourly. The SQL query to get the list of unsupported items is, SELECT hosts.host [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":643,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[27,143,179],"class_list":["post-468","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-linux","tag-bash","tag-script","tag-zabbix"],"_links":{"self":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/comments?post=468"}],"version-history":[{"count":3,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/468\/revisions"}],"predecessor-version":[{"id":665,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/468\/revisions\/665"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media\/643"}],"wp:attachment":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media?parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/categories?post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/tags?post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}