Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Apr 18, 2019 12:12 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Foundry Networks ServerIron load balancer host template
PostPosted: Mon May 09, 2005 11:06 pm 
Offline

Joined: Sun May 08, 2005 11:25 am
Posts: 25
Here is a handy host template for Foundry ServerIron load balancers with all dependencies. This was built using ServerIron XL series devices. Includes total connections per second, total free sessions (gauge), cpu/mem util, and a handy 'various' graph. The various graph includes number of sessions per second closed by FIN/RST, sessions per second closed by timeout, and total drops due to unavailable destination port.

This is my first exported template. I started using Cacti 3 days ago and think it's way better than sliced bread. One thing I would like to know more about is adding new indexable objects. I don't know XML or RegEx at all well, but would like to add more graphs for connections per second per real server.

If anyone can point me to a good post on writing a new data query that would be great. Thanks for Cacti. More DVDs/CDs to Tobi and is there anything similar for Cacti?


Attachments:
cacti_host_template_foundry_serveriron.xml [163.97 KiB]
Downloaded 4763 times

_________________
Cliff Fogle
Sr. Network Engineer
Videoegg, Inc.
[email protected]


Last edited by boomboxnation on Fri May 13, 2005 1:12 am, edited 1 time in total.
Top
 Profile  
 
 Post subject: Hi,
PostPosted: Tue May 10, 2005 2:22 am 
Hi,

Was wondering if you can walk me thru this how to set this up? do I go to import template? and just paste in the .xml? Can you explain to me how to get this working..

thanks


Top
  
 
 Post subject: got it going thanks
PostPosted: Tue May 10, 2005 2:31 am 
Hi,

I import it as template and it work perfectly.. thanks for the template!!


Top
  
 
 Post subject: Good!
PostPosted: Tue May 10, 2005 11:58 pm 
Offline

Joined: Sun May 08, 2005 11:25 am
Posts: 25
I am glad you got it imported. One thing to note about foundry serverIron XL's is that the 64-bit counters for interface statistics, well, aren't 64-bit. At traffic rates above @ 100-110Mbps they trip out and start freaking. I've asked foundry to fix it, but so far nothing.

The Foundry MIB supports it's own set of interface counters that are highly detailed and 64-bit. I really would like to know how to add a new table/Data Query to Cacti.

_________________
Cliff Fogle
Sr. Network Engineer
Videoegg, Inc.
[email protected]


Top
 Profile  
 
 Post subject: IMPORT Foundry Template
PostPosted: Thu May 12, 2005 11:21 am 
Offline
Cacti User

Joined: Fri Mar 25, 2005 8:12 am
Posts: 65
When I import I get
"Error: XML: Hash version does not exist."

Does anyone know what's could be done?

Thanks


Top
 Profile  
 
 Post subject: What does this mean?
PostPosted: Thu May 12, 2005 3:25 pm 
boomboxnation

thanks for the template.. but what is the per connection per sec mean? what is it actually tracking? I don't think this work for me because i'm using this for my serveriron load balancer.

What is free sessions mean?
Current: 999765
Average: 999767
Max: 999773
Is that accurate?

Finally Various"

I don't have graph for DROPS and FIN/RST Sessions. what are those for?

I only have one graph for AGE SESSIONS: can you tell me what that is?
Current: 12.78
Average: 16.25
MAx: 32.45

Regarding mgeni ..

Try saving the file as a .xml then import it like that.. don't copy and paste the text inside the .xml file as it'll give you that error..

thanks


Top
  
 
 Post subject:
PostPosted: Fri May 13, 2005 12:37 am 
Offline

Joined: Sun May 08, 2005 11:25 am
Posts: 25
Quote:
thanks for the template.. but what is the per connection per sec mean?


This is the total number of connections per second that the serveriron is handling. Unfortunately this is not per virtual server, I might try for a new data query to do this once I am more proficient with cacti/xml.

