Title: [opsview] [9526] Re-add from last commit.
Revision
9526
Author
pknight
Date
2012-07-10 17:41:37 +0100 (Tue, 10 Jul 2012)

Log Message

Re-add from last commit.

Modified Paths


Modified: trunk/opsview-core/import/opspacks_source/database-mysql/config.json
===================================================================
--- trunk/opsview-core/import/opspacks_source/database-mysql/config.json	2012-07-10 14:25:22 UTC (rev 9525)
+++ trunk/opsview-core/import/opspacks_source/database-mysql/config.json	2012-07-10 16:41:37 UTC (rev 9526)
@@ -201,6 +201,53 @@
       },
       {
          "alert_from_failure" : "1",
+         "args" : "-H $HOSTADDRESS$ -u USERNAME -p PASSWORD -t mysql -q SQL_QUERY -r 's/MATCH STRING//'",
+         "attribute" : null,
+         "calculate_rate" : null,
+         "cascaded_from" : null,
+         "check_attempts" : "3",
+         "check_freshness" : "0",
+         "check_interval" : "5",
+         "checktype" : {
+            "name" : "Active Plugin",
+            "ref" : "/rest/config/checktype/1"
+         },
+         "critical_comparison" : null,
+         "critical_value" : null,
+         "dependencies" : [],
+         "description" : "Runs pre-defined query against MySQL database",
+         "event_handler" : "",
+         "flap_detection_enabled" : "1",
+         "freshness_type" : "renotify",
+         "invertresults" : "0",
+         "keywords" : [],
+         "label" : null,
+         "level" : 0,
+         "markdown_filter" : "0",
+         "name" : "MySQL Database Query",
+         "notification_interval" : null,
+         "notification_options" : "w,c,r,u,f",
+         "oid" : null,
+         "plugin" : {
+            "name" : "check_sql_advanced",
+            "ref" : "/rest/config/plugin/check_sql_advanced"
+         },
+         "retry_check_interval" : "1",
+         "sensitive_arguments" : "1",
+         "servicegroup" : {
+            "name" : "Database - MySQL",
+            "ref" : "/rest/config/servicegroup/32"
+         },
+         "stale_state" : "0",
+         "stale_text" : "",
+         "stale_threshold_seconds" : "3600",
+         "stalking" : null,
+         "volatile" : "0",
+         "warning_comparison" : null,
+         "warning_value" : null
+      },
+      {
+         "alert_from_failure" : "1",
          "args" : "-H $HOSTADDRESS$ -p 3306 -w 2 -c 5",
          "attribute" : null,
          "calculate_rate" : null,

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to