Skip to content

Instantly share code, notes, and snippets.

@komeda-shinji
Created March 10, 2015 13:55
Show Gist options
  • Save komeda-shinji/764f7c1098e9a158fb65 to your computer and use it in GitHub Desktop.
Save komeda-shinji/764f7c1098e9a158fb65 to your computer and use it in GitHub Desktop.
observium config.php
--- config.php.default 2014-11-05 01:14:27.000000000 +0900
+++ config.php 2015-03-03 18:53:06.083227191 +0900
@@ -21,9 +21,40 @@
#$config['poller-wrapper']['alerter'] = TRUE;
// Set up a default alerter (email to a single address)
-$config['alerts']['alerter']['default']['descr'] = "Default Email Alert";
-$config['alerts']['alerter']['default']['type'] = "email";
-$config['alerts']['alerter']['default']['contact'] = "[email protected]";
-$config['alerts']['alerter']['default']['enable'] = TRUE;
+#$config['alerts']['alerter']['default']['descr'] = "Default Email Alert";
+#$config['alerts']['alerter']['default']['type'] = "email";
+#$config['alerts']['alerter']['default']['contact'] = "[email protected]";
+#$config['alerts']['alerter']['default']['enable'] = TRUE;
+
+$config['base_url_path'] = "/observium/";
+$config['base_url'] = $config['base_url_path'];
+
+$config['fping'] = "/usr/sbin/fping";
+$config['fping6'] = "/usr/sbin/fping6";
+
+$config['rrd_dir'] = $config['install_dir'] . "/rrd";
+
+mb_language('Japanese');
+$config['rrdtool'] = "env LANG=ja_JP.UTF-8 /usr/local/bin/rrdtool";
+
+// situs modified
+// 64 days of 5 min 797 days of 1 day
+$config['rrd']['rra'] = "RRA:AVERAGE:0.5:1:18432 RRA:AVERAGE:0.5:288:797 ";
+// 64 days of 30 min 797 days of 1 day
+$config['rrd']['rra'] .= "RRA:MIN:0.5:6:3072 RRA:MIN:0.5:288:797 ";
+$config['rrd']['rra'] .= "RRA:MAX:0.5:6:3072 RRA:MAX:0.5:288:797 ";
+
+$config['rrdcached'] = "unix:/var/opt/rrd/rrdcached/rrdcached.sock";
+
+$config['web_mouseover'] = 0; // FALSE; // Enable or disable mouseover popups.
+$config['frontpage']['map']['region'] = "JP";
+$config['frontpage']['map']['resolution'] = "provinces";
+$config['frontpage']['map']['dotsize'] = 4;
+$config['frontpage']['map']['realworld'] = false;
+$config['frontpage']['order'] = array('status_summary', 'device_status', 'eventlog');
+
+$config['log_file'] = $config['log_dir'] . "/observium.log";
+
+$config['collectd_dir'] = '/var/lib/collectd/rrd';
// End config.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment