Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Nov 20, 2018 8:46 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Mon Jul 09, 2018 3:00 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
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.

Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Tue Jul 10, 2018 2:05 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
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.

Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Tue Jul 10, 2018 7:58 pm 
Offline
Cacti User
User avatar

Joined: Wed Jul 20, 2016 8:00 pm
Posts: 174
On page 16 onward you state

Quote:
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.1.37
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
Code:
SYSTEM STATS: Time:17.7383 Method:spine Processes:1 Threads:10 Hosts:279 HostsPerProcess:279 DataSources:7309 RRDsProcessed:3718

Code:
WEATHERMAP STATS: Weathermap 0.98 run complete - Thu, 16 Nov 17 08:42:56 +1300: 39 maps were run in 23.22 seconds with 0 warnings.


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Wed Jul 11, 2018 6:25 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
Updated to draft 1.4


Last edited by tmbutterworth on Thu Jul 12, 2018 2:55 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Wed Jul 11, 2018 6:29 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
Pucho wrote:
On page 16 onward you state

Quote:
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.


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Thu Jul 12, 2018 2:43 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1696
Actually, the installer displays the values that are active. If it is showing the wrong values, you are incorrectly assuming the installer is wrong.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Thu Jul 12, 2018 2:59 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
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


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Thu Jul 12, 2018 5:40 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1696
Cacti gets it's values direct from the DB. Try running the mysql client and issuing the following command to see:

Code:
SHOW GLOBAL VARIABLES

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Fri Jul 13, 2018 8:04 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
netniV wrote:
Cacti gets it's values direct from the DB. Try running the mysql client and issuing the following command to see:

Code:
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.


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Fri Jul 13, 2018 8:50 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1696
You may find another configuration file is overriding them.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Sat Jul 14, 2018 9:11 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
netniV wrote:
Cacti gets it's values direct from the DB. Try running the mysql client and issuing the following command to see:

Code:
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.


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Mon Jul 16, 2018 6:44 pm 
Offline
Cacti User
User avatar

Joined: Wed Jul 20, 2016 8:00 pm
Posts: 174
Sorry to insist but I'd still change this part

Code:
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.1.37
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
Code:
SYSTEM STATS: Time:17.7383 Method:spine Processes:1 Threads:10 Hosts:279 HostsPerProcess:279 DataSources:7309 RRDsProcessed:3718

Code:
WEATHERMAP STATS: Weathermap 0.98 run complete - Thu, 16 Nov 17 08:42:56 +1300: 39 maps were run in 23.22 seconds with 0 warnings.


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Mon Jul 16, 2018 9:41 pm 
Offline

Joined: Sat Jul 07, 2018 6:05 pm
Posts: 12
Pucho wrote:
Sorry to insist but I'd still change this part

Code:
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.


Top
 Profile  
 
 Post subject: Re: Cacti 1.1 openSUSE 15.0 Installation Configuration Guide
PostPosted: Tue Jul 17, 2018 5:23 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1696
Oh, and if I was you... I would actually start looking at the 1.2 installer, it looks and feels completely different :)

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group