Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have a simple perl script that telnets into a 7206VXR (and ESR) and collects the output from "show caller summary" and parses it into connected PPPoE, PPPoA, and PPPoVPDN. The script outputs all 3 data points
Some times it works, other times it doesn't....any ideas? And yes...I have verified that the info for the graph shown is consistently entered into the DB.
Hmm, what happens when you force a poller_boost.php run? Does it end properly or does php simply croak? I have found that some versions of PHP do not work acceptably. Also, can you tell me if your Database is on the same system as the poller?
Larry
True understanding begins only when we realize how little we truly understand...
You need to watch the boost process status and see that it actually ends. If it does not end properly, then, we need to understand what is causing it to hang up and then stop altogether. If it takes more than 5 minutes to complete a boost dump, then the number of rows remaining in the poller_output_boost table will remain non-zero.
So, watch from the Web Site while you run:
php -q poller_boost.php -f -d
TheWitness
True understanding begins only when we realize how little we truly understand...
CREATE TABLE `poller_output_boost` (
`local_data_id` mediumint(8) unsigned NOT NULL default '0',
`rrd_name` varchar(19) NOT NULL default '',
`time` datetime NOT NULL default '0000-00-00 00:00:00',
`output` varchar(512) NOT NULL,
PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)
) ENGINE=MEMORY DEFAULT CHARSET=latin1 |
Poller runs on one machine, I have disabled the "do_hook" in the poller.php that executes the poller_boost, and poller_boost is called via cron on a more robust machine...this machine also stores all the rrd's on a local drive which in turn exports those via NFS to the web server.
poller_boost appears to end just fine...
OK u:2.62 s:10.11 r:1260.73
OK u:2.62 s:10.11 r:1260.76
OK u:2.62 s:10.11 r:1260.78
08/01/2007 03:13:20 AM - SYSTEM BOOST STATS: Time:1303.4053 RRDUpdates:199968
Granted, its a little slow...but I am trying to remedy that with 15k RPM HD's in the near future.
Unfortunately, its the equivalent of 2 poller intervals. Although, in the time it is taking to run the poller has polled 4 times.
OUTPUT FROM du .
du .
2 ./.snap
9172068 .
RRD Files: 38574
08/01/2007 11:14:31 AM - SYSTEM BOOST STATS: Time:1231.1425 RRDUpdates:599470
08/01/2007 11:35:49 AM - SYSTEM BOOST STATS: Time:1249.0237 RRDUpdates:399959
08/01/2007 11:58:00 AM - SYSTEM BOOST STATS: Time:1320.2910 RRDUpdates:449731
08/01/2007 12:19:43 PM - SYSTEM BOOST STATS: Time:1242.4155 RRDUpdates:599393
08/01/2007 12:40:03 PM - SYSTEM BOOST STATS: Time:1203.1547 RRDUpdates:299983
08/01/2007 01:02:38 PM - SYSTEM BOOST STATS: Time:1297.6406 RRDUpdates:399928
08/01/2007 01:23:08 PM - SYSTEM BOOST STATS: Time:1207.9326 RRDUpdates:349966
08/01/2007 01:44:05 PM - SYSTEM BOOST STATS: Time:1204.8281 RRDUpdates:499908
Current Boost Status
Boost On Demand Updating: Running
Total Data Sources: 103212
Total Boost Records: 1168215
Those are the last few Boost stats...its all over the place, so I'm thinking about moving the SQL to the same machine so I am not updating over a wire. Also, I'm thinking that perhaps my mysql server may be taxed (still need to look into this). Do you know of anyone who is polling 100k+ datasources every 5 minutes and then using boost to update the RRD's? If so I'd like to talk to them about their setup and any tweaks they may have made to overcome so of them performance issues I am seeing.