Cisco ACE Load Balancer
Moderators: Developers, Moderators
Cisco ACE Load Balancer
Because Cisco ACE and CSM modules are using differents OID (even if they are based on the same MIB!), I start to study Cisco SLB from an previous topic (http://forums.cacti.net/about12448.html), and here is a first working host template with related script and ressource.
Only serverfarm objects and CPU are concerned. Real servers will be more hard, and I didn't find memory yet.
ACE Version 3.0(0)A1(6.2a)
Cacti Version 0.8.7b
Any comment or other try are welcome
Only serverfarm objects and CPU are concerned. Real servers will be more hard, and I didn't find memory yet.
ACE Version 3.0(0)A1(6.2a)
Cacti Version 0.8.7b
Any comment or other try are welcome
- Attachments
-
- ace_vserver.zip
- ACE VServer - Version 0.1 :
$CACTI_DIR/scripts/ss_ace_vserver.php
$CACTI_DIR/resource/script_server/ace_vserver.xml
cacti_host_template_cisco_ace_load_balancer.xml - (20.09 KiB) Downloaded 2746 times
am no getting the virtual servers ?
i aready put the xml and php files in the appropriate folders, is there something i miss ?? can you plz provide the oids for those virtual servers in the cisco ace 4710??
how can i run the php script from the command line ??
when i run it it gives me :
PHP Fatal error: Call to undefined function: read_config_option() in /usr/local/cacti/cacti-0.8.7b/lib/snmp.php on line 233
thx in advance
i aready put the xml and php files in the appropriate folders, is there something i miss ?? can you plz provide the oids for those virtual servers in the cisco ace 4710??
how can i run the php script from the command line ??
when i run it it gives me :
PHP Fatal error: Call to undefined function: read_config_option() in /usr/local/cacti/cacti-0.8.7b/lib/snmp.php on line 233
thx in advance
something is wrong
Verbose Query of Data Query under Devices seems working correctly, resolving name of virtual servers, but when I create a graph, the name of the graph is not correct.
This is an example:
LB-SIMI-ACE-1-Inside_Application_Servers - |query_VirtualServer|
Seems that virtual server name is missing...and graphs are not displayed...
Any tips? I don't know if this is a problem of the template or of my cacti....
Version of ace is Version A2(1.2) [build 3.0(0)A2(1.2)]
I attached verbose query:
This is an example:
LB-SIMI-ACE-1-Inside_Application_Servers - |query_VirtualServer|
Seems that virtual server name is missing...and graphs are not displayed...
Any tips? I don't know if this is a problem of the template or of my cacti....
Version of ace is Version A2(1.2) [build 3.0(0)A2(1.2)]
I attached verbose query:
- Attachments
-
- verbose_query.txt
- (7.51 KiB) Downloaded 1265 times
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
-
- Posts: 6
- Joined: Thu Jan 08, 2009 1:49 am
Nice, I will be giving this a try. Since I have a enviroment that runs in multiple context mode with hundreds of different VIPS / ServerFarms.
Software
loader: Version 12.2[120]
system: Version A2(1.0) [build 3.0(0)A2(1.0)
system image file: [LCP] disk0:c6ace-t1k9-mz.A2_1.bin
Software
loader: Version 12.2[120]
system: Version A2(1.0) [build 3.0(0)A2(1.0)
system image file: [LCP] disk0:c6ace-t1k9-mz.A2_1.bin
http://www.centauricom.com
ACE LB Template
I need a CPU Load Graph template for ACE Load Balancer.
Thanks
Thanks
CPU Graph template
Here is the CPU usage template (OID :.1.3.6.1.4.1.9.9.109.1.1.1.1.8.1)
- Attachments
-
- cacti_graph_template_cisco_ace_-_cpu_usage.xml
- (14.31 KiB) Downloaded 1664 times
torstentfk wrote:Hi,
importing into cacti 087a produces a "hash" error.
Do you have the data-query, data-template and graph-template as separat files? If I import the whole xml file I will blowup my interface -templates.
Torsten
I had than a couple of time when I'm dealing with diffrent version.
You can hack easily files by changing manualy version, but take care about synthax : certain functions are changing (argument numbers...).
-
- Posts: 4
- Joined: Thu Jan 22, 2009 4:45 pm
Nice plugin, finally I can graph my connections (I tried Cisco's ANM which is just....like any other Cisco managment software)
@tsy: I recommend that you raise the limit of current connections in the "NumberOfC" Data Source Item to something more reasonable like 25000 (or remove it completly). Unfortuatly I had to recreate all Graphs from scratch to apply this change.
Can it be that one run of the VServer Script collects both total and current connections? If so, then all data is gathered twice if you have a both graphs for a VServer...
@tsy: I recommend that you raise the limit of current connections in the "NumberOfC" Data Source Item to something more reasonable like 25000 (or remove it completly). Unfortuatly I had to recreate all Graphs from scratch to apply this change.
Can it be that one run of the VServer Script collects both total and current connections? If so, then all data is gathered twice if you have a both graphs for a VServer...
PHP query for SLB
I'm getting the following error when runnings (ss_slb_rserver.php) script for my Cisco CSM:
Fatal error: Call to undefined function: read_config_option() in /opt/DKWcacti/htdocs/lib/snmp.php on line 233
Anyone know what to do here?
Below is line 233:
$retries = read_config_option("snmp_retries");
Fatal error: Call to undefined function: read_config_option() in /opt/DKWcacti/htdocs/lib/snmp.php on line 233
Anyone know what to do here?
Below is line 233:
$retries = read_config_option("snmp_retries");
It's great to see someone create these templates as the ACE is very new. Unfortunately I cannot get graphs displayed.
I'm running 0.8.7d. I imported all the templates successfully, and the data query runs and picks up the single vserver in the context. I then created graphs direct from the device page (for both current and total connections).
However, graphs never display (rrd files do not get created), and all I get in the debug log output is this (repeated each poller cycle):
06/18/2009 06:38:04 PM - SPINE: Poller[0] Host[40] SNMP Result: Host responded to SNMP
06/18/2009 06:38:04 PM - SPINE: Poller[0] Host[40] RECACHE: Processing 2 items in the auto reindex cache for '192.168.32.8'
06/18/2009 06:38:04 PM - SPINE: Poller[0] Host[40] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
Any ideas?
I'm running 0.8.7d. I imported all the templates successfully, and the data query runs and picks up the single vserver in the context. I then created graphs direct from the device page (for both current and total connections).
However, graphs never display (rrd files do not get created), and all I get in the debug log output is this (repeated each poller cycle):
06/18/2009 06:38:04 PM - SPINE: Poller[0] Host[40] SNMP Result: Host responded to SNMP
06/18/2009 06:38:04 PM - SPINE: Poller[0] Host[40] RECACHE: Processing 2 items in the auto reindex cache for '192.168.32.8'
06/18/2009 06:38:04 PM - SPINE: Poller[0] Host[40] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
Any ideas?
Who is online
Users browsing this forum: No registered users and 4 guests