Created
January 18, 2018 12:51
-
-
Save benhartwich/cb0b4e1bb299251688a1005e8376032e to your computer and use it in GitHub Desktop.
Icinga2 Centreon Commands Integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object CheckCommand "centreon-snmp-load" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::linux::snmp::plugin" | |
"--mode" = "load" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
} | |
} | |
object CheckCommand "centreon-snmp-load-win" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::windows::snmp::plugin" | |
"--mode" = "load" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-memory" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::linux::snmp::plugin" | |
"--mode" = "memory" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
} | |
} | |
object CheckCommand "centreon-snmp-memory-win" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::windows::snmp::plugin" | |
"--mode" = "memory" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-swap" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::linux::snmp::plugin" | |
"--mode" = "swap" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
} | |
} | |
object CheckCommand "centreon-snmp-swap-win" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::windows::snmp::plugin" | |
"--mode" = "swap" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-interfaces" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::linux::snmp::plugin" | |
"--mode" = "interfaces" | |
"--hostname" = "$address$" | |
"--name" = "$snmp_interface$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
// "--warning" = "$snmp_warn$" | |
// "--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-interfaces-win" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::windows::snmp::plugin" | |
"--mode" = "interfaces" | |
"--hostname" = "$address$" | |
"--interface" = "$snmp_interface$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
// "--warning" = "$snmp_warn$" | |
// "--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-interfaces-list-win" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::windows::snmp::plugin" | |
"--mode" = "list-interfaces" | |
"--hostname" = "$address$" | |
"--name" = "$snmp_interface$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
// "--warning" = "$snmp_warn$" | |
// "--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-storage" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::linux::snmp::plugin" | |
"--mode" = "storage" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning-usage" = "$snmp_warn$" | |
"--critical-usage" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-storage-win" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::windows::snmp::plugin" | |
"--mode" = "storage" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} | |
object CheckCommand "centreon-snmp-cpu" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::linux::snmp::plugin" | |
"--mode" = "cpu" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
} | |
} | |
object CheckCommand "centreon-snmp-cpu-win" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::windows::snmp::plugin" | |
"--mode" = "cpu" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" | |
"--warning" = "$snmp_warn$" | |
"--critical" = "$snmp_crit$" | |
"--range-perfdata" = "1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment