{"id":4181,"date":"2018-10-20T20:26:34","date_gmt":"2018-10-20T18:26:34","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=4181"},"modified":"2020-10-28T16:05:59","modified_gmt":"2020-10-28T15:05:59","slug":"debian-linux-pending-updates","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/debian-linux-pending-updates\/","title":{"rendered":"Debian Linux Pending Updates"},"content":{"rendered":"<p>You can check if you have pending updates and pending security updates.<\/p>\n<p>Add module data to your\u00a0<span class=\"s1\">\/etc\/pandorafms\/<\/span><span class=\"s1\">pandora_agent.conf<\/span><\/p>\n<h2><b>Module data<\/b><\/h2>\n<p># System Pending Updates<\/p>\n<p>module_begin<br \/>\nmodule_name System Pending Updates<br \/>\nmodule_type generic_data<br \/>\nmodule_exec apt-get upgrade -s | grep ^Inst | wc -l<br \/>\nmodule_min 0<br \/>\nmodule_description System Pending Updates<br \/>\nmodule_min_warning 10<br \/>\nmodule_max_warning 15<br \/>\nmodule_min_critical 16<br \/>\nmodule_max_critical 1000<br \/>\nmodule_end<\/p>\n<p># System Pending Critical Updates<br \/>\nmodule_begin<br \/>\nmodule_name Pending Critical Updates<br \/>\nmodule_type generic_data<br \/>\nmodule_exec apt-get upgrade -s | grep ^Inst | grep Security | wc -l<br \/>\nmodule_min 0<br \/>\nmodule_description Pending Critical Updates<br \/>\nmodule_min_warning 1<br \/>\nmodule_max_warning 5<br \/>\nmodule_min_critical 6<br \/>\nmodule_max_critical 1000<br \/>\nmodule_end<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can check if you have pending updates and pending security updates. Add module data to your\u00a0\/etc\/pandorafms\/pandora_agent.conf Module data # System Pending Updates module_begin module_name System Pending Updates module_type generic_data module_exec apt-get upgrade -s | grep ^Inst | wc -l module_min 0 module_description System Pending Updates module_min_warning 10 module_max_warning 15 module_min_critical 16 module_max_critical 1000 module_end [&hellip;]<\/p>\n","protected":false},"author":476,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[25,6],"tags":[73,944,943,942],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/4181"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/476"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=4181"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/4181\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=4181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=4181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=4181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}