0.7.0 #930
mickem
announced in
Announcements
0.7.0
#930
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
Here I list all changes since 0.6.9 which is the previous release (there have been experiemental builds which includes below feature since then).
Os detection for
check_os_versionThis use the build number to detect OS versions above Windows 10 so if you want to check version you need to include build number in your check.
Enhancements and experimental support for Pdh based
check_cpu.This version has some PDH (Performance data Helpers) fixes and improved error handling and introduces an experimental new option to switch
check_cputo use PDH instead of APIs.This is experimental and intended to solve the issue with incorrect and negative values on some machines with more than 12 cores.
It currently does not support fetching loads per core (this will be added in a future update).
The main issue is that PDH is messy. It is localized and has historically been prone to strange issues and errors such as counter index getting corrupted and similar issues.
To switch change the following configuration:
Check CPU load values now uses more standard keywords:
Old keywords are still retained for compatibility, so this is a non-breaking change.
Lua
The biggest new change here is the re-added Lua support.
The Lua support has been changed a bit so it might not be 100% compatible with old scripts.
As there is not much documentation for Lua scripting, I plan to add that soon.
And doing that I will highlight the main differences.
But in general "optional parameters" to functions are no longer optional.
So for instance:
Will now require to be written as:
The other change is that construction object is now generally done with
newwhere before it was done with various functions likeCore()here however I have retained backwards compatibility so both should be possible.But in general the quality of error handling and such is much better and I will as I said expand the documentation and add some more examples and such.
check_mkAs a side note experimental
check_mksupport was also added back.This is experimental in so far as I have only verified it with NSClient++ not actual
check_mkso will need to look into that next.Also note that
check_mkis experimental currently it only provides the version and agent name.If there is genuin interest this could easily be extended so please do let me know...
The way
check_mkworks is that the module only provides the communication layer and the data provided is provided by a Lua script (hence requiring Lua support).So the current script looks like so:
So here we need to extend the packet to include more data and other sections for proper
check_mksupport.Installer:
Security:
Other changes
check_nscp_verisonparsing new semantic versionUNKNOWN: OKin this example)Dependencies
Full Changelog: 0.6.15...0.7.0
This discussion was created from the release 0.7.0.
Beta Was this translation helpful? Give feedback.
All reactions