In first phase I separated mysql, but impact to main server load was next to nothing.
Next, I made a test environment where Boost_server, boost_poller and RRD files are on a separate server and sharing RRD directory to main (web+poller) server via NFS. This setup seems very good. Test env contains 2k RRD-s, boost poller runs by crontab in every 15 min and run duration is less than 2 seconds. But boost_server on demand update gets broken after about 20 minutes of run. It starts to reject connections from main server:
Code: Select all
2008:02:07 12:55:29 - Host Connected '192.168.25.120'
02/07/2008 01:36:07 PM - BOOST SERVER: Poller[0] WARNING: Host '192.168.25.120' Not Authorized.
$config before:
Code: Select all
array (
'url_path' => '/cacti_test/',
'cacti_server_os' => 'unix',
'php_snmp_support' => true,
'base_path' => '/home/cacti/cacti_test',
'library_path' => '/home/cacti/cacti_test/lib',
'include_path' => '/home/cacti/cacti_test/include',
'rra_path' => '/home/cacti/cacti_test/rra',
'boost_version' => '1.8',
'config_options_array' =>
array (
'availability_method' => '2',
'ping_method' => '2',
'ping_port' => '23',
'ping_timeout' => '1000',
'ping_retries' => '0',
'snmp_ver' => '1',
'snmp_community' => '',
'snmp_username' => '',
'snmp_password' => '',
'snmp_auth_protocol' => 'MD5',
'snmp_priv_passphrase' => '',
'snmp_priv_protocol' => 'DES',
'snmp_port' => '161',
'snmp_timeout' => '500',
'max_get_size' => '50',
'boost_server_effective_user' => 'cacti',
'boost_server_listen_port' => '9051',
'path_rrdtool' => '/usr/bin/rrdtool',
'boost_path_rrdupdate' => '/usr/bin/rrdupdate',
'path_php_binary' => '/usr/bin/php',
'path_cactilog' => '/home/cacti/cacti_test/log/cacti.log',
'poller_verbosity' => NULL,
'log_verbosity' => '5',
'boost_server_multiprocess' => '1',
'boost_server_clients' => '192.168.25.120',
'log_destination' => '1',
),
'cacti_version' => '0.8.7a',
)
Code: Select all
array (
'url_path' => '/cacti_test/',
'cacti_server_os' => 'unix',
'php_snmp_support' => true,
'base_path' => '/home/cacti/cacti_test',
'library_path' => '/home/cacti/cacti_test/lib',
'include_path' => '/home/cacti/cacti_test/include',
'rra_path' => '/home/cacti/cacti_test/rra',
'boost_version' => '1.8',
'config_options_array' =>
array (
'availability_method' => '2',
'ping_method' => '2',
'ping_port' => '23',
'ping_timeout' => '1000',
'ping_retries' => '0',
'snmp_ver' => '1',
'snmp_community' => '',
'snmp_username' => '',
'snmp_password' => '',
'snmp_auth_protocol' => 'MD5',
'snmp_priv_passphrase' => '',
'snmp_priv_protocol' => 'DES',
'snmp_port' => '161',
'snmp_timeout' => '500',
'max_get_size' => '50',
'boost_server_effective_user' => 'cacti',
'boost_server_listen_port' => '9051',
'path_rrdtool' => '/usr/bin/rrdtool',
'boost_path_rrdupdate' => '/usr/bin/rrdupdate',
'path_php_binary' => '/usr/bin/php',
'path_cactilog' => '/home/cacti/cacti_test/log/cacti.log',
'poller_verbosity' => NULL,
'log_verbosity' => '5',
'boost_server_multiprocess' => '1',
'boost_server_clients' => '127.0.0.1',
'log_destination' => '1',
),
'cacti_version' => '0.8.7a',
)
I can handle this issue by some custom hacks but it is good to know if someone else had done similar setup and problems too