new templates and scripts
This commit is contained in:
parent
d57113ae10
commit
b1ea93db6e
@ -1,6 +1,11 @@
|
|||||||
zabbix
|
zabbix
|
||||||
======
|
======
|
||||||
Script and templates for Zabbix 2.0.x.
|
Script and templates for Zabbix 2.2.x.
|
||||||
|
|
||||||
|
- In /bin you will find bash/perl/php scripts used by some User Parameters (need to be installed on agent)
|
||||||
|
- In Templates there are XML files ready to import using Zabbix GUI
|
||||||
|
- In zabbix_agentd.conf.d there are custom User Parameters (need to be installed on agent)
|
||||||
|
|
||||||
Please let us know if you have any questions or concerns.
|
Please let us know if you have any questions or concerns.
|
||||||
The Camels
|
|
||||||
|
The Camels Team
|
87
bin/apc-check.php
Normal file
87
bin/apc-check.php
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$item = $argv[1];
|
||||||
|
|
||||||
|
function file_get_contents_curl($url) {
|
||||||
|
$ch = curl_init();
|
||||||
|
|
||||||
|
curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
|
||||||
|
curl_setopt($ch, CURLOPT_HEADER, 0);
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||||
|
curl_setopt($ch, CURLOPT_URL, 'http://127.0.0.1/apc-stats.php?apc=' . $url);
|
||||||
|
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
|
||||||
|
|
||||||
|
$data = curl_exec($ch);
|
||||||
|
curl_close($ch);
|
||||||
|
|
||||||
|
return $data;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch($item) {
|
||||||
|
case 'mem.used':
|
||||||
|
$results = file_get_contents_curl("sma_info");
|
||||||
|
if ($results) {
|
||||||
|
$results = unserialize($results);
|
||||||
|
echo $results["seg_size"] * $results["num_seg"] - $results["avail_mem"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
case 'mem.avail':
|
||||||
|
$results = file_get_contents_curl("sma_info");
|
||||||
|
if ($results) {
|
||||||
|
$results = unserialize($results);
|
||||||
|
echo $results["avail_mem"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
case 'hits':
|
||||||
|
$results = file_get_contents_curl("cache_info");
|
||||||
|
if ($results) {
|
||||||
|
$results = unserialize($results);
|
||||||
|
echo $results["num_hits"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
case 'misses':
|
||||||
|
$results = file_get_contents_curl("cache_info");
|
||||||
|
if ($results) {
|
||||||
|
$results = unserialize($results);
|
||||||
|
echo $results["num_misses"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
case 'hits_ratio':
|
||||||
|
$results = file_get_contents_curl("cache_info");
|
||||||
|
if ($results) {
|
||||||
|
$results = unserialize($results);
|
||||||
|
echo ($results["num_hits"] / ($results["num_hits"] - $results["num_misses"]))*100;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
case 'entries':
|
||||||
|
$results = file_get_contents_curl("cache_info");
|
||||||
|
if ($results) {
|
||||||
|
$results = unserialize($results);
|
||||||
|
echo $results["num_entries"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
case 'user.entries':
|
||||||
|
$results = file_get_contents_curl("user_cache_info");
|
||||||
|
if ($results) {
|
||||||
|
$results = unserialize($results);
|
||||||
|
echo $results["num_entries"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
?>
|
17
bin/apc-stats.php
Normal file
17
bin/apc-stats.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
if ($_SERVER["REMOTE_ADDR"] == "127.0.0.1") {
|
||||||
|
switch($_GET['apc']) {
|
||||||
|
case 'cache_info':
|
||||||
|
print(serialize(apc_cache_info('',true)));
|
||||||
|
break;
|
||||||
|
case 'sma_info':
|
||||||
|
print(serialize(apc_sma_info()));
|
||||||
|
break;
|
||||||
|
case 'user_cache_info':
|
||||||
|
print(serialize(apc_cache_info('user',true)));
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
146
bin/opcache.php
Normal file
146
bin/opcache.php
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if ($_SERVER['SERVER_ADDR'] != $_SERVER['REMOTE_ADDR']){
|
||||||
|
header('HTTP/1.1 401 Unauthorized', true, 401);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
$configuration = opcache_get_configuration();
|
||||||
|
$status = opcache_get_status(FALSE);
|
||||||
|
|
||||||
|
switch($_GET['item']) {
|
||||||
|
// CONFIGURATION
|
||||||
|
case 'version':
|
||||||
|
print($configuration['version']['version']);
|
||||||
|
break;
|
||||||
|
case 'enable':
|
||||||
|
print($configuration['directives']['opcache.enable']);
|
||||||
|
break;
|
||||||
|
case 'enable_cli':
|
||||||
|
print($configuration['directives']['opcache.enable_cli']);
|
||||||
|
break;
|
||||||
|
case 'use_cwd':
|
||||||
|
print($configuration['directives']['opcache.use_cwd']);
|
||||||
|
break;
|
||||||
|
case 'validate_timestamps':
|
||||||
|
print($configuration['directives']['opcache.validate_timestamps']);
|
||||||
|
break;
|
||||||
|
case 'inherited_hack':
|
||||||
|
print($configuration['directives']['opcache.inherited_hack']);
|
||||||
|
break;
|
||||||
|
case 'dups_fix':
|
||||||
|
print(($configuration['directives']['opcache.dups_fix'] ? 1 : 0));
|
||||||
|
break;
|
||||||
|
case 'revalidate_path':
|
||||||
|
print(($configuration['directives']['opcache.revalidate_path'] ? 1 : 0));
|
||||||
|
break;
|
||||||
|
case 'log_verbosity_level':
|
||||||
|
print($configuration['directives']['opcache.log_verbosity_level']);
|
||||||
|
break;
|
||||||
|
case 'memory_consumption':
|
||||||
|
print($configuration['directives']['opcache.memory_consumption']);
|
||||||
|
break;
|
||||||
|
case 'interned_strings_buffer':
|
||||||
|
print($configuration['directives']['opcache.interned_strings_buffer']);
|
||||||
|
break;
|
||||||
|
case 'max_accelerated_files':
|
||||||
|
print($configuration['directives']['opcache.max_accelerated_files']);
|
||||||
|
break;
|
||||||
|
case 'max_wasted_percentage':
|
||||||
|
print($configuration['directives']['opcache.max_wasted_percentage']);
|
||||||
|
break;
|
||||||
|
case 'consistency_checks':
|
||||||
|
print($configuration['directives']['opcache.consistency_checks']);
|
||||||
|
break;
|
||||||
|
case 'force_restart_timeout':
|
||||||
|
print($configuration['directives']['opcache.force_restart_timeout']);
|
||||||
|
break;
|
||||||
|
case 'revalidate_freq':
|
||||||
|
print($configuration['directives']['opcache.revalidate_freq']);
|
||||||
|
break;
|
||||||
|
case 'max_file_size':
|
||||||
|
print($configuration['directives']['opcache.max_file_size']);
|
||||||
|
break;
|
||||||
|
case 'protect_memory':
|
||||||
|
print(($configuration['directives']['opcache.protect_memory'] ? 1 : 0));
|
||||||
|
break;
|
||||||
|
case 'save_comments':
|
||||||
|
print($configuration['directives']['opcache.save_comments']);
|
||||||
|
break;
|
||||||
|
case 'load_comments':
|
||||||
|
print($configuration['directives']['opcache.load_comments']);
|
||||||
|
break;
|
||||||
|
case 'fast_shutdown':
|
||||||
|
print($configuration['directives']['opcache.fast_shutdown']);
|
||||||
|
break;
|
||||||
|
case 'enable_file_override':
|
||||||
|
print(($configuration['directives']['opcache.enable_file_override'] ? 1 : 0));
|
||||||
|
break;
|
||||||
|
case 'optimization_level':
|
||||||
|
print($configuration['directives']['opcache.optimization_level']);
|
||||||
|
break;
|
||||||
|
|
||||||
|
// STATUS
|
||||||
|
case 'used_memory':
|
||||||
|
print($status['memory_usage']['used_memory']);
|
||||||
|
break;
|
||||||
|
case 'free_memory':
|
||||||
|
print($status['memory_usage']['free_memory']);
|
||||||
|
break;
|
||||||
|
case 'wasted_memory':
|
||||||
|
print($status['memory_usage']['wasted_memory']);
|
||||||
|
break;
|
||||||
|
case 'current_wasted_percentage':
|
||||||
|
print($status['memory_usage']['current_wasted_percentage']);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'buffer_size':
|
||||||
|
print($status['interned_strings_usage']['buffer_size']);
|
||||||
|
break;
|
||||||
|
case 'isu.used_memory':
|
||||||
|
print($status['interned_strings_usage']['used_memory']);
|
||||||
|
break;
|
||||||
|
case 'isu.free_memory':
|
||||||
|
print($status['interned_strings_usage']['free_memory']);
|
||||||
|
break;
|
||||||
|
case 'number_of_strings':
|
||||||
|
print($status['interned_strings_usage']['number_of_strings']);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'num_cached_scripts':
|
||||||
|
print($status['opcache_statistics']['num_cached_scripts']);
|
||||||
|
break;
|
||||||
|
case 'num_cached_keys':
|
||||||
|
print($status['opcache_statistics']['num_cached_keys']);
|
||||||
|
break;
|
||||||
|
case 'max_cached_keys':
|
||||||
|
print($status['opcache_statistics']['max_cached_keys']);
|
||||||
|
break;
|
||||||
|
case 'hits':
|
||||||
|
print($status['opcache_statistics']['hits']);
|
||||||
|
break;
|
||||||
|
case 'oom_restarts':
|
||||||
|
print($status['opcache_statistics']['oom_restarts']);
|
||||||
|
break;
|
||||||
|
case 'hash_restarts':
|
||||||
|
print($status['opcache_statistics']['hash_restarts']);
|
||||||
|
break;
|
||||||
|
case 'manual_restarts':
|
||||||
|
print($status['opcache_statistics']['manual_restarts']);
|
||||||
|
break;
|
||||||
|
case 'misses':
|
||||||
|
print($status['opcache_statistics']['misses']);
|
||||||
|
break;
|
||||||
|
case 'blacklist_misses':
|
||||||
|
print($status['opcache_statistics']['blacklist_misses']);
|
||||||
|
break;
|
||||||
|
case 'blacklist_miss_ratio':
|
||||||
|
print($status['opcache_statistics']['blacklist_miss_ratio']);
|
||||||
|
break;
|
||||||
|
case 'opcache_hit_rate':
|
||||||
|
print($status['opcache_statistics']['opcache_hit_rate']);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
?>
|
157
bin/rabbit.php
Normal file
157
bin/rabbit.php
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
define('RABBITMQCTL_BIN', '/usr/sbin/rabbitmqctl 2>/dev/null');
|
||||||
|
|
||||||
|
$results = array();
|
||||||
|
$cleanStats = array();
|
||||||
|
$matches = array();
|
||||||
|
|
||||||
|
$stats = array();
|
||||||
|
$stats['queues'] = shell_exec(RABBITMQCTL_BIN . ' list_queues name durable auto_delete messages_ready messages_unacknowledged messages consumers memory');
|
||||||
|
$stats['exchanges'] = shell_exec(RABBITMQCTL_BIN . ' list_exchanges type durable auto_delete');
|
||||||
|
$stats['bindings'] = shell_exec(RABBITMQCTL_BIN . ' list_bindings source_kind destination_kind');
|
||||||
|
$stats['connections'] = shell_exec(RABBITMQCTL_BIN . ' list_connections state channels protocol recv_oct send_oct');
|
||||||
|
$stats['channels'] = shell_exec(RABBITMQCTL_BIN . ' list_channels transactional confirm consumer_count messages_unacknowledged messages_uncommitted acks_uncommitted messages_unconfirmed');
|
||||||
|
|
||||||
|
foreach ($stats as $name => $statusString) {
|
||||||
|
$statusString = str_replace("\t", " ", $statusString);
|
||||||
|
$statusString = trim(str_replace("\r", " ", $statusString));
|
||||||
|
$stats[$name] = preg_replace('/ +/', ' ', $statusString);
|
||||||
|
$stats[$name] = explode("\n", $statusString);
|
||||||
|
|
||||||
|
foreach ($stats[$name] as $index => $value) {
|
||||||
|
if (strpos($value, '...') === false && !empty($value)) {
|
||||||
|
$cleanStats[$name][$index] = $value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// QUEUES
|
||||||
|
if (isset($cleanStats['queues'])) {
|
||||||
|
foreach ($cleanStats['queues'] as $line) {
|
||||||
|
$columns = explode(' ', $line);
|
||||||
|
if (count($columns) == 8) {
|
||||||
|
$row = array(
|
||||||
|
'queues_count' => 1,
|
||||||
|
'queues_durable_count' => $columns[1] == 'true' ? 1 : 0,
|
||||||
|
'queues_auto_delete_count' => $columns[2] == 'true' ? 1 : 0,
|
||||||
|
'messages_ready_count' => $columns[3],
|
||||||
|
'messages_unacknowledged_count' => $columns[4],
|
||||||
|
'messages_count' => $columns[5],
|
||||||
|
'queue_consumers_count' => $columns[6],
|
||||||
|
'queues_memory_allocated' => $columns[7],
|
||||||
|
);
|
||||||
|
$results[] = $row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$results[] = array(
|
||||||
|
'queues_count' => 0,
|
||||||
|
'queues_durable_count' => 0,
|
||||||
|
'queues_auto_delete_count' => 0,
|
||||||
|
'messages_ready_count' => 0,
|
||||||
|
'messages_unacknowledged_count' => 0,
|
||||||
|
'messages_count' => 0,
|
||||||
|
'queue_consumers_count' => 0,
|
||||||
|
'queues_memory_allocated' => 0,
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// EXCHANGES
|
||||||
|
if (isset($cleanStats['exchanges'])) {
|
||||||
|
foreach ($cleanStats['exchanges'] as $line) {
|
||||||
|
$columns = explode(' ', $line);
|
||||||
|
if (count($columns) == 3) {
|
||||||
|
$row = array(
|
||||||
|
'exchanges_count' => 1,
|
||||||
|
'exchanges_durable_count' => $columns[1] == 'true' ? 1 : 0,
|
||||||
|
'exchanges_auto_delete_count' => $columns[2] == 'true' ? 1 : 0,
|
||||||
|
'exchanges_direct_count' => $columns[0] == 'direct' ? 1 : 0,
|
||||||
|
'exchanges_topic_count' => $columns[0] == 'topic' ? 1 : 0,
|
||||||
|
'exchanges_fanout_count' => $columns[0] == 'fanout' ? 1 : 0,
|
||||||
|
'exchanges_headers_count' => $columns[0] == 'headers' ? 1 : 0,
|
||||||
|
);
|
||||||
|
$results[] = $row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$results[] = array(
|
||||||
|
'exchanges_count' => 0,
|
||||||
|
'exchanges_durable_count' => 0,
|
||||||
|
'exchanges_auto_delete_count' => 0,
|
||||||
|
'exchanges_direct_count' => 0,
|
||||||
|
'exchanges_topic_count' => 0,
|
||||||
|
'exchanges_fanout_count' => 0,
|
||||||
|
'exchanges_headers_count' => 0,
|
||||||
|
);
|
||||||
|
|
||||||
|
// CONNECTIONS
|
||||||
|
if (isset($cleanStats['connections'])) {
|
||||||
|
foreach ($cleanStats['connections'] as $line) {
|
||||||
|
$columns = explode(' ', $line);
|
||||||
|
if (count($columns) == 5) {
|
||||||
|
$row = array(
|
||||||
|
'connections_count' => 1,
|
||||||
|
'connections_starting' => $columns[0] == 'starting' ? 1 : 0,
|
||||||
|
'connections_tuning' => $columns[0] == 'tuning' ? 1 : 0,
|
||||||
|
'connections_opening' => $columns[0] == 'opening' ? 1 : 0,
|
||||||
|
'connections_running' => $columns[0] == 'running' ? 1 : 0,
|
||||||
|
'connections_blocking' => $columns[0] == 'blocking' ? 1 : 0,
|
||||||
|
'connections_blocked' => $columns[0] == 'blocked' ? 1 : 0,
|
||||||
|
'connections_closing' => $columns[0] == 'closing' ? 1 : 0,
|
||||||
|
'connections_closed' => $columns[0] == 'closed' ? 1 : 0,
|
||||||
|
);
|
||||||
|
$results[] = $row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$results[] = array(
|
||||||
|
'connections_count' => 0,
|
||||||
|
'connections_starting' => 0,
|
||||||
|
'connections_tuning' => 0,
|
||||||
|
'connections_opening' => 0,
|
||||||
|
'connections_running' => 0,
|
||||||
|
'connections_blocking' => 0,
|
||||||
|
'connections_blocked' => 0,
|
||||||
|
'connections_closing' => 0,
|
||||||
|
'connections_closed' => 0,
|
||||||
|
);
|
||||||
|
|
||||||
|
// CHANNELS
|
||||||
|
if (isset($cleanStats['channels'])) {
|
||||||
|
foreach ($cleanStats['channels'] as $line) {
|
||||||
|
$columns = explode(' ', $line);
|
||||||
|
if (count($columns) == 2) {
|
||||||
|
$row = array(
|
||||||
|
'channels_count' => 1,
|
||||||
|
'channels_transactional_count' => $columns[0] == 'true' ? 1 : 0,
|
||||||
|
'channels_confirm_count' => $columns[1] == 'true' ? 1 : 0,
|
||||||
|
);
|
||||||
|
$results[] = $row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$results[] = array(
|
||||||
|
'channels_count' => 0,
|
||||||
|
'channels_transactional_count' => 0,
|
||||||
|
'channels_confirm_count' => 0,
|
||||||
|
);
|
||||||
|
|
||||||
|
// BINDINGS
|
||||||
|
$results[] = array('bindings_count' => count($cleanStats['exchanges']));
|
||||||
|
|
||||||
|
//SUMMARU
|
||||||
|
$summary = array();
|
||||||
|
foreach ($results as $index => $values) {
|
||||||
|
foreach ($values as $name => $value) {
|
||||||
|
if (!isset($summary[$name])) {
|
||||||
|
$summary[$name] = 0;
|
||||||
|
}
|
||||||
|
$summary[$name] += $value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// PRINT
|
||||||
|
foreach ($summary as $name => $value) {
|
||||||
|
echo $name . ':' . $value . "\n";
|
||||||
|
}
|
27
bin/rabbitmq.sh
Normal file
27
bin/rabbitmq.sh
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# =======================
|
||||||
|
cachefile='/tmp/rabbitmq.log'
|
||||||
|
command='sudo /usr/bin/php /etc/zabbix/bin/rabbit.php'
|
||||||
|
# =======================
|
||||||
|
|
||||||
|
random=$RANDOM
|
||||||
|
|
||||||
|
if [ ! -e $cachefile ]; then
|
||||||
|
touch -d "2 hours ago" $cachefile
|
||||||
|
fi
|
||||||
|
|
||||||
|
cachefileage=$(($(date +%s) - $(stat -c %Y $cachefile)))
|
||||||
|
process_running=$(ps aux | grep rabbit.php | grep -v "grep" | wc -l)
|
||||||
|
|
||||||
|
if [ "$cachefileage" -gt 60 ] && [ "$process_running" -eq 0 ]; then
|
||||||
|
output=$($command 2>&1)
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "$output" > $cachefile.$random
|
||||||
|
mv $cachefile.$random $cachefile
|
||||||
|
chown zabbix.zabbix $cachefile
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat $cachefile
|
27
bin/rabbitmqctl.sh
Normal file
27
bin/rabbitmqctl.sh
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# =======================
|
||||||
|
cachefile='/tmp/rabbitmqctl.log'
|
||||||
|
command='sudo /usr/sbin/rabbitmqctl status'
|
||||||
|
# =======================
|
||||||
|
|
||||||
|
random=$RANDOM
|
||||||
|
|
||||||
|
if [ ! -e $cachefile ]; then
|
||||||
|
touch -d "2 hours ago" $cachefile
|
||||||
|
fi
|
||||||
|
|
||||||
|
cachefileage=$(($(date +%s) - $(stat -c %Y $cachefile)))
|
||||||
|
process_running=$(ps aux | grep "rabbitmqctl status" | grep -v "grep" | wc -l)
|
||||||
|
|
||||||
|
if [ "$cachefileage" -gt 60 ] && [ "$process_running" -eq 0 ]; then
|
||||||
|
output=$($command 2>&1)
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "$output" > $cachefile.$random
|
||||||
|
mv $cachefile.$random $cachefile
|
||||||
|
chown zabbix.zabbix $cachefile
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat $cachefile
|
File diff suppressed because it is too large
Load Diff
10112
templates/App_MySQL.xml
10112
templates/App_MySQL.xml
File diff suppressed because it is too large
Load Diff
@ -1,126 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<zabbix_export>
|
|
||||||
<version>2.0</version>
|
|
||||||
<date>2013-04-10T14:27:54Z</date>
|
|
||||||
<groups>
|
|
||||||
<group>
|
|
||||||
<name>Templates</name>
|
|
||||||
</group>
|
|
||||||
</groups>
|
|
||||||
<templates>
|
|
||||||
<template>
|
|
||||||
<template>Template App OpenVPN</template>
|
|
||||||
<name>Template App OpenVPN</name>
|
|
||||||
<groups>
|
|
||||||
<group>
|
|
||||||
<name>Templates</name>
|
|
||||||
</group>
|
|
||||||
</groups>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>OpenVPN</name>
|
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<items>
|
|
||||||
<item>
|
|
||||||
<name>OpenVPN service is running</name>
|
|
||||||
<type>0</type>
|
|
||||||
<snmp_community/>
|
|
||||||
<multiplier>0</multiplier>
|
|
||||||
<snmp_oid/>
|
|
||||||
<key>net.tcp.service[tcp,,1194]</key>
|
|
||||||
<delay>90</delay>
|
|
||||||
<history>7</history>
|
|
||||||
<trends>365</trends>
|
|
||||||
<status>0</status>
|
|
||||||
<value_type>3</value_type>
|
|
||||||
<allowed_hosts/>
|
|
||||||
<units/>
|
|
||||||
<delta>0</delta>
|
|
||||||
<snmpv3_securityname/>
|
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
||||||
<snmpv3_authpassphrase/>
|
|
||||||
<snmpv3_privpassphrase/>
|
|
||||||
<formula>1</formula>
|
|
||||||
<delay_flex/>
|
|
||||||
<params/>
|
|
||||||
<ipmi_sensor/>
|
|
||||||
<data_type>0</data_type>
|
|
||||||
<authtype>0</authtype>
|
|
||||||
<username/>
|
|
||||||
<password/>
|
|
||||||
<publickey/>
|
|
||||||
<privatekey/>
|
|
||||||
<port/>
|
|
||||||
<description/>
|
|
||||||
<inventory_link>0</inventory_link>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>OpenVPN</name>
|
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<valuemap>
|
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<name>OpenVPN service is running (full-push)</name>
|
|
||||||
<type>0</type>
|
|
||||||
<snmp_community/>
|
|
||||||
<multiplier>0</multiplier>
|
|
||||||
<snmp_oid/>
|
|
||||||
<key>net.tcp.service[tcp,,443]</key>
|
|
||||||
<delay>90</delay>
|
|
||||||
<history>7</history>
|
|
||||||
<trends>365</trends>
|
|
||||||
<status>0</status>
|
|
||||||
<value_type>3</value_type>
|
|
||||||
<allowed_hosts/>
|
|
||||||
<units/>
|
|
||||||
<delta>0</delta>
|
|
||||||
<snmpv3_securityname/>
|
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
||||||
<snmpv3_authpassphrase/>
|
|
||||||
<snmpv3_privpassphrase/>
|
|
||||||
<formula>1</formula>
|
|
||||||
<delay_flex/>
|
|
||||||
<params/>
|
|
||||||
<ipmi_sensor/>
|
|
||||||
<data_type>0</data_type>
|
|
||||||
<authtype>0</authtype>
|
|
||||||
<username/>
|
|
||||||
<password/>
|
|
||||||
<publickey/>
|
|
||||||
<privatekey/>
|
|
||||||
<port/>
|
|
||||||
<description/>
|
|
||||||
<inventory_link>0</inventory_link>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>OpenVPN</name>
|
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<valuemap>
|
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
|
||||||
</items>
|
|
||||||
<discovery_rules/>
|
|
||||||
<macros/>
|
|
||||||
<templates/>
|
|
||||||
<screens/>
|
|
||||||
</template>
|
|
||||||
</templates>
|
|
||||||
<triggers>
|
|
||||||
<trigger>
|
|
||||||
<expression>{Template App OpenVPN:net.tcp.service[tcp,,1194].sum(#3)}=0 | {Template App OpenVPN:net.tcp.service[tcp,,443].sum(#3)}=0</expression>
|
|
||||||
<name>OpenVPN service is down on {HOSTNAME}</name>
|
|
||||||
<url/>
|
|
||||||
<status>0</status>
|
|
||||||
<priority>3</priority>
|
|
||||||
<description/>
|
|
||||||
<type>0</type>
|
|
||||||
<dependencies/>
|
|
||||||
</trigger>
|
|
||||||
</triggers>
|
|
||||||
</zabbix_export>
|
|
@ -1,85 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<zabbix_export>
|
|
||||||
<version>2.0</version>
|
|
||||||
<date>2013-04-10T14:27:49Z</date>
|
|
||||||
<groups>
|
|
||||||
<group>
|
|
||||||
<name>Templates</name>
|
|
||||||
</group>
|
|
||||||
</groups>
|
|
||||||
<templates>
|
|
||||||
<template>
|
|
||||||
<template>Template App Solr</template>
|
|
||||||
<name>Template App Solr</name>
|
|
||||||
<groups>
|
|
||||||
<group>
|
|
||||||
<name>Templates</name>
|
|
||||||
</group>
|
|
||||||
</groups>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>Solr</name>
|
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<items>
|
|
||||||
<item>
|
|
||||||
<name>Solr service is running</name>
|
|
||||||
<type>0</type>
|
|
||||||
<snmp_community/>
|
|
||||||
<multiplier>0</multiplier>
|
|
||||||
<snmp_oid/>
|
|
||||||
<key>net.tcp.service[tcp,,8983]</key>
|
|
||||||
<delay>60</delay>
|
|
||||||
<history>7</history>
|
|
||||||
<trends>365</trends>
|
|
||||||
<status>0</status>
|
|
||||||
<value_type>3</value_type>
|
|
||||||
<allowed_hosts/>
|
|
||||||
<units/>
|
|
||||||
<delta>0</delta>
|
|
||||||
<snmpv3_securityname/>
|
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
||||||
<snmpv3_authpassphrase/>
|
|
||||||
<snmpv3_privpassphrase/>
|
|
||||||
<formula>1</formula>
|
|
||||||
<delay_flex/>
|
|
||||||
<params/>
|
|
||||||
<ipmi_sensor/>
|
|
||||||
<data_type>0</data_type>
|
|
||||||
<authtype>0</authtype>
|
|
||||||
<username/>
|
|
||||||
<password/>
|
|
||||||
<publickey/>
|
|
||||||
<privatekey/>
|
|
||||||
<port/>
|
|
||||||
<description/>
|
|
||||||
<inventory_link>0</inventory_link>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>Solr</name>
|
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<valuemap>
|
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
|
||||||
</items>
|
|
||||||
<discovery_rules/>
|
|
||||||
<macros/>
|
|
||||||
<templates/>
|
|
||||||
<screens/>
|
|
||||||
</template>
|
|
||||||
</templates>
|
|
||||||
<triggers>
|
|
||||||
<trigger>
|
|
||||||
<expression>{Template App Solr:net.tcp.service[tcp,,8983].sum(#3)}=0</expression>
|
|
||||||
<name>Solr service is down on {HOSTNAME}</name>
|
|
||||||
<url/>
|
|
||||||
<status>0</status>
|
|
||||||
<priority>4</priority>
|
|
||||||
<description/>
|
|
||||||
<type>0</type>
|
|
||||||
<dependencies/>
|
|
||||||
</trigger>
|
|
||||||
</triggers>
|
|
||||||
</zabbix_export>
|
|
@ -1,8 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<zabbix_export>
|
<zabbix_export>
|
||||||
<version>2.0</version>
|
<version>2.0</version>
|
||||||
<date>2013-04-10T14:28:55Z</date>
|
<date>2014-08-11T09:42:01Z</date>
|
||||||
<groups>
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>OS Linux</name>
|
||||||
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<name>Templates</name>
|
<name>Templates</name>
|
||||||
</group>
|
</group>
|
||||||
@ -12,6 +15,9 @@
|
|||||||
<template>Template App APC</template>
|
<template>Template App APC</template>
|
||||||
<name>Template App APC</name>
|
<name>Template App APC</name>
|
||||||
<groups>
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>OS Linux</name>
|
||||||
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<name>Templates</name>
|
<name>Templates</name>
|
||||||
</group>
|
</group>
|
||||||
@ -30,16 +36,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[hits]</key>
|
<key>apc[hits]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -69,16 +78,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[entries]</key>
|
<key>apc[entries]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -108,16 +120,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[hits_ratio]</key>
|
<key>apc[hits_ratio]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>0</value_type>
|
<value_type>0</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units>%</units>
|
<units>%</units>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -147,16 +162,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[mem.avail]</key>
|
<key>apc[mem.avail]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units>B</units>
|
<units>B</units>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -186,16 +204,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[mem.pfree]</key>
|
<key>apc[mem.pfree]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>0</value_type>
|
<value_type>0</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units>%</units>
|
<units>%</units>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -225,16 +246,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[mem.used]</key>
|
<key>apc[mem.used]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units>B</units>
|
<units>B</units>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -264,16 +288,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[misses]</key>
|
<key>apc[misses]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -303,16 +330,19 @@
|
|||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>apc[user.entries]</key>
|
<key>apc[user.entries]</key>
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -344,10 +374,10 @@
|
|||||||
<triggers>
|
<triggers>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>{Template App APC:apc[mem.pfree].avg(#3)}<10</expression>
|
<expression>{Template App APC:apc[mem.pfree].avg(#3)}<10</expression>
|
||||||
<name>Low APC file cache memory on {HOSTNAME}</name>
|
<name>Low APC file cache memory</name>
|
||||||
<url/>
|
<url/>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<priority>3</priority>
|
<priority>2</priority>
|
||||||
<description/>
|
<description/>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<dependencies/>
|
<dependencies/>
|
File diff suppressed because it is too large
Load Diff
3847
templates/Template App RabbitMQ.xml
Normal file
3847
templates/Template App RabbitMQ.xml
Normal file
File diff suppressed because it is too large
Load Diff
3138
templates/Template Device BigIP F5.xml
Normal file
3138
templates/Template Device BigIP F5.xml
Normal file
File diff suppressed because it is too large
Load Diff
1713
templates/Template Device Cisco ASA.xml
Normal file
1713
templates/Template Device Cisco ASA.xml
Normal file
File diff suppressed because it is too large
Load Diff
3378
templates/Template Device NetApp.xml
Normal file
3378
templates/Template Device NetApp.xml
Normal file
File diff suppressed because it is too large
Load Diff
184
templates/Template Device SNMP Generic.xml
Normal file
184
templates/Template Device SNMP Generic.xml
Normal file
@ -0,0 +1,184 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<zabbix_export>
|
||||||
|
<version>2.0</version>
|
||||||
|
<date>2014-08-04T13:36:20Z</date>
|
||||||
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>Templates</name>
|
||||||
|
</group>
|
||||||
|
</groups>
|
||||||
|
<templates>
|
||||||
|
<template>
|
||||||
|
<template>Template Device SNMP Generic</template>
|
||||||
|
<name>Template Device SNMP Generic</name>
|
||||||
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>Templates</name>
|
||||||
|
</group>
|
||||||
|
</groups>
|
||||||
|
<applications/>
|
||||||
|
<items>
|
||||||
|
<item>
|
||||||
|
<name>ICMP loss</name>
|
||||||
|
<type>3</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>icmppingloss</key>
|
||||||
|
<delay>60</delay>
|
||||||
|
<history>30</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>0</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units>%</units>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>0</inventory_link>
|
||||||
|
<applications/>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>ICMP Ping</name>
|
||||||
|
<type>3</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>icmpping</key>
|
||||||
|
<delay>30</delay>
|
||||||
|
<history>30</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>3</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>0</inventory_link>
|
||||||
|
<applications/>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>ICMP response time</name>
|
||||||
|
<type>3</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>icmppingsec</key>
|
||||||
|
<delay>60</delay>
|
||||||
|
<history>30</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>0</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units>s</units>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>0</inventory_link>
|
||||||
|
<applications/>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
</items>
|
||||||
|
<discovery_rules/>
|
||||||
|
<macros/>
|
||||||
|
<templates/>
|
||||||
|
<screens/>
|
||||||
|
</template>
|
||||||
|
</templates>
|
||||||
|
<triggers>
|
||||||
|
<trigger>
|
||||||
|
<expression>{Template Device SNMP Generic:icmppingloss.min(5m)}>20</expression>
|
||||||
|
<name>Ping loss is too high</name>
|
||||||
|
<url/>
|
||||||
|
<status>0</status>
|
||||||
|
<priority>3</priority>
|
||||||
|
<description>Packet loss more than 20% on {HOST.IP}</description>
|
||||||
|
<type>0</type>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<name>{HOST.NAME} is unavailable by ICMP</name>
|
||||||
|
<expression>{Template Device SNMP Generic:icmpping.max(180)}=0</expression>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</trigger>
|
||||||
|
<trigger>
|
||||||
|
<expression>{Template Device SNMP Generic:icmppingsec.avg(10m)}>0.20</expression>
|
||||||
|
<name>Response time is too high</name>
|
||||||
|
<url/>
|
||||||
|
<status>0</status>
|
||||||
|
<priority>2</priority>
|
||||||
|
<description>Response time more than 200ms for 10 minutes.</description>
|
||||||
|
<type>0</type>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<name>{HOST.NAME} is unavailable by ICMP</name>
|
||||||
|
<expression>{Template Device SNMP Generic:icmpping.max(180)}=0</expression>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</trigger>
|
||||||
|
<trigger>
|
||||||
|
<expression>{Template Device SNMP Generic:icmpping.max(180)}=0</expression>
|
||||||
|
<name>{HOST.NAME} is unavailable by ICMP</name>
|
||||||
|
<url/>
|
||||||
|
<status>0</status>
|
||||||
|
<priority>5</priority>
|
||||||
|
<description>{HOST.IP} not responding to ICMP in 3 minutes</description>
|
||||||
|
<type>0</type>
|
||||||
|
<dependencies/>
|
||||||
|
</trigger>
|
||||||
|
</triggers>
|
||||||
|
</zabbix_export>
|
326
templates/Template Inventory.xml
Normal file
326
templates/Template Inventory.xml
Normal file
@ -0,0 +1,326 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<zabbix_export>
|
||||||
|
<version>2.0</version>
|
||||||
|
<date>2014-08-04T13:36:44Z</date>
|
||||||
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>Templates</name>
|
||||||
|
</group>
|
||||||
|
</groups>
|
||||||
|
<templates>
|
||||||
|
<template>
|
||||||
|
<template>Template Inventory</template>
|
||||||
|
<name>Template Inventory</name>
|
||||||
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>Templates</name>
|
||||||
|
</group>
|
||||||
|
</groups>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<items>
|
||||||
|
<item>
|
||||||
|
<name>Hardware (Full details)</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>facter[processor0]</key>
|
||||||
|
<delay>3600</delay>
|
||||||
|
<history>7</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>4</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>15</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>HW architecture</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>facter[hardwaremodel]</key>
|
||||||
|
<delay>3600</delay>
|
||||||
|
<history>7</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>4</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>30</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>MAC address A</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>facter[macaddress]</key>
|
||||||
|
<delay>3600</delay>
|
||||||
|
<history>7</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>4</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>12</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>OS</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>facter[kernel]</key>
|
||||||
|
<delay>3600</delay>
|
||||||
|
<history>7</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>4</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>5</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>OS (Short)</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>facter[operatingsystem]</key>
|
||||||
|
<delay>3600</delay>
|
||||||
|
<history>7</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>4</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>7</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>Type</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>facter[virtual]</key>
|
||||||
|
<delay>3600</delay>
|
||||||
|
<history>7</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>4</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>1</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>Vendor</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>facter[manufacturer]</key>
|
||||||
|
<delay>3600</delay>
|
||||||
|
<history>7</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>4</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>31</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Inventory</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item>
|
||||||
|
</items>
|
||||||
|
<discovery_rules/>
|
||||||
|
<macros/>
|
||||||
|
<templates/>
|
||||||
|
<screens/>
|
||||||
|
</template>
|
||||||
|
</templates>
|
||||||
|
</zabbix_export>
|
1390
templates/Template OMSA.xml
Normal file
1390
templates/Template OMSA.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,45 +1,54 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<zabbix_export>
|
<zabbix_export>
|
||||||
<version>2.0</version>
|
<version>2.0</version>
|
||||||
<date>2013-04-10T14:28:44Z</date>
|
<date>2014-08-04T13:37:32Z</date>
|
||||||
<groups>
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>OS Linux</name>
|
||||||
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<name>Templates</name>
|
<name>Templates</name>
|
||||||
</group>
|
</group>
|
||||||
</groups>
|
</groups>
|
||||||
<templates>
|
<templates>
|
||||||
<template>
|
<template>
|
||||||
<template>Template App Mail</template>
|
<template>Template Security</template>
|
||||||
<name>Template App Mail</name>
|
<name>Template Security</name>
|
||||||
<groups>
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>OS Linux</name>
|
||||||
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<name>Templates</name>
|
<name>Templates</name>
|
||||||
</group>
|
</group>
|
||||||
</groups>
|
</groups>
|
||||||
<applications>
|
<applications>
|
||||||
<application>
|
<application>
|
||||||
<name>Services - Mail</name>
|
<name>Security</name>
|
||||||
</application>
|
</application>
|
||||||
</applications>
|
</applications>
|
||||||
<items>
|
<items>
|
||||||
<item>
|
<item>
|
||||||
<name>Amavis service is running</name>
|
<name>Checksum of iptables policy</name>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<snmp_community/>
|
<snmp_community/>
|
||||||
<multiplier>0</multiplier>
|
<multiplier>0</multiplier>
|
||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>proc.num[amavisd]</key>
|
<key>firewall-md5</key>
|
||||||
<delay>90</delay>
|
<delay>3600</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -56,37 +65,38 @@
|
|||||||
<inventory_link>0</inventory_link>
|
<inventory_link>0</inventory_link>
|
||||||
<applications>
|
<applications>
|
||||||
<application>
|
<application>
|
||||||
<name>Services - Mail</name>
|
<name>Security</name>
|
||||||
</application>
|
</application>
|
||||||
</applications>
|
</applications>
|
||||||
<valuemap>
|
<valuemap/>
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<name>ClamAV service is running</name>
|
<name>Fail2ban is enabled in autostart</name>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<snmp_community/>
|
<snmp_community/>
|
||||||
<multiplier>0</multiplier>
|
<multiplier>0</multiplier>
|
||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>proc.num[clamd]</key>
|
<key>chkconfig[fail2ban]</key>
|
||||||
<delay>90</delay>
|
<delay>3600</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
<params/>
|
<params/>
|
||||||
<ipmi_sensor/>
|
<ipmi_sensor/>
|
||||||
<data_type>0</data_type>
|
<data_type>3</data_type>
|
||||||
<authtype>0</authtype>
|
<authtype>0</authtype>
|
||||||
<username/>
|
<username/>
|
||||||
<password/>
|
<password/>
|
||||||
@ -97,72 +107,32 @@
|
|||||||
<inventory_link>0</inventory_link>
|
<inventory_link>0</inventory_link>
|
||||||
<applications>
|
<applications>
|
||||||
<application>
|
<application>
|
||||||
<name>Services - Mail</name>
|
<name>Security</name>
|
||||||
</application>
|
</application>
|
||||||
</applications>
|
</applications>
|
||||||
<valuemap>
|
<valuemap/>
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<name>IMAP service is running</name>
|
<name>Fail2Ban service is running</name>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<snmp_community/>
|
<snmp_community/>
|
||||||
<multiplier>0</multiplier>
|
<multiplier>0</multiplier>
|
||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>net.tcp.service[imap]</key>
|
<key>proc.num[fail2ban-server]</key>
|
||||||
<delay>90</delay>
|
|
||||||
<history>7</history>
|
|
||||||
<trends>365</trends>
|
|
||||||
<status>0</status>
|
|
||||||
<value_type>3</value_type>
|
|
||||||
<allowed_hosts/>
|
|
||||||
<units/>
|
|
||||||
<delta>0</delta>
|
|
||||||
<snmpv3_securityname/>
|
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
||||||
<snmpv3_authpassphrase/>
|
|
||||||
<snmpv3_privpassphrase/>
|
|
||||||
<formula>1</formula>
|
|
||||||
<delay_flex/>
|
|
||||||
<params/>
|
|
||||||
<ipmi_sensor/>
|
|
||||||
<data_type>0</data_type>
|
|
||||||
<authtype>0</authtype>
|
|
||||||
<username/>
|
|
||||||
<password/>
|
|
||||||
<publickey/>
|
|
||||||
<privatekey/>
|
|
||||||
<port/>
|
|
||||||
<description/>
|
|
||||||
<inventory_link>0</inventory_link>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>Services - Mail</name>
|
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<valuemap>
|
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<name>Number of mails in queue</name>
|
|
||||||
<type>0</type>
|
|
||||||
<snmp_community/>
|
|
||||||
<multiplier>0</multiplier>
|
|
||||||
<snmp_oid/>
|
|
||||||
<key>mailqueue</key>
|
|
||||||
<delay>60</delay>
|
<delay>60</delay>
|
||||||
<history>90</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
@ -179,35 +149,38 @@
|
|||||||
<inventory_link>0</inventory_link>
|
<inventory_link>0</inventory_link>
|
||||||
<applications>
|
<applications>
|
||||||
<application>
|
<application>
|
||||||
<name>Services - Mail</name>
|
<name>Security</name>
|
||||||
</application>
|
</application>
|
||||||
</applications>
|
</applications>
|
||||||
<valuemap/>
|
<valuemap/>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<name>OpenDKIM service is running</name>
|
<name>Firewall enabled</name>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<snmp_community/>
|
<snmp_community/>
|
||||||
<multiplier>0</multiplier>
|
<multiplier>0</multiplier>
|
||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>proc.num[opendkim]</key>
|
<key>firewall-enabled</key>
|
||||||
<delay>90</delay>
|
<delay>90</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
<params/>
|
<params/>
|
||||||
<ipmi_sensor/>
|
<ipmi_sensor/>
|
||||||
<data_type>0</data_type>
|
<data_type>3</data_type>
|
||||||
<authtype>0</authtype>
|
<authtype>0</authtype>
|
||||||
<username/>
|
<username/>
|
||||||
<password/>
|
<password/>
|
||||||
@ -218,7 +191,7 @@
|
|||||||
<inventory_link>0</inventory_link>
|
<inventory_link>0</inventory_link>
|
||||||
<applications>
|
<applications>
|
||||||
<application>
|
<application>
|
||||||
<name>Services - Mail</name>
|
<name>Security</name>
|
||||||
</application>
|
</application>
|
||||||
</applications>
|
</applications>
|
||||||
<valuemap>
|
<valuemap>
|
||||||
@ -226,29 +199,32 @@
|
|||||||
</valuemap>
|
</valuemap>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<name>POP3 service is running</name>
|
<name>iptables is enabled in autostart</name>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<snmp_community/>
|
<snmp_community/>
|
||||||
<multiplier>0</multiplier>
|
<multiplier>0</multiplier>
|
||||||
<snmp_oid/>
|
<snmp_oid/>
|
||||||
<key>net.tcp.service[pop]</key>
|
<key>chkconfig[iptables]</key>
|
||||||
<delay>90</delay>
|
<delay>3600</delay>
|
||||||
<history>7</history>
|
<history>30</history>
|
||||||
<trends>365</trends>
|
<trends>365</trends>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<value_type>3</value_type>
|
<value_type>3</value_type>
|
||||||
<allowed_hosts/>
|
<allowed_hosts/>
|
||||||
<units/>
|
<units/>
|
||||||
<delta>0</delta>
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
<snmpv3_securityname/>
|
<snmpv3_securityname/>
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
<snmpv3_authpassphrase/>
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
<snmpv3_privpassphrase/>
|
<snmpv3_privpassphrase/>
|
||||||
<formula>1</formula>
|
<formula>1</formula>
|
||||||
<delay_flex/>
|
<delay_flex/>
|
||||||
<params/>
|
<params/>
|
||||||
<ipmi_sensor/>
|
<ipmi_sensor/>
|
||||||
<data_type>0</data_type>
|
<data_type>3</data_type>
|
||||||
<authtype>0</authtype>
|
<authtype>0</authtype>
|
||||||
<username/>
|
<username/>
|
||||||
<password/>
|
<password/>
|
||||||
@ -259,93 +235,55 @@
|
|||||||
<inventory_link>0</inventory_link>
|
<inventory_link>0</inventory_link>
|
||||||
<applications>
|
<applications>
|
||||||
<application>
|
<application>
|
||||||
<name>Services - Mail</name>
|
<name>Security</name>
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<valuemap>
|
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<name>SMTP service is running</name>
|
|
||||||
<type>0</type>
|
|
||||||
<snmp_community/>
|
|
||||||
<multiplier>0</multiplier>
|
|
||||||
<snmp_oid/>
|
|
||||||
<key>net.tcp.service[smtp]</key>
|
|
||||||
<delay>90</delay>
|
|
||||||
<history>7</history>
|
|
||||||
<trends>365</trends>
|
|
||||||
<status>0</status>
|
|
||||||
<value_type>3</value_type>
|
|
||||||
<allowed_hosts/>
|
|
||||||
<units/>
|
|
||||||
<delta>0</delta>
|
|
||||||
<snmpv3_securityname/>
|
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
||||||
<snmpv3_authpassphrase/>
|
|
||||||
<snmpv3_privpassphrase/>
|
|
||||||
<formula>1</formula>
|
|
||||||
<delay_flex/>
|
|
||||||
<params/>
|
|
||||||
<ipmi_sensor/>
|
|
||||||
<data_type>0</data_type>
|
|
||||||
<authtype>0</authtype>
|
|
||||||
<username/>
|
|
||||||
<password/>
|
|
||||||
<publickey/>
|
|
||||||
<privatekey/>
|
|
||||||
<port/>
|
|
||||||
<description/>
|
|
||||||
<inventory_link>0</inventory_link>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>Services - Mail</name>
|
|
||||||
</application>
|
|
||||||
</applications>
|
|
||||||
<valuemap>
|
|
||||||
<name>Service state</name>
|
|
||||||
</valuemap>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<name>SpamAssasin service is running</name>
|
|
||||||
<type>0</type>
|
|
||||||
<snmp_community/>
|
|
||||||
<multiplier>0</multiplier>
|
|
||||||
<snmp_oid/>
|
|
||||||
<key>proc.num[spamd child]</key>
|
|
||||||
<delay>90</delay>
|
|
||||||
<history>7</history>
|
|
||||||
<trends>365</trends>
|
|
||||||
<status>0</status>
|
|
||||||
<value_type>3</value_type>
|
|
||||||
<allowed_hosts/>
|
|
||||||
<units/>
|
|
||||||
<delta>0</delta>
|
|
||||||
<snmpv3_securityname/>
|
|
||||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
||||||
<snmpv3_authpassphrase/>
|
|
||||||
<snmpv3_privpassphrase/>
|
|
||||||
<formula>1</formula>
|
|
||||||
<delay_flex/>
|
|
||||||
<params/>
|
|
||||||
<ipmi_sensor/>
|
|
||||||
<data_type>0</data_type>
|
|
||||||
<authtype>0</authtype>
|
|
||||||
<username/>
|
|
||||||
<password/>
|
|
||||||
<publickey/>
|
|
||||||
<privatekey/>
|
|
||||||
<port/>
|
|
||||||
<description/>
|
|
||||||
<inventory_link>0</inventory_link>
|
|
||||||
<applications>
|
|
||||||
<application>
|
|
||||||
<name>Services - Mail</name>
|
|
||||||
</application>
|
</application>
|
||||||
</applications>
|
</applications>
|
||||||
<valuemap/>
|
<valuemap/>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<name>SELinux enabled</name>
|
||||||
|
<type>0</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>selinux-enabled</key>
|
||||||
|
<delay>90</delay>
|
||||||
|
<history>30</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>3</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_contextname/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>3</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>0</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Security</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap>
|
||||||
|
<name>Service state</name>
|
||||||
|
</valuemap>
|
||||||
|
</item>
|
||||||
</items>
|
</items>
|
||||||
<discovery_rules/>
|
<discovery_rules/>
|
||||||
<macros/>
|
<macros/>
|
||||||
@ -355,18 +293,8 @@
|
|||||||
</templates>
|
</templates>
|
||||||
<triggers>
|
<triggers>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>{Template App Mail:net.tcp.service[imap].sum(#3)}=0</expression>
|
<expression>{Template Security:chkconfig[fail2ban].last(0)}=0</expression>
|
||||||
<name>IMAP service is down on {HOSTNAME}</name>
|
<name>Fail2ban is not enabled in autostart</name>
|
||||||
<url/>
|
|
||||||
<status>0</status>
|
|
||||||
<priority>3</priority>
|
|
||||||
<description/>
|
|
||||||
<type>0</type>
|
|
||||||
<dependencies/>
|
|
||||||
</trigger>
|
|
||||||
<trigger>
|
|
||||||
<expression>{Template App Mail:proc.num[opendkim].last(0)}=0</expression>
|
|
||||||
<name>OpenDKIM service is down on {HOSTNAME}</name>
|
|
||||||
<url/>
|
<url/>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<priority>2</priority>
|
<priority>2</priority>
|
||||||
@ -375,8 +303,8 @@
|
|||||||
<dependencies/>
|
<dependencies/>
|
||||||
</trigger>
|
</trigger>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>{Template App Mail:net.tcp.service[pop].sum(#3)}=0</expression>
|
<expression>{Template Security:proc.num[fail2ban-server].sum(#3)}=0</expression>
|
||||||
<name>POP3 service is down on {HOSTNAME}</name>
|
<name>Fail2Ban service is down</name>
|
||||||
<url/>
|
<url/>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<priority>3</priority>
|
<priority>3</priority>
|
||||||
@ -385,8 +313,8 @@
|
|||||||
<dependencies/>
|
<dependencies/>
|
||||||
</trigger>
|
</trigger>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>{Template App Mail:proc.num[amavisd].last(0)}=0</expression>
|
<expression>{Template Security:firewall-enabled.last(0)}=0</expression>
|
||||||
<name>Service amavis is not running on {HOSTNAME}</name>
|
<name>Firewall is disabled</name>
|
||||||
<url/>
|
<url/>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<priority>3</priority>
|
<priority>3</priority>
|
||||||
@ -395,28 +323,28 @@
|
|||||||
<dependencies/>
|
<dependencies/>
|
||||||
</trigger>
|
</trigger>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>{Template App Mail:proc.num[clamd].last(0)}=0</expression>
|
<expression>{Template Security:firewall-md5.diff(0)}#0</expression>
|
||||||
<name>Service clamd (clamav) is not running on {HOSTNAME}</name>
|
<name>iptables has been changed</name>
|
||||||
<url/>
|
<url/>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<priority>3</priority>
|
<priority>1</priority>
|
||||||
<description/>
|
<description/>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<dependencies/>
|
<dependencies/>
|
||||||
</trigger>
|
</trigger>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>{Template App Mail:proc.num[spamd child].last(0)}<2</expression>
|
<expression>{Template Security:chkconfig[iptables].last(0)}=0</expression>
|
||||||
<name>Service spamd is not running on {HOSTNAME}</name>
|
<name>iptables is not enabled in autostart</name>
|
||||||
<url/>
|
<url/>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<priority>3</priority>
|
<priority>2</priority>
|
||||||
<description/>
|
<description/>
|
||||||
<type>0</type>
|
<type>0</type>
|
||||||
<dependencies/>
|
<dependencies/>
|
||||||
</trigger>
|
</trigger>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>{Template App Mail:net.tcp.service[smtp].sum(#3)}=0</expression>
|
<expression>{Template Security:selinux-enabled.last(0)}=0</expression>
|
||||||
<name>SMTP service is down on {HOSTNAME}</name>
|
<name>SELinux is disabled</name>
|
||||||
<url/>
|
<url/>
|
||||||
<status>0</status>
|
<status>0</status>
|
||||||
<priority>3</priority>
|
<priority>3</priority>
|
||||||
@ -425,38 +353,4 @@
|
|||||||
<dependencies/>
|
<dependencies/>
|
||||||
</trigger>
|
</trigger>
|
||||||
</triggers>
|
</triggers>
|
||||||
<graphs>
|
|
||||||
<graph>
|
|
||||||
<name>Number of Mails in queue</name>
|
|
||||||
<width>900</width>
|
|
||||||
<height>200</height>
|
|
||||||
<yaxismin>0.0000</yaxismin>
|
|
||||||
<yaxismax>100.0000</yaxismax>
|
|
||||||
<show_work_period>1</show_work_period>
|
|
||||||
<show_triggers>0</show_triggers>
|
|
||||||
<type>0</type>
|
|
||||||
<show_legend>0</show_legend>
|
|
||||||
<show_3d>0</show_3d>
|
|
||||||
<percent_left>0.0000</percent_left>
|
|
||||||
<percent_right>0.0000</percent_right>
|
|
||||||
<ymin_type_1>1</ymin_type_1>
|
|
||||||
<ymax_type_1>0</ymax_type_1>
|
|
||||||
<ymin_item_1>0</ymin_item_1>
|
|
||||||
<ymax_item_1>0</ymax_item_1>
|
|
||||||
<graph_items>
|
|
||||||
<graph_item>
|
|
||||||
<sortorder>0</sortorder>
|
|
||||||
<drawtype>5</drawtype>
|
|
||||||
<color>C80000</color>
|
|
||||||
<yaxisside>0</yaxisside>
|
|
||||||
<calc_fnc>2</calc_fnc>
|
|
||||||
<type>0</type>
|
|
||||||
<item>
|
|
||||||
<host>Template App Mail</host>
|
|
||||||
<key>mailqueue</key>
|
|
||||||
</item>
|
|
||||||
</graph_item>
|
|
||||||
</graph_items>
|
|
||||||
</graph>
|
|
||||||
</graphs>
|
|
||||||
</zabbix_export>
|
</zabbix_export>
|
1
zabbix_agentd.conf.d/apc.conf
Normal file
1
zabbix_agentd.conf.d/apc.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
UserParameter=apc[*],php /etc/zabbix/bin/apc-check.php $1
|
1
zabbix_agentd.conf.d/inventory.conf
Normal file
1
zabbix_agentd.conf.d/inventory.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
UserParameter=facter[*], HOME=/etc/zabbix facter $1
|
14
zabbix_agentd.conf.d/omreport.conf
Normal file
14
zabbix_agentd.conf.d/omreport.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
UserParameter=omreport-system,sudo /opt/dell/srvadmin/bin/omreport system -fmt ssv | grep "Main System Chassis" | cut -d ";" -f 1 | grep -c "Ok"
|
||||||
|
UserParameter=omreport-storage[*],sudo /opt/dell/srvadmin/bin/omreport storage $1 | grep Status | cut -d ":" -f 2 | grep -c Ok
|
||||||
|
UserParameter=omreport-storage-controller,sudo /opt/dell/srvadmin/bin/omreport storage controller | grep Status | cut -d ":" -f 2 | grep -c -e Ok -e "Non-Critical"
|
||||||
|
UserParameter=omreport-storage-battery,sudo /opt/dell/srvadmin/bin/omreport storage battery | grep -e Status -e State | cut -d ":" -f 2 | grep -c -e Ok -e Charging
|
||||||
|
UserParameter=omreport-chassis[*],sudo /opt/dell/srvadmin/bin/omreport chassis -fmt ssv | grep "$1" | cut -d ";" -f 1 | grep -c "Ok"
|
||||||
|
UserParameter=omreport-chassis-pwrmonitoring,sudo /opt/dell/srvadmin/bin/omreport chassis pwrmonitoring | grep "Status" | cut -d ":" -f 2 | grep -c "Ok"
|
||||||
|
UserParameter=omreport-chassis-pwrusage,sudo /opt/dell/srvadmin/bin/omreport chassis pwrmonitoring | grep Reading | head -1 | cut -d ":" -f 2 | tr -d " A-Z"
|
||||||
|
UserParameter=omreport-chassis-hwperformance,sudo /opt/dell/srvadmin/bin/omreport chassis hwperformance | grep "Status" | cut -d ":" -f 2 | grep -c "Normal"
|
||||||
|
UserParameter=omreport-chassis-firmware,sudo /opt/dell/srvadmin/bin/omreport chassis firmware -fmt ssv | grep DRAC | cut -d ";" -f 2
|
||||||
|
UserParameter=omreport-chassis-bios,sudo /opt/dell/srvadmin/bin/omreport chassis bios -fmt ssv | grep Version | cut -d ";" -f 2
|
||||||
|
UserParameter=omreport-storage-pdisk-status, sudo /opt/dell/srvadmin/bin/omreport storage pdisk controller=0 | grep "^Status" | grep -v ": Ok" | wc -l
|
||||||
|
UserParameter=omreport-storage-pdisk-state, sudo /opt/dell/srvadmin/bin/omreport storage pdisk controller=0 | grep "^State" | grep -v -e ": Online" -e ": Ready" | wc -l
|
||||||
|
UserParameter=omreport-tag, sudo /opt/dell/srvadmin/bin/omreport system summary | grep 'Chassis Service Tag' | awk -F ': ' '{ print $2}'
|
||||||
|
UserParameter=omreport-hardware, sudo /opt/dell/srvadmin/bin/omreport system summary | grep 'Chassis Model' | awk -F ': ' '{ print $2}'
|
1
zabbix_agentd.conf.d/opcache.conf
Normal file
1
zabbix_agentd.conf.d/opcache.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
UserParameter=opcache[*], curl --silent http://127.0.0.1/zabbix/opcache.php?item=$1
|
50
zabbix_agentd.conf.d/rabbit.conf
Normal file
50
zabbix_agentd.conf.d/rabbit.conf
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# Add to sudo: zabbix ALL=(ALL) NOPASSWD: /usr/sbin/rabbitmqctl
|
||||||
|
|
||||||
|
# Versions
|
||||||
|
UserParameter=rabbitmq_management,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"RabbitMQ Management Console",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=rabbitmq_web_dispatch,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"RabbitMQ Web Dispatcher",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=webmachine,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"webmachine",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=mochiweb,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"MochiMedia Web Server",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=web-stomp,/etc/zabbix/bin/rabbitmqctl.sh | grep -A1 '"Rabbit WEB-STOMP - WebSockets to Stomp adapter"' | tail -1 | cut -d'"' -f2
|
||||||
|
UserParameter=stomp,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"Embedded Rabbit Stomp Adapter",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=rabbitmq_management_agent,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"RabbitMQ Management Agent",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=rabbit,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"RabbitMQ",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=amqp_client,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"RabbitMQ AMQP Client",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=erlang-ssl,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '"Erlang/OTP SSL application",".*"' | cut -d',' -f2 | tr -d \"
|
||||||
|
|
||||||
|
# Memory
|
||||||
|
UserParameter=memory.total,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'total,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.connection_procs,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'connection_procs,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.queue_procs,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'queue_procs,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.plugins,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'plugins,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.other_proc,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'other_proc,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.mnesia,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'mnesia,[0-9]*}' | cut -d',' -f2 | tr -d \"}
|
||||||
|
UserParameter=memory.mgmt_db,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'mgmt_db,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.msg_index,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'msg_index,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.other_ets,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'other_ets,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.binary,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'binary,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.code,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'code,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.atom,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'atom,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=memory.other_system,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'other_system,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
|
||||||
|
UserParameter=vm_memory_high_watermark,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'vm_memory_high_watermark,.*' | cut -d',' -f2 | tr -d \"}
|
||||||
|
UserParameter=vm_memory_limit,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'vm_memory_limit,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=disk_free_limit,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'disk_free_limit,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=disk_free,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'disk_free,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
|
||||||
|
UserParameter=file_descriptors.total_limit,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'total_limit,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=file_descriptors.total_used,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'total_used,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=sockets_limit,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'sockets_limit,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=sockets_used,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'sockets_used,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
|
||||||
|
UserParameter=processes.limit,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '{limit,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=processes.used,/etc/zabbix/bin/rabbitmqctl.sh | grep -o '{used,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
|
||||||
|
UserParameter=run_queue,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'run_queue,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
UserParameter=uptime,/etc/zabbix/bin/rabbitmqctl.sh | grep -o 'uptime,[0-9]*' | cut -d',' -f2 | tr -d \"
|
||||||
|
|
||||||
|
#Queues
|
||||||
|
UserParameter=rabbitmq[*], /etc/zabbix/bin/rabbitmq.sh | grep $1 | cut -d ':' -f2
|
||||||
|
|
||||||
|
#RabbitMQ Status
|
||||||
|
UserParameter=rabbitmq_status, sudo /usr/sbin/rabbitmqctl status >/dev/null 2>&1; echo $?
|
3
zabbix_agentd.conf.d/security.conf
Normal file
3
zabbix_agentd.conf.d/security.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
UserParameter=selinux-enabled, [ "$(getenforce)" = "Enforcing" ] && echo 1 || echo 0
|
||||||
|
UserParameter=firewall-enabled, sudo /sbin/iptables -L INPUT -n | grep -ci 'tcp dpts:10050'
|
||||||
|
UserParameter=firewall-md5, sudo /sbin/iptables -L INPUT -n | cksum | cut -d " " -f 1
|
Loading…
Reference in New Issue
Block a user