FreeBSD Bugzilla – Attachment 158060 Details for
Bug 201116
net-mgmt/cacti 0.8.8.d patch to fix delete data sources and starts perl scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch to fix data sources and perl scripts
cacti_patch.txt (text/plain), 4.41 KB, created by
Denys Razumov
on 2015-06-25 23:27:51 UTC
(
hide
)
Description:
patch to fix data sources and perl scripts
Filename:
MIME Type:
Creator:
Denys Razumov
Created:
2015-06-25 23:27:51 UTC
Size:
4.41 KB
patch
obsolete
>Index: files/patch-cacti.sql >=================================================================== >--- files/patch-cacti.sql (revision 0) >+++ files/patch-cacti.sql (working copy) >@@ -0,0 +1,23 @@ >+--- cacti.sql.orig 2015-06-08 20:57:49.000000000 +0300 >++++ cacti.sql 2015-06-26 01:16:45.824890486 +0300 >+@@ -193,13 +193,13 @@ >+ INSERT INTO data_input VALUES (1,'3eb92bb845b9660a7445cf9740726522','Get SNMP Data','',2); >+ INSERT INTO data_input VALUES (2,'bf566c869ac6443b0c75d1c32b5a350e','Get SNMP Data (Indexed)','',3); >+ INSERT INTO data_input VALUES (3,'274f4685461170b9eb1b98d22567ab5e','Unix - Get Free Disk Space','<path_cacti>/scripts/diskfree.sh <partition>',1); >+-INSERT INTO data_input VALUES (4,'95ed0993eb3095f9920d431ac80f4231','Unix - Get Load Average','perl <path_cacti>/scripts/loadavg_multi.pl',1); >+-INSERT INTO data_input VALUES (5,'79a284e136bb6b061c6f96ec219ac448','Unix - Get Logged In Users','perl <path_cacti>/scripts/unix_users.pl <username>',1); >+-INSERT INTO data_input VALUES (6,'362e6d4768937c4f899dd21b91ef0ff8','Linux - Get Memory Usage','perl <path_cacti>/scripts/linux_memory.pl <grepstr>',1); >+-INSERT INTO data_input VALUES (7,'a637359e0a4287ba43048a5fdf202066','Unix - Get System Processes','perl <path_cacti>/scripts/unix_processes.pl',1); >+-INSERT INTO data_input VALUES (8,'47d6bfe8be57a45171afd678920bd399','Unix - Get TCP Connections','perl <path_cacti>/scripts/unix_tcp_connections.pl <grepstr>',1); >+-INSERT INTO data_input VALUES (9,'cc948e4de13f32b6aea45abaadd287a3','Unix - Get Web Hits','perl <path_cacti>/scripts/webhits.pl <log_path>',1); >+-INSERT INTO data_input VALUES (10,'8bd153aeb06e3ff89efc73f35849a7a0','Unix - Ping Host','perl <path_cacti>/scripts/ping.pl <ip>',1); >++INSERT INTO data_input VALUES (4,'95ed0993eb3095f9920d431ac80f4231','Unix - Get Load Average','/usr/local/bin/perl <path_cacti>/scripts/loadavg_multi.pl',1); >++INSERT INTO data_input VALUES (5,'79a284e136bb6b061c6f96ec219ac448','Unix - Get Logged In Users','/usr/local/bin/perl <path_cacti>/scripts/unix_users.pl <username>',1); >++INSERT INTO data_input VALUES (6,'362e6d4768937c4f899dd21b91ef0ff8','Linux - Get Memory Usage','/usr/local/bin/perl <path_cacti>/scripts/linux_memory.pl <grepstr>',1); >++INSERT INTO data_input VALUES (7,'a637359e0a4287ba43048a5fdf202066','Unix - Get System Processes','/usr/local/bin/perl <path_cacti>/scripts/unix_processes.pl',1); >++INSERT INTO data_input VALUES (8,'47d6bfe8be57a45171afd678920bd399','Unix - Get TCP Connections','/usr/local/bin/perl <path_cacti>/scripts/unix_tcp_connections.pl <grepstr>',1); >++INSERT INTO data_input VALUES (9,'cc948e4de13f32b6aea45abaadd287a3','Unix - Get Web Hits','/usr/local/bin/perl <path_cacti>/scripts/webhits.pl <log_path>',1); >++INSERT INTO data_input VALUES (10,'8bd153aeb06e3ff89efc73f35849a7a0','Unix - Ping Host','/usr/local/bin/perl <path_cacti>/scripts/ping.pl <ip>',1); >+ INSERT INTO data_input VALUES (11,'80e9e4c4191a5da189ae26d0e237f015','Get Script Data (Indexed)','',4); >+ INSERT INTO data_input VALUES (12,'332111d8b54ac8ce939af87a7eac0c06','Get Script Server Data (Indexed)','',6); >+ > >Property changes on: files/patch-cacti.sql >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: files/patch-lib__api_data_source.php >=================================================================== >--- files/patch-lib__api_data_source.php (revision 0) >+++ files/patch-lib__api_data_source.php (working copy) >@@ -0,0 +1,11 @@ >+--- lib/api_data_source.php.bak 2015-06-08 20:57:48.000000000 +0300 >++++ lib/api_data_source.php 2015-06-26 01:57:04.835659385 +0300 >+@@ -42,7 +42,7 @@ >+ >+ function api_data_source_remove_multi($local_data_ids) { >+ // Shortcut out if no data >+- if (sizeof($local_data_ids)) { >++ if (!sizeof($local_data_ids)) { >+ return; >+ } >+ > >Property changes on: files/patch-lib__api_data_source.php >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201116
: 158060