New Paste

 

Recent Pastes

Administrate




Pastebin on p.luis.im

PasteID: 1iv
Pasted by Anonymous, 2019-06-11 06:06:25 GMT
Expires Never
Paste size 13.67 Kb
Tools Raw   Download
 
  1. Sorry, we could not process your last action.  
  2. Error:	200 OK  
  3. Reason:	  
  4. Warning: sizeof(): Parameter must be an array or an object that implements Countable in /usr/share/webapps/cacti/lib/utility.php on line 1430  
  5. {"Mode":3,"Step":"2","Errors":{"Permission":{"\/usr\/share\/webapps\/cacti\/resource\/snmp_queries":"Path was not writable","\/usr\/share\/webapps\/cacti\/resource\/script_server":"Path was not writable","\/usr\/share\/webapps\/cacti\/resource\/script_queries":"Path was not writable","\/usr\/share\/webapps\/cacti\/scripts":"Path was not writable","\/usr\/share\/webapps\/cacti\/cache\/boost":"Path is not writable","\/usr\/share\/webapps\/cacti\/cache\/mibcache":"Path is not writable","\/usr\/share\/webapps\/cacti\/cache\/realtime":"Path is not writable","\/usr\/share\/webapps\/cacti\/cache\/spikekill":"Path is not writable"},"Modules":["ctype is missing","PDO is missing","zlib is missing","xml is missing","standard is missing","spl is missing","sockets is missing","simplexml is missing","session is missing","pdo_mysql is missing","pcre is missing","date is missing","openssl is missing","mbstring is missing","ldap is missing","json is missing","hash is missing","gmp is missing","gd is missing","filter is missing","posix is missing"]},"Eula":"1","Prev":{"Text":"Previous","Step":1,"Enabled":true,"Visible":true},"Next":{"Text":"Next","Step":3,"Enabled":false,"Visible":true},"Test":{"Text":"Test Connection","Step":-4,"Enabled":true,"Visible":false},"Theme":"classic","StepData":{"Sections":{"location":2,"php_modules":0,"php_optional":1,"mysql_timezone":2,"mysql_performance":0,"php_recommends_web":2,"php_recommends_cli":2}},"Html":"  
  6. Pre-installation Checks<\/h2>  
  7. Location checks<\/h3>  
  8. Your Cacti configuration has the relative correct path (url_path) in config.php.<\/p><\/div>  
  9.   
  10. PHP - Recommendations (web)<\/h3>  
  11. PHP Recommendations<\/span><\/div>\n <\/span><\/div><\/div>\n\n\t\n\t\n\t\n\t  
  12. Name<\/th>\n	Current<\/th>\n	Recommended<\/th>\n	Status<\/th>\n	Description<\/th>\n<\/tr>\n  
  13. version<\/td>\n\t	7.3.5<\/td>\n\t	>= 5.4.0<\/td>\n\t	Passed<\/font><\/td>\n\t	PHP 5.4.0 is the mimimum version<\/td>\n<\/tr>\n  
  14. memory_limit<\/td>\n\t	512M<\/td>\n\t	>= 400M<\/td>\n\t	Passed<\/font><\/td>\n\t	A minimum of 400M MB memory limit<\/td>\n<\/tr>\n  
  15. max_execution_time<\/td>\n\t	600<\/td>\n\t	>= 60<\/td>\n\t	Passed<\/font><\/td>\n\t	A minimum of 60 m execution time<\/td>\n<\/tr>\n  
  16. date.timezone<\/td>\n\t	Australia\/Melbourne<\/td>\n\t	>= <\/td>\n\t	Passed<\/font><\/td>\n\t	A valid timezone that matches MySQL and the system<\/td>\n<\/tr>\n<\/table><\/div>\n<\/p><\/div>  
  17. PHP - Recommendations (cli)<\/h3>  
  18. PHP Recommendations<\/span><\/div>\n <\/span><\/div><\/div>\n  
  19. Name<\/th>\n	Current<\/th>\n	Recommended<\/th>\n	Status<\/th>\n	Description<\/th>\n<\/tr>\n  
  20. \nWarning<\/b>: Invalid argument supplied for foreach() in \/usr\/share\/webapps\/cacti\/lib\/installer.php<\/b> on line 1660<\/b>  
  21. \n<\/table><\/div>\n<\/p><\/div>  
  22. PHP - Module Support (Required)<\/h3>  
  23. Cacti requires several PHP Modules to be installed to work properly. If any of these are not installed, you will be unable to continue the installation until corrected. In addition, for optimal system performance Cacti should be run with certain MySQL system variables set. Please follow the MySQL recommendations at your discretion. Always seek the MySQL documentation if you have any questions.<\/p>  
  24.   
  25. The following PHP extensions are mandatory, and MUST be installed before continuing your Cacti install.<\/p>  
  26.   
  27. Required PHP Modules<\/span><\/div>\n <\/span><\/div><\/div>\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t  
  28. Name<\/th>\n	Required<\/th>\n	Installed<\/th>\n<\/tr>\n  
  29. ctype<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  30. PDO<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  31. zlib<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  32. xml<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  33. standard<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  34. spl<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  35. sockets<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  36. simplexml<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  37. session<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  38. pdo_mysql<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  39. pcre<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  40. date<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  41. openssl<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  42. mbstring<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  43. ldap<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  44. json<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  45. hash<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  46. gmp<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  47. gd<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  48. filter<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  49. posix<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n<\/table><\/div>\n<\/p><\/div>  
  50. PHP - Module Support (Optional)<\/h3>  
  51. The following PHP extensions are recommended, and should be installed before continuing your Cacti install. NOTE: If you are planning on supporting SNMPv3 with IPv6, you should not install the php-snmp module at this time.<\/p>  
  52.   
  53. Optional Modules<\/span><\/div>\n <\/span><\/div><\/div>\n\n\t\n\t\n\t\n\t  
  54. Name<\/th>\n	Optional<\/th>\n	Installed<\/th>\n<\/tr>\n  
  55. snmp<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  56. gettext<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  57. TrueType Box<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n  
  58. TrueType Text<\/td>\n\t	Yes<\/font><\/td>\n\t	Cli - No<\/font><\/td>\n<\/tr>\n<\/table><\/div>\n  
  59. <\/div><\/p><\/div>  
  60. MySQL - TimeZone Support<\/h3>  
  61. Your Cacti database account has access to the MySQL TimeZone database and that database is populated with global TimeZone information.<\/p><\/div>  
  62.   
  63. MySQL - Settings<\/h3>  
  64. These MySQL performance tuning settings will help your Cacti system perform better without issues for a longer time.<\/p>  
  65.   
  66. Recommended MySQL System Variable Settings<\/span><\/div>\n <\/span><\/div><\/div>\n\n  
  67. MariaDB Tuning (\/etc\/my.cnf) - [ Documentation<\/a> ] Note: Many changes below require a database restart<\/th>\n<\/tr>\n  
  68. \n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  
  69. Variable<\/th>\n	Current Value<\/th>\n	 <\/th>\n	Recommended Value<\/th>\n	Comments<\/th>\n<\/tr>\n<\/thead>\n  
  70. version<\/td>\n	10.3.15-MariaDB<\/td>\n	>=<\/td>\n	5.6<\/td>\n	MySQL 5.6+ and MariaDB 10.0+ are great releases, and are very good versions to choose. Make sure you run the very latest release though which fixes a long standing low level networking issue that was causing spine many issues with reliability.<\/td>\n<\/tr>\n  
  71. collation_server<\/td>\n	utf8mb4_unicode_ci<\/td>\n	=<\/td>\n	utf8mb4_unicode_ci<\/td>\n	When using Cacti with languages other than English, it is important to use the utf8mb4_unicode_ci collation type as some characters take more than a single byte.<\/td>\n<\/tr>\n  
  72. character_set_client<\/td>\n	utf8mb4<\/td>\n	=<\/td>\n	utf8mb4<\/td>\n	When using Cacti with languages other than English, it is important to use the utf8mb4 character set as some characters take more than a single byte.<\/td>\n<\/tr>\n  
  73. max_connections<\/td>\n	151<\/td>\n	>=<\/td>\n	100<\/td>\n	Depending on the number of logins and use of spine data collector, MariaDB will need many connections. The calculation for spine is: total_connections = total_processes * (total_threads + script_servers + 1), then you must leave headroom for user connections, which will change depending on the number of concurrent login accounts.<\/td>\n<\/tr>\n  
  74. max_allowed_packet<\/td>\n	16777216<\/td>\n	>=<\/td>\n	16777216<\/td>\n	With Remote polling capabilities, large amounts of data will be synced from the main server to the remote pollers. Therefore, keep this value at or above 16M.<\/td>\n<\/tr>\n  
  75. max_heap_table_size<\/td>\n	99M<\/td>\n	>=<\/td>\n	62M<\/td>\n	If using the Cacti Performance Booster and choosing a memory storage engine, you have to be careful to flush your Performance Booster buffer before the system runs out of memory table space. This is done two ways, first reducing the size of your output column to just the right size. This column is in the tables poller_output, and poller_output_boost. The second thing you can do is allocate more memory to memory tables. We have arbitrarily chosen a recommended value of 10% of system memory, but if you are using SSD disk drives, or have a smaller system, you may ignore this recommendation or choose a different storage engine. You may see the expected consumption of the Performance Booster tables under Console -> System Utilities -> View Boost Status.<\/td>\n<\/tr>\n  
  76. tmp_table_size<\/td>\n	64M<\/td>\n	>=<\/td>\n	62M<\/td>\n	When executing subqueries, having a larger temporary table size, keep those temporary tables in memory.<\/td>\n<\/tr>\n  
  77. join_buffer_size<\/td>\n	125M<\/td>\n	>=<\/td>\n	123M<\/td>\n	When performing joins, if they are below this size, they will be kept in memory and never written to a temporary file.<\/td>\n<\/tr>\n  
  78. innodb_file_per_table<\/td>\n	ON<\/td>\n	=<\/td>\n	ON<\/td>\n	When using InnoDB storage it is important to keep your table spaces separate. This makes managing the tables simpler for long time users of MariaDB. If you are running with this currently off, you can migrate to the per file storage by enabling the feature, and then running an alter statement on all InnoDB tables.<\/td>\n<\/tr>\n  
  79. innodb_file_format<\/td>\n	<\/td>\n	=<\/td>\n	Barracuda<\/td>\n	When using innodb_file_per_table, it is important to set the innodb_file_format to Barracuda. This setting will allow longer indexes important for certain Cacti tables.<\/td>\n<\/tr>\n  
  80. innodb_large_prefix<\/td>\n	<\/td>\n	=<\/td>\n	1<\/td>\n	If your tables have very large indexes, you must operate with the Barracuda innodb_file_format and the innodb_large_prefix equal to 1. Failure to do this may result in plugins that can not properly create tables.<\/td>\n<\/tr>\n  
  81. innodb_buffer_pool_size<\/td>\n	1024M<\/td>\n	>=<\/td>\n	963M<\/td>\n	InnoDB will hold as much tables and indexes in system memory as is possible. Therefore, you should make the innodb_buffer_pool large enough to hold as much of the tables and index in memory. Checking the size of the \/var\/lib\/mysql\/cacti directory will help in determining this value. We are recommending 25% of your systems total memory, but your requirements will vary depending on your systems size.<\/td>\n<\/tr>\n  
  82. innodb_doublewrite<\/td>\n	OFF<\/td>\n	=<\/td>\n	OFF<\/td>\n	With modern SSD type storage, this operation actually degrades the disk more rapidly and adds a 50% overhead on all write operations.<\/td>\n<\/tr>\n  
  83. innodb_lock_wait_timeout<\/td>\n	50<\/td>\n	>=<\/td>\n	50<\/td>\n	Rogue queries should not for the database to go offline to others. Kill these queries before they kill your system.<\/td>\n<\/tr>\n  
  84. innodb_flush_method<\/td>\n	fsync<\/td>\n	eq<\/td>\n	O_DIRECT<\/td>\n	Maximum I\/O performance happens when you use the O_DIRECT method to flush pages.<\/td>\n<\/tr>\n  
  85. innodb_flush_log_at_timeout<\/td>\n	3<\/td>\n	>=<\/td>\n	3<\/td>\n	As of MariaDB 10.3.15, the you can control how often MariaDB flushes transactions to disk. The default is 1 second, but in high I\/O systems setting to a value greater than 1 can allow disk I\/O to be more sequential<\/td>\n<\/tr>\n  
  86. innodb_read_io_threads<\/td>\n	32<\/td>\n	>=<\/td>\n	32<\/td>\n	With modern SSD type storage, having multiple read io threads is advantageous for applications with high io characteristics.<\/td>\n<\/tr>\n  
  87. innodb_write_io_threads<\/td>\n	16<\/td>\n	>=<\/td>\n	16<\/td>\n	With modern SSD type storage, having multiple write io threads is advantageous for applications with high io characteristics.<\/td>\n<\/tr>\n  
  88. innodb_buffer_pool_instances<\/td>\n	1<\/td>\n	>=<\/td>\n	9<\/td>\n	MariaDB will divide the innodb_buffer_pool into memory regions to improve performance. The max value is 64. When your innodb_buffer_pool is less than 1GB, you should use the pool size divided by 128MB. Continue to use this equation upto the max of 64.<\/td>\n<\/tr>\n  
  89. innodb_io_capacity<\/td>\n	200<\/td>\n	>=<\/td>\n	5000<\/td>\n	If you have SSD disks, use this suggestion. If you have physical hard drives, use 200 * the number of active drives in the array. If using NVMe or PCIe Flash, much larger numbers as high as 100000 can be used.<\/td>\n<\/tr>\n  
  90. innodb_io_capacity_max<\/td>\n	2000<\/td>\n	>=<\/td>\n	10000<\/td>\n	If you have SSD disks, use this suggestion. If you have physical hard drives, use 2000 * the number of active 
 
 
 
 
Written by Xan Manning, 2010.