Lord Hepipud
d1b30c77ae
Fixed and improved Perf Data handling
...
* Added proper sorting for checks, packages and check results by name
* Fixed perf data formating to be supported by Icinga 2
* Fixed label naming by removing all invalid characters
* Fixed displaying of values by rounding to 2 digits on floats
2019-09-13 20:44:15 +02:00
Lord Hepipud
7bde4fad0b
Fixed Plugin Output for multiple check packages
2019-08-19 18:08:50 +02:00
Lord Hepipud
6616324589
Fixed missing argument of check object for InitCheck
2019-08-19 18:07:51 +02:00
Lord Hepipud
e65d43a829
Fixed $null code styling comparison
2019-07-24 17:21:10 +02:00
Lord Hepipud
c64fd63d97
Added support to translate check values to speaking values on output
2019-07-24 17:19:56 +02:00
Lord Hepipud
fca6e2e873
Added support to check if objects exist on icinga checks
2019-07-24 17:10:16 +02:00
Lord Hepipud
dafc256ec4
Removed no longer required variables from Check Package
2019-07-24 13:02:03 +02:00
Lord Hepipud
54ef544b8a
Check Packages will now return Unknown if no check is assigned
2019-07-24 13:01:50 +02:00
Lord Hepipud
075018d21a
Removed no longer required debug output
2019-07-23 12:21:45 +02:00
Lord Hepipud
63d9445d16
Fixed check initialising for AddCheck() on Check Packages
2019-07-23 11:42:16 +02:00
Lord Hepipud
b0bea9a6a4
Replaced Silent argument for verbose on check packages
2019-07-22 18:03:19 +02:00
Lord Hepipud
6cbbf91049
Fixed output for Check Results with checks only
2019-07-22 18:01:12 +02:00
Lord Hepipud
8ef18f97a9
Moved NoPerfData from switch to bool
...
This is required to properly pass the argument from a CheckCommand to the result handler
2019-07-22 13:16:14 +02:00
Lord Hepipud
850e8b4d3f
Added support to add additional checks to package by code
2019-07-22 13:15:44 +02:00
Lord Hepipud
c82bdad7cc
Fixed return values and NULL objects for OutOfRange comparison
2019-07-22 13:15:21 +02:00
Lord Hepipud
c2e3ff2131
Small code styling fix
2019-07-22 10:35:23 +02:00
Lord Hepipud
824dde7518
Fixed NoPerfData handling for Check Result function
2019-07-22 09:02:33 +02:00
Lord Hepipud
4392714da3
Added support to skip perfdata for single checks
2019-07-22 09:02:09 +02:00
Lord Hepipud
1093cd17dc
Removed no longer required Output writing
2019-07-22 08:38:38 +02:00
Lord Hepipud
3078a0a937
Fixed spacing for multi-stack packages / checks in output
2019-07-22 08:37:54 +02:00
Lord Hepipud
9ffb9be1ad
Renamed lib icinga\checkresult to icinga\plugin
2019-07-19 20:06:29 +02:00