Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Sep 22, 2018 2:25 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Fresh install question
PostPosted: Mon Aug 13, 2018 9:38 am 
Offline

Joined: Thu Oct 17, 2013 3:24 pm
Posts: 4
Sorry if this is a simple thing, I sometimes tend to fumble with Linux.

Rather than upgrade my older version, 0.8.8b I thought I would start over. I created a new Debian 9.5.0 virtualbox, set it up and followed the directions on the download page listed under the sticky announcing 1.3.38,

Debian Linux users install Cacti using:

apt-get install cacti


What I end up with appears to be a 0.8.8h, just wondering if there is a different process than the one there or something I'm missing. I looked over the stuff on Github and seems to be more of an advanced user setup, and doesn't go into the install pieces on linux.

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Fresh install question
PostPosted: Mon Aug 13, 2018 10:03 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1439
That would be down to the package maintainers. If you use the backports repo, I think that does contain 1.1.x

Alternatively, the more advanced methods is that you can use GitHub. I have links in my signature for how I setup three sites at a time on a given OS. You can always trim that back to using just the "/usr/share/cacti/site" as a single site and ignore the other /usr/share/cacti/develop/ and /usr/share/cacti/feature/ ones.

One day, I may even write a page that just lets you pick the OS and number of sites, then creates the script for you.

You will also need to get the same version of Spine as your Cacti version. Again, my wiki has instructions on how to compile that.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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: Fresh install question
PostPosted: Mon Aug 13, 2018 10:09 am 
Offline

Joined: Thu Oct 17, 2013 3:24 pm
Posts: 4
Cool thank you. I figured it was something with the repos but didn't know how to point to one that might have the more current stuff.


Top
 Profile  
 
 Post subject: Re: Fresh install question
PostPosted: Mon Aug 13, 2018 3:14 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1439
https://backports.debian.org/

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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: Fresh install question
PostPosted: Tue Aug 14, 2018 3:52 pm 
Offline

Joined: Thu Oct 17, 2013 3:24 pm
Posts: 4
I actually found a site that gave a full step by step, and was able to locate a couple steps that had me stumbling. Thanks to Matt Vas for his writeup. https://www.howtoforge.com/tutorial/install-cacti-on-debian-9/


Top
 Profile  
 
 Post subject: Re: Fresh install question
PostPosted: Wed Aug 15, 2018 11:03 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1439
Looks like a fairly decent write up. Your only problem will following those guides is that you'll have to manually update your cacti sources and recompiled spine yourself when you do things this way. It's one of the things that stops people upgrading to new versions.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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: Fresh install question
PostPosted: Mon Aug 20, 2018 6:11 pm 
Offline

Joined: Thu Oct 17, 2013 3:24 pm
Posts: 4
Ok, one thing I can't find and it probably doesn't matter. Do we need to create a cacti user or do the install under a user other than root? Having some odd issues and am going to start fresh just wanted to check that.


Top
 Profile  
 
 Post subject: Re: Fresh install question
PostPosted: Mon Aug 20, 2018 7:13 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1439
So there are usually two parts to Cacti. The website, and the poller/spine. The website usually runs under the same user as what apache has been configured. For debian/ubuntu this is normally www-data which is a non-login user. The poller is run via a cron entry and that can run as either root or the website user, but can another user as long s it has write access to the rra folders.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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  [ 8 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 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