I've followed all the install instructions, including setting up a cron job, and even bounced cron, yet I don't see, to have any gathering taking place.
There are no errors I can see, and no RRDs either:
cacti]$ ls -la log rra
log:
total 8
drwxr-xr-x 2 cacti users 4096 Jul 14 06:36 .
drwxr-xr-x 11 root root 4096 Jul 15 08:18 ..
-rw-r--r-- 1 root root 0 Jul 14 06:36 rrd.log
rra:
total 8
drwxr-xr-x 2 cacti users 4096 Jul 15 14:10 .
drwxr-xr-x 11 root root 4096 Jul 15 08:18 ..
-rw-r--r-- 1 tom users 0 Jul 14 06:36 .placeholder
Anyone care to hazard a guess what may be up ?
The web interface is up and running fine.
No data gathering at all (lastest Cacti, RH9, Apache 2.0.40)
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Tue Jul 15, 2003 8:32 am
<pout>
No, that's fine, I won't use Cacti, NaP :-/
Have you tried to run cmd.php manually?
Some questions:
1) Have you defined polling hosts and data sources?
2) If you run cm.php (in the cacti directory) what does it report? You should see OIDs and data value (N:xxxxxx) updates to the rra's.
1) Have you defined polling hosts and data sources?
2) If you run cm.php (in the cacti directory) what does it report? You should see OIDs and data value (N:xxxxxx) updates to the rra's.
Oops that was cmd.php
Sorry about that typo.....I meant cmd.php in the cacti dir.
-
- Posts: 4
- Joined: Tue Jul 15, 2003 8:32 am
Re: Have you tried to run cmd.php manually?
I was just now running php cmd.php and it's gone off and done loads of stuff. Very odd. Seems to have created the RRDs now.wmelick wrote:Some questions:
1) Have you defined polling hosts and data sources?
2) If you run cm.php (in the cacti directory) what does it report? You should see OIDs and data value (N:xxxxxx) updates to the rra's.
I even get some graphs.
Really odd.
Ho hum
:goes off to play some more.
Yup
Yes, cmd.php triggers a bunch of stuff including the creation of rrd's if they are not there.
The way I make my cron work is to create some cactiuser as a user account, become that user then do a 'crontab -e' and make the first line like:
*/5 * * * * /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
The way I make my cron work is to create some cactiuser as a user account, become that user then do a 'crontab -e' and make the first line like:
*/5 * * * * /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
-
- Posts: 4
- Joined: Tue Jul 15, 2003 8:32 am
Re: Yup
I had it in /etc/crontabwmelick wrote:Yes, cmd.php triggers a bunch of stuff including the creation of rrd's if they are not there.
The way I make my cron work is to create some cactiuser as a user account, become that user then do a 'crontab -e' and make the first line like:
*/5 * * * * /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
All seems to be fine now. Very very odd.
Who is online
Users browsing this forum: No registered users and 0 guests