git-svn-id: svn://192.168.202.10@2888 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
object CheckCommand "apache-status2" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_apachestatus.pl" ]
|
||||
arguments = {
|
||||
"-H" = "$web_address$"
|
||||
"-t" = "$web_timeout$"
|
||||
"-w" = "$web_warning$"
|
||||
"-c" = "$web_critical$"
|
||||
}
|
||||
vars.web_address = "$address$"
|
||||
vars.web_timeout = "3"
|
||||
vars.web_warning = "150"
|
||||
vars.web_critical = "100"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
object CheckCommand "asterisk-status" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_ast_chans.pl", "-f" ]
|
||||
arguments = {
|
||||
"-H" = "$ast_address$"
|
||||
"-U" = "$ast_user$"
|
||||
"-P" = "$ast_pass$"
|
||||
"-p" = "$ast_port$";
|
||||
"-t" = "$ast_timeout$"
|
||||
"-w" = "$ast_warning$"
|
||||
"-c" = "$ast_critical$"
|
||||
}
|
||||
vars.ast_address = "$address$"
|
||||
vars.ast_timeout = "3"
|
||||
vars.ast_warning = "475"
|
||||
vars.ast_critical = "500"
|
||||
vars.ast_user = "cron"
|
||||
vars.ast_pass = "1234"
|
||||
vars.ast_port = "5038"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
object CheckCommand "smart-check" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_ide_smart" ]
|
||||
arguments = {
|
||||
"-d" = "$drive_device$"
|
||||
}
|
||||
vars.drive_device = "/dev/sda"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
object CheckCommand "mysql-slavechk" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_mysql", "-S" ]
|
||||
arguments = {
|
||||
"-H" = "$mysqls_address$"
|
||||
"-u" = "$mysqls_user$"
|
||||
"-p" = "$mysqls_pass$"
|
||||
"-P" = "$mysqls_port$"
|
||||
"-w" = "$mysqls_warn$"
|
||||
"-c" = "$mysqls_crit$"
|
||||
}
|
||||
vars.mysqls_address = "$address$"
|
||||
vars.mysqls_user = "nagios"
|
||||
vars.mysqls_pass = "pass4NAGIOS"
|
||||
vars.mysqls_port = "3306"
|
||||
vars.mysqls_warn = "3600"
|
||||
vars.mysqls_crit = "18000"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
object CheckCommand "mysql-stdchk" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_mysql" ]
|
||||
arguments = {
|
||||
"-H" = "$mysql_address$"
|
||||
"-u" = "$mysql_user$"
|
||||
"-p" = "$mysql_pass$"
|
||||
"-P" = "$mysql_port$"
|
||||
}
|
||||
vars.mysql_address = "$address$"
|
||||
vars.mysql_user = "nagios"
|
||||
vars.mysql_pass = "pass4NAGIOS"
|
||||
vars.mysql_port = "3306"
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
object CheckCommand "ntp-check" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_ntp_time" ]
|
||||
arguments = {
|
||||
"-H" = "$ntp_address$"
|
||||
"-w" = "$ntp_warning$"
|
||||
"-c" = "$ntp_critical$"
|
||||
}
|
||||
vars.ntp_address = "$address$"
|
||||
vars.ntp_warning = "2"
|
||||
vars.ntp_critical = "3"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
object CheckCommand "md-raid-stat" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/nagios-linux-swraid.pl" ]
|
||||
arguments = {
|
||||
"--device" = "$raid_device$"
|
||||
}
|
||||
vars.raid_device = "/dev/md0"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
object CheckCommand "sip-check" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_sip" ]
|
||||
arguments = {
|
||||
"-u" = "sip:$sip_address$"
|
||||
"-H" = "$sip_address$"
|
||||
"-p" = "$sip_port$"
|
||||
"-s" = ""
|
||||
}
|
||||
vars.sip_address = "$address$"
|
||||
vars.sip_port = "5060"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
object CheckCommand "snmp-cpu-use" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_snmp_load.pl" ]
|
||||
arguments = {
|
||||
"-H" = "$cpu_address$"
|
||||
"-w" = "$cpu_warning$"
|
||||
"-c" = "$cpu_critical$"
|
||||
"-C" = "public"
|
||||
"-t" = "$cpu_timeout$"
|
||||
"-T" = "stand"
|
||||
"-f" = ""
|
||||
}
|
||||
vars.cpu_address = "$address$"
|
||||
vars.cpu_warning = "80"
|
||||
vars.cpu_critical = "90"
|
||||
vars.cpu_timeout = "3"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
object CheckCommand "snmp-digitemp" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_by_snmp.pl" ]
|
||||
arguments = {
|
||||
"-H" = "$digitemp_address$"
|
||||
"-E" = "digitemp"
|
||||
"-C" = "public"
|
||||
"-t" = "$digitemp_timeout$"
|
||||
}
|
||||
vars.digitemp_address = "$address$"
|
||||
#vars.digitemp_device = "digitemp"
|
||||
vars.digitemp_timeout = "5"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
object CheckCommand "snmp-drive-use" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_snmp_storage.pl", "-S0" ]
|
||||
arguments = {
|
||||
"-H" = "$stor_address$"
|
||||
"-w" = "$stor_warning$"
|
||||
"-c" = "$stor_critical$"
|
||||
"-C" = "public"
|
||||
"-t" = "$stor_timeout$"
|
||||
"-m" = "$stor_directory$"
|
||||
}
|
||||
vars.stor_address = "$address$"
|
||||
vars.stor_warning = "80"
|
||||
vars.stor_critical = "90"
|
||||
vars.stor_timeout = "3"
|
||||
vars.stor_directory = "/"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
object CheckCommand "snmp-mem-chk" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_snmp_mem.pl" ]
|
||||
arguments = {
|
||||
"-H" = "$mem_address$"
|
||||
"-w" = "$mem_wrta$,$mem_wpl$%"
|
||||
"-c" = "$mem_crta$,$mem_cpl$%"
|
||||
"-t" = "$mem_timeout$"
|
||||
"-C" = "public"
|
||||
"-f" = ""
|
||||
}
|
||||
vars.mem_address = "$address$"
|
||||
vars.mem_wrta = 95
|
||||
vars.mem_wpl = 65
|
||||
vars.mem_crta = 99
|
||||
vars.mem_cpl = 80
|
||||
vars.mem_timeout = 3
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
object CheckCommand "snmp-raid-stat" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_by_snmp.pl" ]
|
||||
arguments = {
|
||||
"-H" = "$raid_address$"
|
||||
"-E" = "$raid_device$"
|
||||
"-C" = "public"
|
||||
"-t" = "$raid_timeout$"
|
||||
}
|
||||
vars.raid_address = "$address$"
|
||||
vars.raid_device = "raid-md0"
|
||||
vars.raid_timeout = "3"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
object CheckCommand "snmp-smart" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_by_snmp.pl" ]
|
||||
arguments = {
|
||||
"-H" = "$drive_address$"
|
||||
"-E" = "$drive_device$"
|
||||
"-C" = "public"
|
||||
"-t" = "$drive_timeout$"
|
||||
}
|
||||
vars.drive_address = "$address$"
|
||||
vars.drive_device = "smart-sda"
|
||||
vars.drive_timeout = "3"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
object CheckCommand "http-check" {
|
||||
import "plugin-check-command"
|
||||
command = [ PluginDir + "/check_http" ]
|
||||
arguments = {
|
||||
"-I" = "$web_address$"
|
||||
"-p" = "$web_port$"
|
||||
"-u" = "$web_url$"
|
||||
"-t" = "$web_timeout$"
|
||||
"-w" = "$web_warning$"
|
||||
"-c" = "$web_critical$"
|
||||
}
|
||||
vars.web_address = "$address$"
|
||||
vars.web_timeout = "5"
|
||||
vars.web_warning = "2"
|
||||
vars.web_critical = "3"
|
||||
vars.web_port = "$web_port$"
|
||||
vars.web_url = "$web_uri$"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user