Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2012 8:48 am


ATTENTION: All users passwords have been cleared.
Please use the "Forgot Password" feature to reset your password.


All times are UTC - 5 hours




Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Cisco ACE Load Balancer
PostPosted: Sun Sep 28, 2008 5:15 am 
Offline

Joined: Tue Dec 18, 2007 3:29 pm
Posts: 5
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 :-)


Attachments:
File comment: 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

ace_vserver.zip [20.09 KiB]
Downloaded 1768 times
Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 03, 2008 4:33 am 
Offline

Joined: Fri Oct 03, 2008 4:33 am
Posts: 1
Nice one!


Last edited by lerra on Tue Nov 18, 2008 2:56 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2008 2:34 pm 
Offline
Cacti User

Joined: Tue Jun 17, 2008 12:44 pm
Posts: 118
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


Top
 Profile  
 
 Post subject: something is wrong
PostPosted: Wed Nov 19, 2008 9:11 am 
Offline

Joined: Mon Aug 27, 2007 10:36 am
Posts: 2
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:


Attachments:
verbose_query.txt [7.51 KiB]
Downloaded 752 times
Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 24, 2008 3:35 am 
Offline

Joined: Thu Oct 23, 2008 5:45 am
Posts: 2
Seems like the same problem we have with the original SLB templates. I think that is a problem with the type of array that the template uses, but I can't fix it yet.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 07, 2009 8:59 am 
Offline
Cacti User

Joined: Tue Apr 05, 2005 9:52 am
Posts: 367
Location: Munich, Germany
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 08, 2009 2:05 am 
Offline

Joined: Thu Jan 08, 2009 1:49 am
Posts: 2
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

_________________
http://www.centauricom.com


Top
 Profile  
 
 Post subject: ACE LB Template
PostPosted: Tue Mar 31, 2009 3:13 am 
Offline

Joined: Tue Mar 31, 2009 3:11 am
Posts: 2
I need a CPU Load Graph template for ACE Load Balancer.

Thanks


Top
 Profile  
 
 Post subject: CPU Graph template
PostPosted: Fri Apr 03, 2009 12:01 pm 
Offline

Joined: Tue Dec 18, 2007 3:29 pm
Posts: 5
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 939 times
Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 03, 2009 12:04 pm 
Offline

Joined: Tue Dec 18, 2007 3:29 pm
Posts: 5
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...).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 06, 2009 12:18 pm 
Offline

Joined: Tue Mar 31, 2009 3:11 am
Posts: 2
Thanks tsy!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 12, 2009 8:47 am 
Offline

Joined: Thu Jan 22, 2009 4:45 pm
Posts: 4
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...


Top
 Profile  
 
 Post subject: PHP query for SLB
PostPosted: Fri Jun 05, 2009 7:36 am 
Offline

Joined: Fri Jun 05, 2009 7:32 am
Posts: 1
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");


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 10, 2009 2:50 am 
Offline

Joined: Fri Sep 07, 2007 1:24 am
Posts: 8
Anyone got a working ACE script (RSERVER connections) ?

Current connections:
1.3.6.1.4.1.9.9.470.1.1.3.1.14

Total connections:
1.3.6.1.4.1.9.9.470.1.1.3.1.11

Failed connections:
1.3.6.1.4.1.9.9.470.1.1.3.1.12

Dropped connections: (not working for me)
1.3.6.1.4.1.9.9.470.1.1.3.1.13


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 18, 2009 11:42 am 
Offline

Joined: Wed Dec 05, 2007 12:25 pm
Posts: 21
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group