Quote:
what is it actually tracking? I don't think this work for me because i'm using this for my serveriron load balancer.

What is free sessions mean?
Current: 999765
Average: 999767
Max: 999773
Is that accurate?


These are the number of session table entries still available, as in not used. This probably is accurate and means that the serveriron is not under much load. Your serveriron has a session table max of 1,000,000 sessions. This is typically a very boring graph, but I have seen race conditions before where you rapidly lose available sessions.

Quote:
Finally Various"

I don't have graph for DROPS and FIN/RST Sessions. what are those for?

I only have one graph for AGE SESSIONS: can you tell me what that is?

Current: 12.78
Average: 16.25
MAx: 32.45


Wow. That's a little worrisome or my template sucks. Are the other graphs NaN?

Drops are packets destined for a virtual server port that is not bound. For instance if you have a virtual with several real servers bound only to 80, a packet that hits port 449 on the virtual ip will be logged as a 'drop'. It has nowhere to go and is thus dropped.

Fin/Rst closes are sessions closed by either a FIN or RST and these are 'graceful' session closures. (good)

Aged sessions are those that never see a FIN/RST and thus are forced to timeout based on the defined maximum session age.(Not necessarily bad, but not as good as a FIN/RST closure)

If I failed to explain properly I can dig up links to the Foundry mib reference and documentation.

_________________
Cliff Fogle
Sr. Network Engineer
Videoegg, Inc.
[email protected]


Top
 Profile  
 
 Post subject: yeah
PostPosted: Fri May 13, 2005 3:16 am 
yeah..

I only recieve the one graph. i dont' know why the other graph are not showing up. What are the use of this? I mean. I don't know if i really need this.

I made a template that show the current connections on a server iron load balancer. See if you can improve on this..

:)


Attachments:
cacti_graph_template_serveriron_gt_virtual_servers.xml [9.18 KiB]
Downloaded 1837 times
Top
  
 
 Post subject: i dont know if my export is right
PostPosted: Fri May 13, 2005 3:20 am 
I don't know if my export is right

I choose export template. then choose the serveriron GT template. I don't know if this is how to do it? can someone show me how to export the template out?


Top
  
 
 Post subject: Ah...
PostPosted: Fri May 13, 2005 11:31 am 
Offline

Joined: Sun May 08, 2005 11:25 am
Posts: 25
Looks like you have GT hardware, lucky you. These have a different hardware architecture from the XL's and the MIB may report differently or be missing certain OIDs.

_________________
Cliff Fogle
Sr. Network Engineer
Videoegg, Inc.
[email protected]


Top
 Profile  
 
 Post subject: template Server Iron / Interfaces graphs not displayed
PostPosted: Thu Dec 08, 2005 5:20 am 
Offline
Cacti User

Joined: Thu Sep 29, 2005 5:03 am
Posts: 324
Location: switzerland
Hello

The interfaces graphs for the ServerIron are not displayed.

With debug I got:
Notice: Undefined offset: 1 in D:\Programme\Cacti-NetworkMonitoring\lib\rrd.php on line 1066
OK

Is it because of this 64bits counter?

Thx

_________________
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 20, 2006 4:34 pm 
Offline

Joined: Wed Dec 20, 2006 4:32 pm
Posts: 2
Hi,

When I try to look at a graph une CLI with the rrd, the graph is ok
In the web interface , I am getting this :

Notice: Undefined offset: 1 in /usr/share/cacti/site/lib/rrd.php on line 1123

Can't find why either :(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 9:47 am 
Offline
Cacti User

Joined: Mon Jul 26, 2004 2:50 pm
Posts: 64
Location: Cincinnati, OH
youri wrote:
Notice: Undefined offset: 1 in /usr/share/cacti/site/lib/rrd.php on line 1123


I'm getting the same thing. Has anyone figured this out?

Andrew


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 06, 2007 4:19 pm 
Offline

