2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2015-03-12 09:39:53 +01:00
|
|
|
|
2016-08-12 13:44:51 +02:00
|
|
|
System.assert(Internal.run_with_activation_context(function() {
|
2018-08-07 13:55:41 +02:00
|
|
|
template CheckCommand "ido-check-command" use (checkFunc = Internal.IdoCheck) {
|
|
|
|
execute = checkFunc
|
2016-08-09 10:40:29 +02:00
|
|
|
}
|
2015-03-12 09:39:53 +01:00
|
|
|
|
2016-08-28 10:41:01 +02:00
|
|
|
object CheckCommand "ido" {
|
2016-08-09 10:40:29 +02:00
|
|
|
import "ido-check-command"
|
|
|
|
}
|
|
|
|
}))
|
2016-08-12 13:42:22 +02:00
|
|
|
|
|
|
|
var methods = [
|
|
|
|
"IdoCheck"
|
|
|
|
]
|
|
|
|
|
|
|
|
for (method in methods) {
|
|
|
|
Internal.remove(method)
|
|
|
|
}
|