1 |
diff -up smeserver-cacti-0.8.8b/root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql.patch7 smeserver-cacti-0.8.8b/root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql |
2 |
--- smeserver-cacti-0.8.8b/root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql.patch7 2013-11-10 10:10:55.000000000 -0500 |
3 |
+++ smeserver-cacti-0.8.8b/root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql 2013-11-10 11:02:00.000000000 -0500 |
4 |
@@ -2297,11 +2297,11 @@ CREATE TABLE IF NOT EXISTS `poller_item` |
5 |
-- |
6 |
|
7 |
INSERT INTO `poller_item` (`local_data_id`, `poller_id`, `host_id`, `action`, `present`, `hostname`, `snmp_community`, `snmp_version`, `snmp_username`, `snmp_password`, `snmp_auth_protocol`, `snmp_priv_passphrase`, `snmp_priv_protocol`, `snmp_context`, `snmp_port`, `snmp_timeout`, `rrd_name`, `rrd_path`, `rrd_num`, `rrd_step`, `rrd_next_step`, `arg1`, `arg2`, `arg3`) VALUES |
8 |
-(3, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'mem_buffers', '/opt/cacti/rra/localhost_mem_buffers_3.rrd', 1, 300, 0, 'perl /opt/cacti/scripts/linux_memory.pl MemFree:', '', ''), |
9 |
-(4, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'mem_swap', '/opt/cacti/rra/localhost_mem_swap_4.rrd', 1, 300, 0, 'perl /opt/cacti/scripts/linux_memory.pl SwapFree:', '', ''), |
10 |
-(5, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, '', '/opt/cacti/rra/localhost_load_1min_5.rrd', 1, 300, 0, 'perl /opt/cacti/scripts/loadavg_multi.pl', '', ''), |
11 |
-(6, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'users', '/opt/cacti/rra/localhost_users_6.rrd', 1, 300, 0, 'perl /opt/cacti/scripts/unix_users.pl ', '', ''), |
12 |
-(7, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'proc', '/opt/cacti/rra/localhost_proc_7.rrd', 1, 300, 0, 'perl /opt/cacti/scripts/unix_processes.pl', '', ''); |
13 |
+(3, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'mem_buffers', '/var/lib/cacti/rra/localhost_mem_buffers_3.rrd', 1, 300, 0, 'perl /var/lib/cacti/scripts/linux_memory.pl MemFree:', '', ''), |
14 |
+(4, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'mem_swap', '/var/lib/cacti/rra/localhost_mem_swap_4.rrd', 1, 300, 0, 'perl /var/lib/cacti/scripts/linux_memory.pl SwapFree:', '', ''), |
15 |
+(5, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, '', '/var/lib/cacti/rra/localhost_load_1min_5.rrd', 1, 300, 0, 'perl /var/lib/cacti/scripts/loadavg_multi.pl', '', ''), |
16 |
+(6, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'users', '/var/lib/cacti/rra/localhost_users_6.rrd', 1, 300, 0, 'perl /var/lib/cacti/scripts/unix_users.pl ', '', ''), |
17 |
+(7, 0, 1, 1, 1, '127.0.0.1', 'public', 0, '', '', 'MD5', '', 'DES', '', 161, 500, 'proc', '/var/lib/cacti/rra/localhost_proc_7.rrd', 1, 300, 0, 'perl /var/lib/cacti/scripts/unix_processes.pl', '', ''); |
18 |
|
19 |
-- -------------------------------------------------------- |
20 |
|
21 |
@@ -2437,11 +2437,11 @@ INSERT INTO `settings` (`name`, `value`) |
22 |
('path_snmpget', '/usr/bin/snmpget'), |
23 |
('path_snmpbulkwalk', '/usr/bin/snmpbulkwalk'), |
24 |
('path_snmpgetnext', '/usr/bin/snmpgetnext'), |
25 |
-('path_cactilog', '/opt/cacti/cacti.log'), |
26 |
+('path_cactilog', '/usr/share/cacti/log/cacti.log'), |
27 |
('snmp_version', 'net-snmp'), |
28 |
('rrdtool_version', 'rrd-1.4.x'), |
29 |
('poller_lastrun', '1196738701'), |
30 |
-('path_webroot', '/opt/cacti'), |
31 |
+('path_webroot', '/usr/share/cacti'), |
32 |
('date', '2007-12-04 04:25:01'), |
33 |
('stats_poller', 'Time:1.1283 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5'); |
34 |
|