Joined: Fri Dec 29, 2006 2:56 pm
Posts: 15
This isn't working for me for me either. We have a pair of XLs, along with 450's and GTs. Since this template is made against the XL, I have tried it against it but I am getting not the graphs generated and using gandalf's NaN debugging page, I am getting NaN's in my "rrdtool info" against the rrd file.

I set everything in regards to this host to snmpv2 just incase of some sort of wrapping issue. Thoughts?



/usr/bin/rrdtool create \
/var/www/html/cacti/rra/atlprdhasw07_fndy_sessions_3143.rrd \
--step 300 \
DS:fndy_sessions:GAUGE:600:0:1000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \




# rrdtool info atlprdhasw07_fndy_sessions_3143.rrd
filename = "atlprdhasw07_fndy_sessions_3143.rrd"
rrd_version = "0003"
step = 300
last_update = 1173215409
ds[fndy_sessions].type = "GAUGE"
ds[fndy_sessions].minimal_heartbeat = 600
ds[fndy_sessions].min = 0.0000000000e+00
ds[fndy_sessions].max = 1.0000000000e+06
ds[fndy_sessions].last_ds = "506650"
ds[fndy_sessions].value = 4.5598500000e+06
ds[fndy_sessions].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 1.0266582200e+06
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 7.2716436133e+06
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 1.3468337681e+08
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[4].cf = "MIN"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MIN"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 5.1043591333e+05
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MIN"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 5.0784883333e+05
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MIN"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 4.9058712000e+05
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 600
rra[8].pdp_per_row = 1
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 700
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = 5.1830543000e+05
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[10].cf = "MAX"
rra[10].rows = 775
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = 5.2697978000e+05
rra[10].cdp_prep[0].unknown_datapoints = 0
rra[11].cf = "MAX"
rra[11].rows = 797
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = 5.5978291000e+05
rra[11].cdp_prep[0].unknown_datapoints = 0
rra[12].cf = "LAST"
rra[12].rows = 600
rra[12].pdp_per_row = 1
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[13].cf = "LAST"
rra[13].rows = 700
rra[13].pdp_per_row = 6
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = 5.1043591333e+05
rra[13].cdp_prep[0].unknown_datapoints = 0
rra[14].cf = "LAST"
rra[14].rows = 775
rra[14].pdp_per_row = 24
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = 5.1043591333e+05
rra[14].cdp_prep[0].unknown_datapoints = 0
rra[15].cf = "LAST"
rra[15].rows = 797
rra[15].pdp_per_row = 288
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = 5.1043591333e+05
rra[15].cdp_prep[0].unknown_datapoints = 0


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2007 3:55 am 
Offline

Joined: Sat Apr 28, 2007 3:57 am
Posts: 30
boomboxnation,

thanks for the template.

I am able to import it, but I can only see the CPU and Memory Graph.
All the rest of the graphs give me the same kind of error.
Code:
RRDTool Command:

e:/cacti_tool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ServerIronGT CGC16-SSL - Connections per second" \
--rigid \
--base=1000 \
--height=250 \
--width=750 \
--alt-autoscale-max \
--lower-limit=0 \
--y-grid=C \
--vertical-label="Conns. per second" \
--slope-mode \
DEF:a="E\:/cacti/rra/serverirongt_cgc16ssl_fndy_cps_19.rrd":fndy_CPS:AVERAGE \
AREA:a#FAFD9E:"Connections"  \
GPRINT:a:LAST:"Current\:%8.0lf"  \
GPRINT:a:AVERAGE:"Average\:%8.0lf"  \
GPRINT:a:MAX:"Maximum\:%8.0lf"

RRDTool Says:

ERROR: invalid y-grid format


Does anyone have a clue what this might be!? :o

Updates:
Okie I just remove the "C" value from Unit Grid Value.
And the graph shows up but without any data.
All I see is 0 value with no graph plotted.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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