Modified: trunk/opsview-core/import/opspacks_source/application-opsview-master/config.json
===================================================================
--- trunk/opsview-core/import/opspacks_source/application-opsview-master/config.json 2013-03-18 09:09:07 UTC (rev 11829)
+++ trunk/opsview-core/import/opspacks_source/application-opsview-master/config.json 2013-03-18 09:22:23 UTC (rev 11830)
@@ -50,6 +50,21 @@
"exception" : null,
"name" : "Opsview Updates",
"timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "Opsview DB Connections",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "Opsview DB Performance",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "Opsview DB Status",
+ "timed_exception" : null
}
]
}
@@ -498,6 +513,142 @@
"volatile" : "0",
"warning_comparison" : null,
"warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "--perfdata Connections,Max_used_connections",
+ "attribute" : null,
+ "calculate_rate" : null,
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "Polls MySQL performance data for current / max connections",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "keywords" : [],
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "Opsview DB Connections",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_opsview_mysql_performance"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "Application - Opsview"
+ },
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "--perfdata Com_select,Created_tmp_disk_tables,Created_tmp_tables,Slow_queries,Select_full_join,Select_full_range_join,Select_range_check,Select_scan,Sort_merge_passes,Sort_range,Sort_rows,Sort_scan",
+ "attribute" : null,
+ "calculate_rate" : null,
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "Polls MySQL performance data including slow queries",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "keywords" : [],
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "Opsview DB Performance",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_opsview_mysql_performance"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "Application - Opsview"
+ },
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "",
+ "attribute" : null,
+ "calculate_rate" : null,
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "Checks status of Opsview Configuration database",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "keywords" : [
+ {
+ "name" : "opsview-components"
+ }
+ ],
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "Opsview DB Status",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_opsview_mysql"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "Application - Opsview"
+ },
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
}
],
"servicegroup" : [
Modified: trunk/opsview-core/import/opsview_master.def
===================================================================
--- trunk/opsview-core/import/opsview_master.def 2013-03-18 09:09:07 UTC (rev 11829)
+++ trunk/opsview-core/import/opsview_master.def 2013-03-18 09:22:23 UTC (rev 11830)
@@ -1,33 +1,23 @@
{
"hosttemplates" : [
{
- "ref" : "/rest/config/hosttemplate/3",
"name" : "Network - Base"
},
{
- "ref" : "/rest/config/hosttemplate/4",
"name" : "OS - Unix Base"
},
{
- "ref" : "/rest/config/hosttemplate/9",
- "name" : "Database - MySQL"
- },
- {
- "ref" : "/rest/config/hosttemplate/1",
"name" : "Application - Opsview Common"
},
{
- "ref" : "/rest/config/hosttemplate/7",
"name" : "Application - Opsview Master"
}
],
"keywords" : [
{
- "ref" : "/rest/config/keyword/3",
"name" : "opsview"
},
{
- "ref" : "/rest/config/keyword/1",
"name" : "opsview-components"
}
],
@@ -41,11 +31,5 @@
"arg3" : null
}
],
- "name" : "opsview",
- "servicechecks" : [
- {
- "name" : "MySQL Database Query",
- "remove_servicecheck" : 1
- }
- ]
+ "name" : "opsview"
}