From fd147702edc55f0898324a8e4638e7c5f6dce7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Porembi=C5=84ski?= Date: Mon, 27 May 2013 13:51:34 +0200 Subject: [PATCH] New templates --- templates/App_APC.xml | 434 ++ templates/App_Mail.xml | 462 ++ templates/App_Memcached.xml | 1245 ++++ templates/App_MySQL.xml | 10112 +++++++++++++++++++++++++++++++++ templates/App_OpenVPN.xml | 126 + templates/App_PostgreSQL.xml | 2443 ++++++++ templates/App_Solr.xml | 85 + templates/App_cPanel.xml | 434 ++ 8 files changed, 15341 insertions(+) create mode 100644 templates/App_APC.xml create mode 100644 templates/App_Mail.xml create mode 100644 templates/App_Memcached.xml create mode 100644 templates/App_MySQL.xml create mode 100644 templates/App_OpenVPN.xml create mode 100644 templates/App_PostgreSQL.xml create mode 100644 templates/App_Solr.xml create mode 100644 templates/App_cPanel.xml diff --git a/templates/App_APC.xml b/templates/App_APC.xml new file mode 100644 index 0000000..73db4fe --- /dev/null +++ b/templates/App_APC.xml @@ -0,0 +1,434 @@ + + + 2.0 + 2013-04-10T14:28:55Z + + + Templates + + + + + + + + {Template App APC:apc[mem.pfree].avg(#3)}<10 + Low APC file cache memory on {HOSTNAME} + + 0 + 3 + + 0 + + + + + + [APC] File Cache Hits Rate + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 1 + 0 + 0 + + + 0 + 1 + 009900 + 0 + 2 + 0 + + Template App APC + apc[hits_ratio] + + + + + + [APC] File Cache Memory Usage + 900 + 200 + 0.0000 + 1.0000 + 0 + 0 + 1 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 990000 + 0 + 2 + 0 + + Template App APC + apc[mem.used] + + + + 1 + 0 + 009900 + 0 + 2 + 0 + + Template App APC + apc[mem.avail] + + + + + + diff --git a/templates/App_Mail.xml b/templates/App_Mail.xml new file mode 100644 index 0000000..e691017 --- /dev/null +++ b/templates/App_Mail.xml @@ -0,0 +1,462 @@ + + + 2.0 + 2013-04-10T14:28:44Z + + + Templates + + + + + + + + {Template App Mail:net.tcp.service[imap].sum(#3)}=0 + IMAP service is down on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App Mail:proc.num[opendkim].last(0)}=0 + OpenDKIM service is down on {HOSTNAME} + + 0 + 2 + + 0 + + + + {Template App Mail:net.tcp.service[pop].sum(#3)}=0 + POP3 service is down on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App Mail:proc.num[amavisd].last(0)}=0 + Service amavis is not running on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App Mail:proc.num[clamd].last(0)}=0 + Service clamd (clamav) is not running on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App Mail:proc.num[spamd child].last(0)}<2 + Service spamd is not running on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App Mail:net.tcp.service[smtp].sum(#3)}=0 + SMTP service is down on {HOSTNAME} + + 0 + 3 + + 0 + + + + + + Number of Mails in queue + 900 + 200 + 0.0000 + 100.0000 + 1 + 0 + 0 + 0 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 5 + C80000 + 0 + 2 + 0 + + Template App Mail + mailqueue + + + + + + diff --git a/templates/App_Memcached.xml b/templates/App_Memcached.xml new file mode 100644 index 0000000..6a40ad1 --- /dev/null +++ b/templates/App_Memcached.xml @@ -0,0 +1,1245 @@ + + + 2.0 + 2013-04-10T14:28:41Z + + + Templates + + + + + + + + {Template App Memcached:net.tcp.service[tcp,,11211].last(0)}=0 + Memcache service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + + + Connections per second + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[total_connections] + + + + + + Current items + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[curr_items] + + + + + + Current open connections + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[curr_connections] + + + + + + Evictions + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 990000 + 0 + 2 + 0 + + Template App Memcached + memcache[evictions] + + + + + + Items per second + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[total_items] + + + + + + Network traffic + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[bytes_read] + + + + 1 + 2 + 990000 + 0 + 2 + 0 + + Template App Memcached + memcache[bytes_written] + + + + + + Requests per second + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[cmd_get] + + + + 1 + 2 + 990000 + 0 + 2 + 0 + + Template App Memcached + memcache[cmd_set] + + + + + + Resource usage + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[rusage_user] + + + + 1 + 2 + 000099 + 0 + 2 + 0 + + Template App Memcached + memcache[rusage_system] + + + + + + Retrieval hit and miss per second + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 2 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[get_hits] + + + + 1 + 2 + 990000 + 0 + 2 + 0 + + Template App Memcached + memcache[get_misses] + + + + + + Storage usage + 900 + 200 + 0.0000 + 0.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 0 + 0 + 0 + + + 0 + 1 + 009900 + 0 + 2 + 0 + + Template App Memcached + memcache[limit_maxbytes] + + + + 1 + 1 + 990000 + 0 + 2 + 0 + + Template App Memcached + memcache[bytes] + + + + + + diff --git a/templates/App_MySQL.xml b/templates/App_MySQL.xml new file mode 100644 index 0000000..fcce0b6 --- /dev/null +++ b/templates/App_MySQL.xml @@ -0,0 +1,10112 @@ + + + 2.0 + 2013-04-10T14:28:37Z + + + Templates + + + + + + + + {Template App MySQL:mysql.innodb_lock_structs.delta(300)}>30 + InnoDB lock structures more than 30 in 5m on {HOSTNAME} + + 0 + 2 + + 0 + + + + {Template App MySQL:mysql.uncheckpointed_bytes.delta(600)}>25M + InnoDB uncheckpointed bytes in the last 10m > 25MB on {HOSTNAME} + + 0 + 2 + + 0 + + + + {Template App MySQL:mysql.Threads_connected.last(0)}>500 + More than 500 threads on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App MySQL:proc.num[mysqld].last(0)}=0 + Mysql is not running on {HOSTNAME} + + 0 + 5 + + 0 + + + + {Template App MySQL:mysql.connection.last(0)}>300 + Mysql too many connections {HOSTNAME} + + 0 + 4 + + 0 + + + + {Template App MySQL:mysql.Table_locks_waited.min(300)}>20 + Server {HOSTNAME} is waiting on table locks + + 0 + 3 + + 0 + + + + ({TRIGGER.VALUE}=0&{Template App MySQL:mysql.State_copying_to_tmp_table.count(360,1,"ge")}>2)|({TRIGGER.VALUE}=1&{Template App MySQL:mysql.State_copying_to_tmp_table.count(360,1,"ge")}>0) + Thread in state Copying_to_tmp_table for more than 6min on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App MySQL:mysql.version.diff(0)}>0 + Version of MySQL was changed on {HOSTNAME} + + 0 + 1 + + 0 + + + + + + InnoDB Active/Locked Transactions + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + C0C0C0 + 1 + 2 + 0 + + Template App MySQL + mysql.active_transactions + + + + 0 + 0 + FF0000 + 1 + 2 + 0 + + Template App MySQL + mysql.locked_transactions + + + + + + InnoDB Adaptive Hash Index + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + D9C7A3 + 1 + 2 + 0 + + Template App MySQL + mysql.hash_index_cells_used + + + + 0 + 1 + 0C4E5D + 1 + 2 + 0 + + Template App MySQL + mysql.hash_index_cells_total + + + + + + InnoDB Buffer Pool + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 3D1500 + 1 + 2 + 0 + + Template App MySQL + mysql.setting.pool_size + + + + 0 + 5 + AA3B27 + 1 + 2 + 0 + + Template App MySQL + mysql.free_pages + + + + 0 + 1 + EDAA41 + 1 + 2 + 0 + + Template App MySQL + mysql.database_pages + + + + 0 + 0 + 13343B + 1 + 2 + 0 + + Template App MySQL + mysql.modified_pages + + + + + + InnoDB Buffer Pool Activity + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + E6D883 + 1 + 2 + 0 + + Template App MySQL + mysql.pages_read + + + + 0 + 1 + D6883A + 1 + 2 + 0 + + Template App MySQL + mysql.pages_created + + + + 0 + 1 + 55AD84 + 1 + 2 + 0 + + Template App MySQL + mysql.pages_written + + + + + + InnoDB Checkpoint Age + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 661100 + 1 + 2 + 0 + + Template App MySQL + mysql.uncheckpointed_bytes + + + + + + InnoDB Current Lock Waits + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 201A33 + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_lock_wait_secs + + + + + + InnoDB I/O + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 0ABFCC + 1 + 2 + 0 + + Template App MySQL + mysql.file_fsyncs + + + + 0 + 0 + 402204 + 1 + 2 + 0 + + Template App MySQL + mysql.file_reads + + + + 0 + 0 + B3092B + 1 + 2 + 0 + + Template App MySQL + mysql.file_writes + + + + 0 + 0 + FFBF00 + 1 + 2 + 0 + + Template App MySQL + mysql.log_writes + + + + + + InnoDB I/O Pending + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 4444FF + 1 + 2 + 0 + + Template App MySQL + mysql.pending_log_flushes + + + + 0 + 0 + FFF200 + 1 + 2 + 0 + + Template App MySQL + mysql.pending_buf_pool_flushes + + + + 0 + 0 + FF7D00 + 1 + 2 + 0 + + Template App MySQL + mysql.pending_aio_sync_ios + + + + 0 + 0 + 8F9286 + 1 + 2 + 0 + + Template App MySQL + mysql.pending_normal_aio_writes + + + + 0 + 0 + 00A348 + 1 + 2 + 0 + + Template App MySQL + mysql.pending_chkp_writes + + + + 0 + 0 + 6DC8FE + 1 + 2 + 0 + + Template App MySQL + mysql.pending_ibuf_aio_reads + + + + 0 + 0 + B90054 + 1 + 2 + 0 + + Template App MySQL + mysql.pending_normal_aio_reads + + + + 0 + 0 + FF0000 + 1 + 2 + 0 + + Template App MySQL + mysql.pending_aio_log_ios + + + + 0 + 0 + 55009D + 1 + 2 + 0 + + Template App MySQL + mysql.pending_log_writes + + + + + + InnoDB Insert Buffer + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 862F2F + 1 + 2 + 0 + + Template App MySQL + mysql.ibuf_merges + + + + 0 + 0 + 157419 + 1 + 2 + 0 + + Template App MySQL + mysql.ibuf_inserts + + + + 0 + 0 + 0000FF + 1 + 2 + 0 + + Template App MySQL + mysql.ibuf_merged + + + + + + InnoDB Insert Buffer Usage + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 793A57 + 1 + 2 + 0 + + Template App MySQL + mysql.ibuf_cell_count + + + + 0 + 1 + 8C873E + 1 + 2 + 0 + + Template App MySQL + mysql.ibuf_used_cells + + + + 0 + 5 + A38A5F + 1 + 2 + 0 + + Template App MySQL + mysql.ibuf_free_cells + + + + + + InnoDB Internal Hash Memory Usage + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + A38A5F + 1 + 2 + 0 + + Template App MySQL + mysql.lock_system_memory + + + + 0 + 5 + 8C873E + 1 + 2 + 0 + + Template App MySQL + mysql.page_hash_memory + + + + 0 + 5 + 23B0BA + 1 + 2 + 0 + + Template App MySQL + mysql.thread_hash_memory + + + + 0 + 5 + E97F02 + 1 + 2 + 0 + + Template App MySQL + mysql.recovery_system_memory + + + + 0 + 1 + 793A57 + 1 + 2 + 0 + + Template App MySQL + mysql.adaptive_hash_memory + + + + 0 + 5 + 4D3339 + 1 + 2 + 0 + + Template App MySQL + mysql.file_system_memory + + + + 0 + 5 + D1C5A5 + 1 + 2 + 0 + + Template App MySQL + mysql.dictionary_cache_memory + + + + + + InnoDB Lock Structures + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 0C4E5D + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_lock_structs + + + + + + InnoDB Log + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + AFECED + 1 + 2 + 0 + + Template App MySQL + mysql.unflushed_log + + + + 0 + 1 + 5B8257 + 1 + 2 + 0 + + Template App MySQL + mysql.log_bytes_written + + + + 0 + 0 + AB4253 + 1 + 2 + 0 + + Template App MySQL + mysql.log_bytes_flushed + + + + 0 + 1 + 6E3803 + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_log_buffer_size + + + + + + InnoDB Memory Allocation + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 53777A + 1 + 2 + 0 + + Template App MySQL + mysql.total_mem_alloc + + + + 0 + 0 + C02942 + 1 + 2 + 0 + + Template App MySQL + mysql.additional_pool_alloc + + + + + + InnoDB Row Lock Time + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + B11D03 + 1 + 2 + 0 + + Template App MySQL + mysql.Innodb_row_lock_time + + + + + + InnoDB Row Lock Waits + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + E84A5F + 1 + 2 + 0 + + Template App MySQL + mysql.Innodb_row_lock_waits + + + + + + InnoDB Row Operations + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + AFECED + 1 + 2 + 0 + + Template App MySQL + mysql.rows_read + + + + 0 + 5 + EA8F00 + 1 + 2 + 0 + + Template App MySQL + mysql.rows_updated + + + + 0 + 5 + 35962B + 1 + 2 + 0 + + Template App MySQL + mysql.rows_inserted + + + + 0 + 5 + DA4725 + 1 + 2 + 0 + + Template App MySQL + mysql.rows_deleted + + + + + + InnoDB Semaphores + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 4444FF + 1 + 2 + 0 + + Template App MySQL + mysql.spin_waits + + + + 0 + 0 + 157419 + 1 + 2 + 0 + + Template App MySQL + mysql.os_waits + + + + 0 + 0 + 306078 + 1 + 2 + 0 + + Template App MySQL + mysql.spin_rounds + + + + + + InnoDB Semaphore Waits + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 7020AF + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_sem_waits + + + + + + InnoDB Semaphore Wait Time + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 708226 + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_sem_wait_time_ms + + + + + + InnoDB Tables In Use + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 663344 + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_locked_tables + + + + 0 + 1 + D99362 + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_tables_in_use + + + + + + InnoDB Transactions + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 8F005C + 1 + 2 + 0 + + Template App MySQL + mysql.innodb_transactions + + + + 0 + 0 + 74C366 + 1 + 2 + 0 + + Template App MySQL + mysql.read_views + + + + 0 + 0 + 4444FF + 1 + 2 + 0 + + Template App MySQL + mysql.current_transactions + + + + 0 + 0 + FF7D00 + 1 + 2 + 0 + + Template App MySQL + mysql.history_list + + + + + + MyISAM Indexes + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 157419 + 1 + 2 + 0 + + Template App MySQL + mysql.Key_read_requests + + + + 0 + 0 + AFECED + 1 + 2 + 0 + + Template App MySQL + mysql.Key_reads + + + + 0 + 0 + F51D30 + 1 + 2 + 0 + + Template App MySQL + mysql.Key_writes + + + + 0 + 1 + 862F2F + 1 + 2 + 0 + + Template App MySQL + mysql.Key_write_requests + + + + + + MyISAM Key Cache + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + FECEA8 + 1 + 2 + 0 + + Template App MySQL + mysql.Key_buf_bytes_unflushed + + + + 0 + 1 + 99B898 + 1 + 2 + 0 + + Template App MySQL + mysql.setting.key_buffer_size + + + + 0 + 1 + 2A363B + 1 + 2 + 0 + + Template App MySQL + mysql.Key_buf_bytes_used + + + + + + MySQL bandwidth + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + 00AA00 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Bytes_received] + + + + 1 + 5 + 3333FF + 0 + 2 + 0 + + Template App MySQL + mysql.status[Bytes_sent] + + + + + + MySQL Binary/Relay Logs + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 8F005C + 1 + 2 + 0 + + Template App MySQL + mysql.relay_log_space + + + + 0 + 0 + 35962B + 1 + 2 + 0 + + Template App MySQL + mysql.Binlog_cache_use + + + + 0 + 0 + FF0000 + 1 + 2 + 0 + + Template App MySQL + mysql.Binlog_cache_disk_use + + + + 0 + 0 + 8D00BA + 1 + 2 + 0 + + Template App MySQL + mysql.binary_log_space + + + + + + MySQL Command Counters + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + D8ACE0 + 1 + 2 + 0 + + Template App MySQL + mysql.Com_update_multi + + + + 0 + 1 + FFC3C0 + 1 + 2 + 0 + + Template App MySQL + mysql.Questions + + + + 0 + 5 + 00B99B + 1 + 2 + 0 + + Template App MySQL + mysql.Com_replace_select + + + + 0 + 5 + 2175D9 + 1 + 2 + 0 + + Template App MySQL + mysql.Com_replace + + + + 0 + 5 + FFF200 + 1 + 2 + 0 + + Template App MySQL + mysql.Com_insert + + + + 0 + 5 + FF7D00 + 1 + 2 + 0 + + Template App MySQL + mysql.Com_delete + + + + 0 + 1 + FF0000 + 1 + 2 + 0 + + Template App MySQL + mysql.Com_select + + + + 0 + 5 + 00CF00 + 1 + 2 + 0 + + Template App MySQL + mysql.Com_update + + + + 0 + 5 + 942D0C + 1 + 2 + 0 + + Template App MySQL + mysql.Com_delete_multi + + + + 0 + 5 + 55009D + 1 + 2 + 0 + + Template App MySQL + mysql.Com_load + + + + 0 + 5 + AAABA1 + 1 + 2 + 0 + + Template App MySQL + mysql.Com_insert_select + + + + + + MySQL Connections + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + FF7D00 + 1 + 2 + 0 + + Template App MySQL + mysql.Threads_connected + + + + 0 + 1 + C0C0C0 + 1 + 2 + 0 + + Template App MySQL + mysql.setting.max_connections + + + + 0 + 0 + FF3932 + 1 + 2 + 0 + + Template App MySQL + mysql.Aborted_clients + + + + 0 + 0 + 4444FF + 1 + 2 + 0 + + Template App MySQL + mysql.Connections + + + + 0 + 0 + 00FF00 + 1 + 2 + 0 + + Template App MySQL + mysql.Aborted_connects + + + + 0 + 1 + FFD660 + 1 + 2 + 0 + + Template App MySQL + mysql.Max_used_connections + + + + + + MySQL Files and Tables + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + DE0056 + 1 + 2 + 0 + + Template App MySQL + mysql.Opened_tables + + + + 0 + 0 + 4A6959 + 1 + 2 + 0 + + Template App MySQL + mysql.Open_tables + + + + 0 + 0 + 1D1159 + 1 + 2 + 0 + + Template App MySQL + mysql.Open_files + + + + 0 + 1 + D09887 + 1 + 2 + 0 + + Template App MySQL + mysql.setting.table_cache + + + + + + MySQL Handlers + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + C02942 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_read_next + + + + 0 + 5 + 8C286E + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_read_first + + + + 0 + 5 + BDB8B3 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_delete + + + + 0 + 5 + BAB27F + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_read_key + + + + 0 + 5 + 5A3D31 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_read_rnd + + + + 0 + 5 + 69D2E7 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_read_rnd_next + + + + 0 + 5 + FA6900 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_read_prev + + + + 0 + 1 + 4D4A47 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_write + + + + 0 + 5 + C79F71 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_update + + + + + + MySQL Network Traffic + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 4B2744 + 1 + 2 + 0 + + Template App MySQL + mysql.Bytes_sent + + + + 0 + 1 + E4C576 + 1 + 2 + 0 + + Template App MySQL + mysql.Bytes_received + + + + + + MySQL operations + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + C80000 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Com_begin] + + + + 1 + 0 + 00C800 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Com_commit] + + + + 2 + 0 + 0000C8 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Com_delete] + + + + 3 + 0 + C800C8 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Com_insert] + + + + 4 + 0 + 00C8C8 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Com_rollback] + + + + 5 + 0 + C8C800 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Com_select] + + + + 6 + 0 + C8C8C8 + 0 + 2 + 0 + + Template App MySQL + mysql.status[Com_update] + + + + + + MySQL Processlist + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + D1642E + 1 + 2 + 0 + + Template App MySQL + mysql.State_end + + + + 0 + 5 + 54382A + 1 + 2 + 0 + + Template App MySQL + mysql.State_sending_data + + + + 0 + 5 + DE0056 + 1 + 2 + 0 + + Template App MySQL + mysql.State_locked + + + + 0 + 5 + 907890 + 1 + 2 + 0 + + Template App MySQL + mysql.State_init + + + + 0 + 5 + B56414 + 1 + 2 + 0 + + Template App MySQL + mysql.State_updating + + + + 0 + 5 + FF7F00 + 1 + 2 + 0 + + Template App MySQL + mysql.State_reading_from_net + + + + 0 + 5 + 487860 + 1 + 2 + 0 + + Template App MySQL + mysql.State_freeing_items + + + + 0 + 5 + B83A04 + 1 + 2 + 0 + + Template App MySQL + mysql.State_sorting_result + + + + 0 + 5 + 521808 + 1 + 2 + 0 + + Template App MySQL + mysql.State_none + + + + 0 + 5 + 6E3803 + 1 + 2 + 0 + + Template App MySQL + mysql.State_statistics + + + + 0 + 5 + 783030 + 1 + 2 + 0 + + Template App MySQL + mysql.State_preparing + + + + 0 + 5 + 1693A7 + 1 + 2 + 0 + + Template App MySQL + mysql.State_login + + + + 0 + 5 + 194240 + 1 + 2 + 0 + + Template App MySQL + mysql.State_other + + + + 0 + 5 + 784890 + 1 + 2 + 0 + + Template App MySQL + mysql.State_copying_to_tmp_table + + + + 0 + 1 + DE0056 + 1 + 2 + 0 + + Template App MySQL + mysql.State_closing_tables + + + + 0 + 5 + 6E645A + 1 + 2 + 0 + + Template App MySQL + mysql.State_writing_to_net + + + + + + MySQL QPS + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 009900 + 0 + 2 + 0 + + Template App MySQL + mysql.qps + + + + + + MySQL Query Cache + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 4444FF + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_queries_in_cache + + + + 0 + 0 + 00A0C1 + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_not_cached + + + + 0 + 0 + FF0000 + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_lowmem_prunes + + + + 0 + 0 + 157419 + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_inserts + + + + 0 + 2 + EAAF00 + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_hits + + + + + + MySQL Query Cache Memory + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 8D00BA + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_total_blocks + + + + 0 + 0 + 837C04 + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_free_blocks + + + + 0 + 1 + FFC3C0 + 1 + 2 + 0 + + Template App MySQL + mysql.Qcache_free_memory + + + + 0 + 1 + 74C366 + 1 + 2 + 0 + + Template App MySQL + mysql.setting.query_cache_size + + + + + + MySQL Select Types + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 5 + 13343B + 1 + 2 + 0 + + Template App MySQL + mysql.Select_range_check + + + + 0 + 5 + AA3B27 + 1 + 2 + 0 + + Template App MySQL + mysql.Select_full_range_join + + + + 0 + 5 + EDAA41 + 1 + 2 + 0 + + Template App MySQL + mysql.Select_range + + + + 0 + 1 + 3D1500 + 1 + 2 + 0 + + Template App MySQL + mysql.Select_full_join + + + + 0 + 5 + 686240 + 1 + 2 + 0 + + Template App MySQL + mysql.Select_scan + + + + + + MySQL Sorts + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 157419 + 1 + 2 + 0 + + Template App MySQL + mysql.Sort_range + + + + 0 + 1 + FFAB00 + 1 + 2 + 0 + + Template App MySQL + mysql.Sort_rows + + + + 0 + 0 + 4444FF + 1 + 2 + 0 + + Template App MySQL + mysql.Sort_scan + + + + 0 + 0 + DA4725 + 1 + 2 + 0 + + Template App MySQL + mysql.Sort_merge_passes + + + + + + MySQL Table Locks + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 002A8F + 1 + 2 + 0 + + Template App MySQL + mysql.Table_locks_immediate + + + + 0 + 1 + D2D8F9 + 1 + 2 + 0 + + Template App MySQL + mysql.Table_locks_immediate + + + + 0 + 1 + FF3932 + 1 + 2 + 0 + + Template App MySQL + mysql.Table_locks_waited + + + + 0 + 0 + 35962B + 1 + 2 + 0 + + Template App MySQL + mysql.Slow_queries + + + + + + MySQL Temporary Objects + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + 157419 + 1 + 2 + 0 + + Template App MySQL + mysql.Created_tmp_files + + + + 0 + 0 + F51D30 + 1 + 2 + 0 + + Template App MySQL + mysql.Created_tmp_disk_tables + + + + 0 + 0 + 837C04 + 1 + 2 + 0 + + Template App MySQL + mysql.Created_tmp_tables + + + + 0 + 1 + FFAB00 + 1 + 2 + 0 + + Template App MySQL + mysql.Created_tmp_tables + + + + + + MySQL Threads + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 2 + DE0056 + 1 + 2 + 0 + + Template App MySQL + mysql.Threads_created + + + + 0 + 1 + D8ACE0 + 1 + 2 + 0 + + Template App MySQL + mysql.setting.thread_cache_size + + + + + + MySQL Transaction Handler + 800 + 150 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 784890 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_rollback + + + + 0 + 0 + D1642E + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_savepoint + + + + 0 + 0 + DE0056 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_commit + + + + 0 + 0 + 487860 + 1 + 2 + 0 + + Template App MySQL + mysql.Handler_savepoint_rollback + + + + + + diff --git a/templates/App_OpenVPN.xml b/templates/App_OpenVPN.xml new file mode 100644 index 0000000..fd0df57 --- /dev/null +++ b/templates/App_OpenVPN.xml @@ -0,0 +1,126 @@ + + + 2.0 + 2013-04-10T14:27:54Z + + + Templates + + + + + + + + {Template App OpenVPN:net.tcp.service[tcp,,1194].sum(#3)}=0 | {Template App OpenVPN:net.tcp.service[tcp,,443].sum(#3)}=0 + OpenVPN service is down on {HOSTNAME} + + 0 + 3 + + 0 + + + + diff --git a/templates/App_PostgreSQL.xml b/templates/App_PostgreSQL.xml new file mode 100644 index 0000000..5f89d3a --- /dev/null +++ b/templates/App_PostgreSQL.xml @@ -0,0 +1,2443 @@ + + + 2.0 + 2013-04-10T14:27:52Z + + + Templates + + + + + + + + {Template App PostgreSQL:psql.db_connections.last(0)}>300 + Heavy PostgreSQL database use on {HOSTNAME} + + 0 + 3 + + 0 + + + + {Template App PostgreSQL:proc.num[postmaster,postgres].last(0)}=0 + Service PostgreSQL is not running on {HOSTNAME} + + 0 + 5 + + 0 + + + + {Template App PostgreSQL:psql.version.diff(0)}>0 + Version of PostgreSQL server(d) was changed on {HOSTNAME} + + 0 + 1 + + 0 + + + + + + PostgreSQL connections (active) + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + C80000 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_connections + + + + + + PostgreSQL database size + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + C80000 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_size + + + + + + PostgreSQL transactions (main db) + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 00AA00 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_commited + + + + 1 + 1 + EE0000 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_rolledback + + + + + + PostgreSQL transactions (total) + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 1 + 00AA00 + 0 + 2 + 0 + + Template App PostgreSQL + psql.tx_commited + + + + 1 + 1 + AA0000 + 0 + 2 + 0 + + Template App PostgreSQL + psql.tx_rolledback + + + + + + PostgreSQL tuples statistics + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + C80000 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_deleted + + + + 1 + 0 + 00C800 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_fetched + + + + 2 + 0 + 0000C8 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_inserted + + + + 3 + 0 + C800C8 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_returned + + + + 4 + 0 + 00C8C8 + 0 + 2 + 0 + + Template App PostgreSQL + psql.db_updated + + + + + + diff --git a/templates/App_Solr.xml b/templates/App_Solr.xml new file mode 100644 index 0000000..4473fea --- /dev/null +++ b/templates/App_Solr.xml @@ -0,0 +1,85 @@ + + + 2.0 + 2013-04-10T14:27:49Z + + + Templates + + + + + + + + {Template App Solr:net.tcp.service[tcp,,8983].sum(#3)}=0 + Solr service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + diff --git a/templates/App_cPanel.xml b/templates/App_cPanel.xml new file mode 100644 index 0000000..c63a837 --- /dev/null +++ b/templates/App_cPanel.xml @@ -0,0 +1,434 @@ + + + 2.0 + 2013-04-10T14:28:53Z + + + Templates + + + + + + + + {Template App cPanel:net.tcp.listen[2082].sum(#3)}=0 + cPanel service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + {Template App cPanel:net.tcp.listen[2083].sum(#3)}=0 + cPanel SSL service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + {Template App cPanel:net.tcp.listen[2086].sum(#3)}=0 + WebHost Manager service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + {Template App cPanel:net.tcp.listen[2087].sum(#3)}=0 + WebHost Manager SSL service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + {Template App cPanel:net.tcp.listen[2095].sum(#3)}=0 + Web mail service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + {Template App cPanel:net.tcp.listen[2096].sum(#3)}=0 + Web mail SSL service is down on {HOSTNAME} + + 0 + 4 + + 0 + + + + + + cPanel service statuses + 900 + 200 + 0.0000 + 100.0000 + 0 + 0 + 1 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + C80000 + 0 + 2 + 0 + + Template App cPanel + net.tcp.listen[2082] + + + + 1 + 0 + 00C800 + 0 + 2 + 0 + + Template App cPanel + net.tcp.listen[2083] + + + + 2 + 0 + 0000C8 + 0 + 2 + 0 + + Template App cPanel + net.tcp.listen[2086] + + + + 3 + 0 + C800C8 + 0 + 2 + 0 + + Template App cPanel + net.tcp.listen[2087] + + + + 4 + 0 + 00C8C8 + 0 + 2 + 0 + + Template App cPanel + net.tcp.listen[2095] + + + + 5 + 0 + C8C800 + 0 + 2 + 0 + + Template App cPanel + net.tcp.listen[2096] + + + + + +