1234567891011121314151617181920212223242526272829303132333435363738 |
- #
- # Checks aus nagios-plugins-contrib (Salt managed)
- #
- ### Memory-Check
- object CheckCommand "memory" {
- import "plugin-check-command"
- command = [ PluginDir + "/check_memory" ]
- arguments = {
- "--warning" = "$memory.warning$"
- "--critical" = "$memory.critical$"
- "--unit" = "$memory.unit$"
- "--timeout" = "$memory.timeout$"
- }
- vars.memory.warning = 10
- vars.memory.critical = 5
- vars.memory.unit = "M"
- }
- ### Uptime-Check
- object CheckCommand "uptime" {
- import "plugin-check-command"
- command = [ PluginDir + "/check_uptime" ]
- arguments = {
- "-T" = "$uptime_T$"
- "-w" = "$uptime_w$"
- "-c" = "$uptime_c$"
- "-f" = "$uptime_f$"
- "-P" = "$uptime_P$"
- "-t" = "$uptime_t$"
- }
- }
- ### libs-Check
- object CheckCommand "libs" {
- import "plugin-check-command"
- command = [ PluginDir + "/check_libs" ]
- }
|