Search found 20 matches

by lorell
Tue Mar 08, 2011 5:16 pm
Forum: Addons for Cacti
Topic: ISP Billing Script - Nth Percentile and Bandwidth (Updated)
Replies: 48
Views: 123122

Re: ISP Billing Script - Nth Percentile and Bandwidth

Please contact me with info about this script. I need to get this going on my network.

Thanks,

Lorell Hathcock lorell at officeconnect dot net
by lorell
Thu Dec 29, 2005 4:56 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

sonething wrong with crontab

Here's the line in crontab to execute poller.php: crontab -u root -e * * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /tmp/polleroutput.txt But it does not seem to be running Every minute it is running (for testing purposes.) Here's the listing of /tmp/polleroutput.txt: ls -l /tmp/p...
by lorell
Tue Dec 20, 2005 1:51 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

ping - anyone out there?
by lorell
Mon Dec 05, 2005 5:45 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

This is what my line in crontab -u root -e looks like: */1 * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /tmp/polleroutput.txt The proceeding */1 says to run every minute instead of every five minutes like cacti should run. I did this to decrease the amount of time I have to spend ...
by lorell
Mon Dec 05, 2005 5:43 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

When I su'ed to cactiuser, and ran the script manually, the /tmp/polleroutput.txt file was created. It contained this: OK u:0.00 s:0.00 r:1.03 OK u:0.00 s:0.00 r:1.06 OK u:0.00 s:0.00 r:1.06 OK u:0.00 s:0.00 r:1.07 OK u:0.00 s:0.00 r:1.07 OK u:0.00 s:0.00 r:1.07 OK u:0.00 s:0.01 r:1.08 OK u:0.00 s:0...
by lorell
Mon Dec 05, 2005 5:41 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

Well, as the savvy reader can tell, I created my own permissions problem. After I got that figured out, the polleroutput.txt file was still 0 bytes: -rw-r--r-- 1 cactiuser cactiuser 0 Dec 5 16:40 polleroutput.txt Each minute (as per my crontab file) it re-creates a zero byte /tmp/polleroutput.txt fi...
by lorell
Mon Dec 05, 2005 5:18 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

crontab posts a completely blank file!

Aargh! Back to the drawing board.
[[email protected] tmp]# ls -l | grep poller
-rw-r--r-- 1 root root 0 Dec 5 16:18 polleroutput.txt
by lorell
Mon Dec 05, 2005 5:17 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

Done. Now we play the waiting game! This is what is output when run from command line as root: OK u:0.01 s:0.00 r:1.05 OK u:0.02 s:0.01 r:1.07 OK u:0.03 s:0.01 r:1.09 OK u:0.06 s:0.01 r:1.12 OK u:0.07 s:0.01 r:1.13 OK u:0.08 s:0.01 r:1.14 OK u:0.10 s:0.01 r:1.16 OK u:0.12 s:0.01 r:1.25 OK u:0.13 s:0...
by lorell
Wed Nov 23, 2005 5:46 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

crontab simulation: [[email protected] ~]# su cactiuser [[email protected] root]$ php /var/www/html/cacti/poller.php OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.03 OK u...
by lorell
Wed Nov 23, 2005 5:19 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

1. Done. 2. Done. (Did not change.) 3. Done. 4. Results: [[email protected] cacti]# php poller.php OK u:0.00 s:0.01 r:1.03 OK u:0.00 s:0.01 r:1.04 OK u:0.00 s:0.01 r:1.04 OK u:0.00 s:0.01 r:1.04 OK u:0.00 s:0.01 r:1.04 OK u:0.00 s:0.01 r:1.06 OK u:0.00 s:0.01 r:1.06 OK u:0.00 s:0.01 r:1.07 OK u:0.00 s:0.01 r...
by lorell
Wed Nov 23, 2005 5:03 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

Here's the output from poller.php: [[email protected] bin]# /var/www/html/cacti/poller.php OK u:0.00 s:0.00 r:0.16 OK u:0.00 s:0.01 r:0.16 ERROR: illegal attempt to update using time 1132782593 when last update time is 1132782593 (minimum one second step) No log handling enabled - turning on stderr logging C...
by lorell
Wed Nov 23, 2005 4:48 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

I executed this:
chmod +s /usr/bin/rrdtool
But that has not helped the other graphs show up. THey still get the permissions in the debug graph menu.

What is going on here?

Thanks!
by lorell
Wed Nov 23, 2005 4:17 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

When I ran the following as root, rrdtool created the file as such: /usr/bin/rrdtool create \ /var/www/html/cacti/rra/pix_traffic_in_36.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:...
by lorell
Wed Nov 23, 2005 4:09 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

Debug for one of the data sources: Data Source Debug /usr/bin/rrdtool create \ /var/www/html/cacti/rra/pix_traffic_in_36.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:AV...
by lorell
Wed Nov 23, 2005 3:52 pm
Forum: Help: General
Topic: new cacti install - no graphs are created
Replies: 25
Views: 3551

I understand that Cacti is a GUI front-end for RRDTool. But what is the source of these missing *.rrd files?

I think that these are supposed to be generated by Cacti when I add the device and choose what my data sources are supposed to be. Did I skip a step?