mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
additions to unix-agent. addition of basic munin-plugin support.
git-svn-id: http://www.observium.org/svn/observer/trunk@3088 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -49,7 +49,7 @@ $mysql_port = 3306;
|
||||
$mysql_ssl = FALSE; # Whether to use SSL to connect to MySQL.
|
||||
|
||||
$heartbeat = ''; # db.tbl in case you use mk-heartbeat from Maatkit.
|
||||
$cache_dir = '/tmp'; # If set, this uses caching to avoid multiple calls.
|
||||
$cache_dir = '/tmp'; # If set, this uses caching to avoid multiple calls.
|
||||
$cache_time = 30; # How long to cache data.
|
||||
|
||||
$chk_options = array (
|
||||
@@ -283,7 +283,7 @@ function ss_get_mysql_stats( $options ) {
|
||||
}
|
||||
|
||||
$sanitized_host = str_replace(array(":", "/"), array("", "_"), $host);
|
||||
$cache_file = "$cache_dir/mysql_stats.txt";
|
||||
$cache_file = "$cache_dir/observium-agent-mysql";
|
||||
debug("Cache file is $cache_file");
|
||||
|
||||
# First, check the cache.
|
||||
|
Reference in New Issue
Block a user