{"id":167,"date":"2011-05-11T11:38:23","date_gmt":"2011-05-11T11:38:23","guid":{"rendered":"http:\/\/edcint.co.nz\/checkwmiplus\/history-origins\/"},"modified":"2019-05-30T10:19:00","modified_gmt":"2019-05-30T10:19:00","slug":"history-origins","status":"publish","type":"page","link":"https:\/\/edcint.co.nz\/checkwmiplus\/about\/history-origins\/","title":{"rendered":"History\/Origins"},"content":{"rendered":"<p>check_wmi.pl first appeared on exchange.nagios.org. It was created by Matthieu Thibault. It was a great start to agent-less checking of Windows systems using the WMI client, wmic from Zenoss.<\/p>\n<p>check_wmi_plus uses the Windows Management Interface (WMI) to check for common services (cpu, disk, sevices, eventlog&#8230;) on Windows machines. It requires the open source wmi client for Linux.<\/p>\n<p>On his site (now no longer in existence &#8211; old link was <a href=\"http:\/\/www.thibault.info\/node\/2\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.thibault.info\/node\/2<\/a>), Matthieu went through the steps required to get all the prerequisites sorted and start using check_wmi. A copy of this information is available <a href=\"http:\/\/edcint.co.nz\/checkwmiplus\/wmic-compile-instructions-from-matthieu-thibaults-site\/\">here<\/a>.<\/p>\n<p>After heavily modifying check_wmi myself, to bring the functionality closer to what is currently provided by NSClient++, I submitted an entry on Matthieu&#8217;s site with a link to my version. After a couple of weeks he had still not responded. I then set about totally rewriting check_wmi and adding lots of functionality and hence called in check_wmi_plus.<\/p>\n<p>The major changes over Matthieu&#8217;s original version are:<\/p>\n<ul>\n<li>ensured calculations using % are consistent and correct<\/li>\n<li>removed the dependency on the Switch module<\/li>\n<li>moved all the checks into their own subroutines<\/li>\n<li>fixed a lot of variable initialisation cases to ensure error free operation running under Nagios&#8217; embedded perl<\/li>\n<li>significantly reworked the help message to show the new options<\/li>\n<li>checkdrivesize now can check multiple or all the drives on a system in a single check<\/li>\n<li>checkeventlog now outputs a much easier to read format and takes advantage of Nagios&#8217; multi-line plugin output capability<\/li>\n<li>checkservice can now check multiple or all services on a system in a single check<\/li>\n<li>added checkprocess which can check for the presence of one or more processes in a single check<\/li>\n<li>checkcpu now takes uses the raw performance counters to more accurately calculate cpu utilisation over a timeperiod (rather than just the single point values)<\/li>\n<li>added checkuptime<\/li>\n<li>added checkfilesize<\/li>\n<li>added checkfoldersize<\/li>\n<li>added checkfileage<\/li>\n<li>added checknetwork<\/li>\n<li>added checkcpuq &#8211; to check the processor queue length (which may be a good indicator of overall system load)<\/li>\n<li>introduced an optional BYTEFACTOR so that you can choose if you want to use 1000 byte or 1024 byte per kilobyte etc<\/li>\n<li>most checks can now specify a warning\/critical levels and using them is optional<\/li>\n<li>all usage of warning\/critical levels conforms to the more flexible standard nagios plugin definition<\/li>\n<li>you can use multiple warning\/critical specifications to make complex criteria<\/li>\n<li>most checks return performance data<\/li>\n<li>added an ini file to make the plugin extensible ie the user can write their own checks (and hopefully share them back on this site)<\/li>\n<\/ul>\n<p>This list is not kept up to date. Refer to the <a href=\"http:\/\/edcint.co.nz\/checkwmiplus\/releases\/change-log\/\">Change Log<\/a> for more information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>check_wmi.pl first appeared on exchange.nagios.org. It was created by Matthieu Thibault. It was a great start to agent-less checking of Windows systems using the WMI&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":52,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-167","page","type-page","status-publish","hentry","category-other"],"_links":{"self":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/pages\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":4,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/pages\/167\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/pages\/167\/revisions\/272"}],"up":[{"embeddable":true,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/pages\/52"}],"wp:attachment":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}