Installing on Ubuntu, Reality check

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

Moderators: Developers, Moderators

Post Reply
arst
Posts: 1
Joined: Tue Dec 01, 2009 9:34 am

Installing on Ubuntu, Reality check

Post by arst »

I just finished installing Cacti on an Ubuntu server using apt-get. It appears to work, it shows up with URL: http://OurServer/cacti The graphs do update also.

Now I try to follow the document "Install and Configure Cacti" (under Unix). http://server-a.icommerce.se/cacti/docs ... cacti.html

A number of things just seems different on my server:

* No new Unix level user for Cacti is created
* In cacti home dir (/usr/share/cacti or /usr/share/cacti/site) there is no directory rra or log, so I cannot do:

Code: Select all

chown -R cactiuser rra/ log/
(no such user, no such directories)
* No new line has been added to our crontab (I checked /etc/crontab and crontab -e)

Basically I feel the apt-get installed version of Cacti is a bit removed from what I see on my Ubuntu system.

Questions:
* No need to create a Unix level user for cacti?
* Where is Cacti cron job stored? (Apparently Cacti does update. My crontab has no cacti entry).

If someone can point me in the right direction for Ubuntu/Debian + Cacti... that is appreciated.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There have been some documents both in the forums (please search) and outside.
The basic reason is, that Ubuntu maintainers applied some changes to our file layout and perhaps more without discussing this in the open.
So I'm personally stumped, and more, can't change the Ubuntu package.
R.
disH
Posts: 33
Joined: Thu May 22, 2008 2:09 am

Re: Installing on Ubuntu, Reality check

Post by disH »

arst wrote:I just finished installing Cacti on an Ubuntu server using apt-get. It appears to work, it shows up with URL: http://OurServer/cacti The graphs do update also.

Now I try to follow the document "Install and Configure Cacti" (under Unix). http://server-a.icommerce.se/cacti/docs ... cacti.html

A number of things just seems different on my server:

* No new Unix level user for Cacti is created
* In cacti home dir (/usr/share/cacti or /usr/share/cacti/site) there is no directory rra or log, so I cannot do:

Code: Select all

chown -R cactiuser rra/ log/
(no such user, no such directories)
* No new line has been added to our crontab (I checked /etc/crontab and crontab -e)

Basically I feel the apt-get installed version of Cacti is a bit removed from what I see on my Ubuntu system.

Questions:
* No need to create a Unix level user for cacti?
* Where is Cacti cron job stored? (Apparently Cacti does update. My crontab has no cacti entry).

If someone can point me in the right direction for Ubuntu/Debian + Cacti... that is appreciated.
cacti cron is in /etc/crond.d/cacti
i run as www-data user (same as apache), this just makes it easier.

Since you installed using apt-get, you can skip the installation document.
Its all already done for you (including the mysql stuff)
.. You are ready to start using your Cacti.

I do suggest you do a,
chmod u+s /bin/ping

This will allow ICMP ping to be used by cacti.
[url=http://forums.cacti.net/viewtopic.php?t=4356]Template: Cisco CatOS[/url]
[url=http://forums.cacti.net/viewtopic.php?t=21785]Mactrack: Netscreen Fw[/url]
[b]_______________[/b]
[b]Cacti Version[/b] - 0.8.7e, [b]Plugin Architecture[/b] - 2.5, [b]Poller Type[/b] - Cact-Spine 0.8.7e
[b]Server Info[/b] - Ubuntu Server 8.10 (2.6.27-7-server), [b]Web Server[/b] - Apache/2.2.9 PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch
[b]PHP[/b] - 5.2.6-2ubuntu4.3, [b]MySQL[/b] - 5.0.67-0ubuntu6-log, [b]RRDTool[/b] - 1.3.1, [b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Thresholds v0.4.1, Login Mod v1.0, Host Info v0.2
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests