General Cacti Setup Woes
Moderators: Developers, Moderators
General Cacti Setup Woes
Hello all
First time user of RRD / cacti here so apologise if i'm making some elementary mistakes!
I've deployed cacti via the tarball on a Debian Lenny box (can't use apt-get on this as we have mysql enterprise and we use the zend stack for php and apt-get would write over the zend installation and would have messed up the mysql_multi we have setup on the enterprise instance.)
We've had to compile our own snmp extension for the zend php instance and this is working fine but we don't appear to be generating graphs for any of the aspects we're monitoring.
These are the strange things I've noticed and a bit more informtaion about the setup:
The deployment is onto an amd 64bit machine and the tarball was downloaded straight from cacti so not too sure if this is 64 bit compliant?
The poller.php script resides on roots crontab (not too sure if this is working properly or if it should sit on the cacti users crontab is there a test i can do on this?)
rrd files are not being crated automatically in cacti/rra/, i've created 2 of them manually but still no graphs.
Any help would be vastly appreciated as i've had about a day of googling and meddling to fix this problem!
Thanks
Matt Smith
First time user of RRD / cacti here so apologise if i'm making some elementary mistakes!
I've deployed cacti via the tarball on a Debian Lenny box (can't use apt-get on this as we have mysql enterprise and we use the zend stack for php and apt-get would write over the zend installation and would have messed up the mysql_multi we have setup on the enterprise instance.)
We've had to compile our own snmp extension for the zend php instance and this is working fine but we don't appear to be generating graphs for any of the aspects we're monitoring.
These are the strange things I've noticed and a bit more informtaion about the setup:
The deployment is onto an amd 64bit machine and the tarball was downloaded straight from cacti so not too sure if this is 64 bit compliant?
The poller.php script resides on roots crontab (not too sure if this is working properly or if it should sit on the cacti users crontab is there a test i can do on this?)
rrd files are not being crated automatically in cacti/rra/, i've created 2 of them manually but still no graphs.
Any help would be vastly appreciated as i've had about a day of googling and meddling to fix this problem!
Thanks
Matt Smith
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: General Cacti Setup Woes
IMHO, this is the better way - you know what has happened with the install.Slithers wrote:I've deployed cacti via the tarball on a Debian Lenny box (can't use apt-get on this as we have mysql enterprise and we use the zend stack for php and apt-get would write over the zend installation and would have messed up the mysql_multi we have setup on the enterprise instance.)
Cacti is php source. It's not really 32 or 64 bit.Slithers wrote: The deployment is onto an amd 64bit machine and the tarball was downloaded straight from cacti so not too sure if this is 64 bit compliant?
Normally it runs as the Cacti user, and the rra and log directories should be owned by that user.Slithers wrote: The poller.php script resides on roots crontab (not too sure if this is working properly or if it should sit on the cacti users crontab is there a test i can do on this?)
You shouldn't have to do that.Slithers wrote: rrd files are not being crated automatically in cacti/rra/, i've created 2 of them manually but still no graphs.
Did you actually try the manual? There is a troubleshooting section in there that covers 'no graphs created' type problems...Slithers wrote: Any help would be vastly appreciated as i've had about a day of googling and meddling to fix this problem!
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Thanks for the fast response Howie
I'll hold my hands up i haven't checked the manual as i've been tearing through this and other forums as well as rrdtools site, and for some reason that simple action didn;t occur t me!
I can only put me not checking the manual down to me having what is known as a brain fart.
I'll check the manual now
I'll hold my hands up i haven't checked the manual as i've been tearing through this and other forums as well as rrdtools site, and for some reason that simple action didn;t occur t me!
I can only put me not checking the manual down to me having what is known as a brain fart.
I'll check the manual now
Hi
Thanks for the help, got a fair few graphs generated now, however one appears to be a thorn in my side:
I'm trying to monitor the traffic in and out over a server so i've got a data template setup which should run the following from cacti's crontab:
/usr/bin/rrdtool create \
/usr/local/cacti-0.8.7e/rra/dev1_traffic_in_18.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
However the file is never created, cacti can write to that folder as i have other rrd files made by cacti in there?
At the mo the poller is logging the following:
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3027
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3592
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3667
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3687
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 77
04/01/2010 03:35:01 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 178
Waiting on 1/2 pollers.
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 419
04/01/2010 03:35:02 PM - SYSTEM STATS: Time:1.2942 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:10
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 387
<!-- http://xhprof.dev1/?run=4bb4af168f79e&s ... rt=excl_wt -->cacti@**********:/usr/local/cacti-0.8.7e/log$ tail -100 poller.log
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/include/global.php on line 89
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/include/global.php on line 90
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 866
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 872
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 1183
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 1961
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3027
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3592
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3667
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3687
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 77
04/01/2010 03:40:01 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 178
Waiting on 1/2 pollers.
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 419
04/01/2010 03:40:03 PM - SYSTEM STATS: Time:1.3207 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:10
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 387
Not too sure on this one, so if anyone could give me a pointer that would be great.
Thanks
Matt Smith
Thanks for the help, got a fair few graphs generated now, however one appears to be a thorn in my side:
I'm trying to monitor the traffic in and out over a server so i've got a data template setup which should run the following from cacti's crontab:
/usr/bin/rrdtool create \
/usr/local/cacti-0.8.7e/rra/dev1_traffic_in_18.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
However the file is never created, cacti can write to that folder as i have other rrd files made by cacti in there?
At the mo the poller is logging the following:
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3027
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3592
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3667
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3687
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 77
04/01/2010 03:35:01 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 178
Waiting on 1/2 pollers.
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 419
04/01/2010 03:35:02 PM - SYSTEM STATS: Time:1.2942 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:10
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 387
<!-- http://xhprof.dev1/?run=4bb4af168f79e&s ... rt=excl_wt -->cacti@**********:/usr/local/cacti-0.8.7e/log$ tail -100 poller.log
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/include/global.php on line 89
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/include/global.php on line 90
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 866
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 872
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 1183
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 1961
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3027
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3592
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3667
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cacti-0.8.7e/lib/adodb/adodb.inc.php on line 3687
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 77
04/01/2010 03:40:01 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 178
Waiting on 1/2 pollers.
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function ereg_replace() is deprecated in /usr/local/cacti-0.8.7e/lib/rrd.php on line 29
OK u:0.00 s:0.00 r:1.01
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 419
04/01/2010 03:40:03 PM - SYSTEM STATS: Time:1.3207 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:10
Deprecated: Function split() is deprecated in /usr/local/cacti-0.8.7e/poller.php on line 387
Not too sure on this one, so if anyone could give me a pointer that would be great.
Thanks
Matt Smith
Who is online
Users browsing this forum: No registered users and 3 guests