diff options
author | M.Gergo | 2020-04-08 17:51:47 +0200 |
---|---|---|
committer | M.Gergo | 2020-04-08 17:51:47 +0200 |
commit | 6e512fa08f6dd2e7dd3c48ed484f5cc38afc5913 (patch) | |
tree | 05d789e670e4f1e00dc316c070aac1bf115144d8 /egyéb/munin/mayor_munin.php | |
parent | b5c46b6ef04a9c29de44965d76877603df094538 (diff) | |
download | mayor-6e512fa08f6dd2e7dd3c48ed484f5cc38afc5913.tar.gz mayor-6e512fa08f6dd2e7dd3c48ed484f5cc38afc5913.zip |
Munin grafikon
Diffstat (limited to 'egyéb/munin/mayor_munin.php')
-rwxr-xr-x | egyéb/munin/mayor_munin.php | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/egyéb/munin/mayor_munin.php b/egyéb/munin/mayor_munin.php index b533c0d0..dfb92efc 100755 --- a/egyéb/munin/mayor_munin.php +++ b/egyéb/munin/mayor_munin.php @@ -3,13 +3,10 @@ $ret = array(); $set['host'] = getenv('host'); -//$set['occ_user'] = getenv('occ_user'); //If "serverinfo" would be a part of occ commands... -//$set['occ_path'] = getenv('occ_path'); -$set['db_user'] = getenv('db_user'); -$set['db_pass'] = getenv('db_pass'); -$set['db_db'] = getenv('db_db'); -$set['db_host'] = getenv('db_host'); -$set['db_prefix'] = getenv('db_prefix'); +$set['db_user'] = strval(getenv('db_user')); +$set['db_pass'] = strval(getenv('db_pass')); +$set['db_db'] = "mayor_login"; +$set['db_host'] = strval(getenv('db_host')); $set['t_active'] = intval(getenv('t_active')); /* $set['db_user'] = "mayor-munin"; @@ -32,7 +29,7 @@ if (isset($argv[1]) and $argv[1] == "config"){ $cf .= "mayor_ip_sum.label Összes\n"; $cf .= "mayor_ip_sum.draw AREA\n"; - $cf .= "mayor_ip_sum.info Összes bejelentkezett felhasználó\n"; + $cf .= "mayor_ip_sum.info Összes bejelentkezett felhasználó +(a villámgyorsak)\n"; $cf .= "mayor_ip_k.label Külső IP\n"; $cf .= "mayor_ip_k.draw AREA\n"; |