Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

All I wrote an book about Cacti 1.1 on openSUSE 15.0 how can I get it published with the other Cacti documentation?

Book is located here:
https://drive.google.com/open?id=1r_uCB ... YzsFxCsuN7
Last edited by tmbutterworth on Wed Aug 01, 2018 11:33 pm, edited 2 times in total.
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

I updated it and added more content. Here is the link for Draft 1.3
Last edited by tmbutterworth on Thu Jul 12, 2018 2:55 pm, edited 1 time in total.
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by Pucho »

On page 16 onward you state
If you completed the my.cnf configuration section then it is safe to ignore the lines in red text.
I think you are more likely to create confusion here because your settings for my.cnf come from Cacti's setup recommendations which could change based on server's specs, correct me if I'm wrong.

OR if you insist on your way...after you setup my.cnf instruct the users to restart mariadb so when the user gets to the installation wizard all those recommendation will NOT appear in red ;)

BUT again, it's not like you're guessing (are you?) what parameters to change and what values to set so I'd stick to follow Cacti's installation process and recommend the user to make the changes suggest by Cacti.

Also when you mention plugins and those that have been absorbed to Cacti's core, there are others that Cacti officially supports and maintains as well and those can be found on github.

https://github.com/cacti

Hopefully one day they'll sort out the plugin and templates section which is a bit broken for new users to post.
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

Updated to draft 1.4
Last edited by tmbutterworth on Thu Jul 12, 2018 2:55 pm, edited 1 time in total.
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

Pucho wrote:On page 16 onward you state
If you completed the my.cnf configuration section then it is safe to ignore the lines in red text.
I think you are more likely to create confusion here because your settings for my.cnf come from Cacti's setup recommendations which could change based on server's specs, correct me if I'm wrong.

OR if you insist on your way...after you setup my.cnf instruct the users to restart mariadb so when the user gets to the installation wizard all those recommendation will NOT appear in red ;)

BUT again, it's not like you're guessing (are you?) what parameters to change and what values to set so I'd stick to follow Cacti's installation process and recommend the user to make the changes suggest by Cacti.

Also when you mention plugins and those that have been absorbed to Cacti's core, there are others that Cacti officially supports and maintains as well and those can be found on github.

https://github.com/cacti

Hopefully one day they'll sort out the plugin and templates section which is a bit broken for new users to post.
The settings for tunning MariaDB, my.cnf, are Cacti's recommended but for some reason the Installation Wizard does not recognize them. So I just recommend the errors are ignored since I know they were set correctly. Thanks for the feedback I will expand on the comment more in the next draft release.

I don't want to start listing all the plugins and templates on GitHub or self hosted sites but I will add a note that other sources do exist.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by netniV »

Actually, the installer displays the values that are active. If it is showing the wrong values, you are incorrectly assuming the installer is wrong.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

netniV wrote:Actually, the installer displays the values that are active. If it is showing the wrong values, you are incorrectly assuming the installer is wrong.
I have had this issues when installing on openSUSE and debian. The setting in my.cnf are correct and it was restarted but the installer does not detect the changes. I did not give wwwrun permissions to read my.cnf and I do not think it does. I known my.cnf is being read when the mariadb service is started.

Did you give read permissions to my.cnf? I'm not sure how to resolve this?

thanks

Tim
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by netniV »

Cacti gets it's values direct from the DB. Try running the mysql client and issuing the following command to see:

Code: Select all

SHOW GLOBAL VARIABLES
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

netniV wrote:Cacti gets it's values direct from the DB. Try running the mysql client and issuing the following command to see:

Code: Select all

SHOW GLOBAL VARIABLES
thanks I'll take a look. Service mysql status shows that the /etc/my.cnf is being read as part of the service starting and the values in there are the Cacti recommended but for some reason they don't appear to be set.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by netniV »

You may find another configuration file is overriding them.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

netniV wrote:Cacti gets it's values direct from the DB. Try running the mysql client and issuing the following command to see:

Code: Select all

SHOW GLOBAL VARIABLES
Thanks I found the problem, I put the commands at the very bottom of the /etc/my.cnf and MariaDB was not reading that far down the file. I moved them up near the top and now the tunning settings are taking effect.
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by Pucho »

Sorry to insist but I'd still change this part

Code: Select all

If you completed the my.cnf configuration section then it is safe to ignore the lines in red text.
Best recommendation you can give to someone actually following a guide is make sure THAT part of the install is all good. As netniV 's said cacti shows active values either you haven't restarted mysql or you haven't changed them at all.

I've done several Cacti upgrades and I can tell you once you tuned up those values and press F5 the installer comes up with the new values right away.
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
tmbutterworth
Posts: 16
Joined: Sat Jul 07, 2018 6:05 pm

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by tmbutterworth »

Pucho wrote:Sorry to insist but I'd still change this part

Code: Select all

If you completed the my.cnf configuration section then it is safe to ignore the lines in red text.
Best recommendation you can give to someone actually following a guide is make sure THAT part of the install is all good. As netniV 's said cacti shows active values either you haven't restarted mysql or you haven't changed them at all.

I've done several Cacti upgrades and I can tell you once you tuned up those values and press F5 the installer comes up with the new values right away.
I found the problem, I put the commands at the very bottom of the /etc/my.cnf and MariaDB was not reading that far down the file due to an error in the file itself. I moved them up near the top and now the tunning settings are taking effect. I have already updated the installation section but took it offline to work on it more.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide

Post by netniV »

Oh, and if I was you... I would actually start looking at the 1.2 installer, it looks and feels completely different :)
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests