mirror of
https://github.com/Icinga/icinga2.git
synced 2025-08-28 13:08:18 +02:00
20 lines
400 B
Plaintext
20 lines
400 B
Plaintext
/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */
|
|
|
|
System.assert(Internal.run_with_activation_context(function() {
|
|
template CheckCommand "influxdb-check-command" use (checkFunc = Internal.InfluxdbCheck) {
|
|
execute = checkFunc
|
|
}
|
|
|
|
object CheckCommand "influxdbwriter" {
|
|
import "influxdb-check-command"
|
|
}
|
|
}))
|
|
|
|
var methods = [
|
|
"InfluxdbCheck"
|
|
]
|
|
|
|
for (method in methods) {
|
|
Internal.remove(method)
|
|
}
|