|
|
| Author |
Message |
Khan
Joined: 03 Nov 2003 Posts: 47 Location: Madtown, WI
|
Posted: Fri Nov 14, 2003 10:39 am Post subject: |
|
|
| raX wrote: | Hey guys, just want to give a BIG thanks to everyone that has helped test 0.8.4 so far. There are many bugs that simply would not have been caught by me alone if it weren't for this testing. I wanted to release 0.8.4 tomorrow, but there are still few a very minor issues that need worked out. Because rushing a release is bad, I'll hold off until Monday .
-Ian |
It was my pleasure. You've done a great job with this app. On a completely different point, is there a good step-by-step HOW-TO on creating custom Data Queries and Input Methods? The reason I ask is because I would like to add the ability to query my Citrix servers for specific data along with our VPN's and Firewall. I know that Cacti has this custom capability built-in...I just don't know where to start. Any and all help would be greatly appreciated. Thanks.
-ac |
|
| Back to top |
|
 |
Smite Guest
|
Posted: Fri Nov 14, 2003 11:27 am Post subject: Speed issues |
|
|
Great job with the update. Many of my issues with the program have been fixed.
First thing:
After upgrading from 0.8.3a, I've noticed in the beta a dramatic slowdown in the Data Query SNMP Interface Stats, probably due to the fact that the program now queries the mysql database to ascertain whether a graph type has already been employed for each indexed element (and draw a select box). Given the impact, I would rather it didn't do this. It's a nice feature, but too slow.
On a 2.66G P4 (server and client, both), I have to wait several minutes (with mysqld at 99%) to populate this one screen for a large network device -- like a switch with 400 interfaces. This used to take about seven seconds. This makes it very painful to add new graphs. I have dozens of devices like this (10,000 rrds).
Second item:
I receive excessive PHP errors (logged to syslog) like this:
| Code: |
Nov 14 09:15:28 sunmange httpd: PHP Notice: Undefined index: name in /usr/local/cacti/data_sources.php on line 1005
Nov 14 09:16:05 sunmange last message repeated 800 times
Nov 14 09:17:10 sunmange last message repeated 702 times
Nov 14 09:25:34 sunmange httpd: PHP Notice: Undefined index: title in /usr/local/cacti/graphs.php on line 1064
Nov 14 09:26:07 sunmange last message repeated 116 times
|
This also slows things down; I would like to fix this. Any suggestions on where to start? Should I do a mysqldump and restore?
Thanks. |
|
| Back to top |
|
 |
moonman Cacti User
Joined: 06 Sep 2003 Posts: 94
|
Posted: Sat Nov 15, 2003 9:30 am Post subject: Slow graph creation |
|
|
I have aggregation routers with more than 4000 interfaces on each one and i have two problems with them the first is that i get time out when i query the interface table may be you can add a configuration option for snmpwalk timeout because it sometime take more than 30 secondes. the second is that the browser is in 100 % cpu when i want to view the table i think its bequase the new javascript you add may be add an option to disable this javascript or disable it for host with more then 200 interfaces
Thanks |
|
| Back to top |
|
 |
raX Lead Developer
Joined: 13 Oct 2001 Posts: 2234 Location: Carlisle, PA
|
Posted: Sun Nov 16, 2003 8:14 pm Post subject: Re: Speed issues |
|
|
| Smite wrote: | | After upgrading from 0.8.3a, I've noticed in the beta a dramatic slowdown in the Data Query SNMP Interface Stats, probably due to the fact that the program now queries the mysql database to ascertain whether a graph type has already been employed for each indexed element (and draw a select box). Given the impact, I would rather it didn't do this. It's a nice feature, but too slow. |
If you go over the "Cacti Settings" and select the "Visual" tab, you should see a new option called "Data Queries - Maximum JavaScript Rows". Cacti will disable JavaScript for any device that returns more rows than are specified here. It currently defaults to '96'.
| Smite wrote: | I receive excessive PHP errors (logged to syslog) like this:
| Code: |
Nov 14 09:15:28 sunmange httpd: PHP Notice: Undefined index: name in /usr/local/cacti/data_sources.php on line 1005
Nov 14 09:16:05 sunmange last message repeated 800 times
Nov 14 09:17:10 sunmange last message repeated 702 times
Nov 14 09:25:34 sunmange httpd: PHP Notice: Undefined index: title in /usr/local/cacti/graphs.php on line 1064
Nov 14 09:26:07 sunmange last message repeated 116 times
|
|
This should be fixed in the latest pre-release as well. Let me know what you find.
-Ian |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|