Netscaler VSVR Table Graphing Template - Complete!
Moderators: Developers, Moderators
Netscaler VSVR Table Graphing Template - Complete!
# UPDATED XML ATTACHMENTS ON 2007-05-30 #
I managed to create a functional template and xml query for graphing the traffic statistics of any VSVR (Virtual Server) on a Netscaler device.
Feel free to make any improvements and post them; I'd love to see more input fields added to the query.
Anyways, I hope this helps some of you with netscalers.
I managed to create a functional template and xml query for graphing the traffic statistics of any VSVR (Virtual Server) on a Netscaler device.
Feel free to make any improvements and post them; I'd love to see more input fields added to the query.
Anyways, I hope this helps some of you with netscalers.
- Attachments
-
- cacti_host_template_netscaler_load_balancer_595.xml
- Import Normally (updated)
- (176.42 KiB) Downloaded 1585 times
-
- cacti_data_query_netscaler_service_table.xml
- Import Normally
- (16.58 KiB) Downloaded 1309 times
-
- cacti_data_template_netscaler_vsvr_table.xml
- Import Normally
- (7.19 KiB) Downloaded 1332 times
-
- cacti_graph_template_netscaler_vsvr_table.xml
- Import Normally
- (14.51 KiB) Downloaded 1263 times
-
- ns-servicetable.xml
- The XML Resource File:
(copy file to <path_cacti>/resource/snmp_queries/ns-servicetable.xml) - (1.33 KiB) Downloaded 1448 times
Last edited by rcaston on Wed May 30, 2007 12:22 pm, edited 9 times in total.
Netscaler templates
okay. I'm forced to post a question. I can't get these Netscaler templates to work. Are there any docs somewhere that I may have missed? I have been at this for hours now and I even went to the Cacti docs (which are not too clear on templates)
I've imported the 4 templates into Cacti. I have successfully imported and used other XML templates. I don't think I'm crazy... well let me re-check that.
any help you can offer would be greatly appreciated.
I've imported the 4 templates into Cacti. I have successfully imported and used other XML templates. I don't think I'm crazy... well let me re-check that.
any help you can offer would be greatly appreciated.
Re: Netscaler templates
Just in case there were problems with the original attachments, I have re-uploaded them. I have also added a fifth template (the data query template) to make things more simple.renef wrote:I've imported the 4 templates into Cacti. I have successfully imported and used other XML templates. I don't think I'm crazy... well let me re-check that.
Go ahead and delete what you have now and just download all 5 xml new files in my original post; then follow the install document below.
INSTALL DOCUMENT:
STEP 1: Import 4 Templates
To install these files all you need to do is use the cacti import on the four following files:
1. import cacti_data_query_netscaler_service_table.xml
2. import cacti_data_template_netscaler_vsvr_table.xml
3. import cacti_graph_template_netscaler_vsvr_table.xml
4. import cacti_host_template_netscaler_load_balancer
STEP 2: Install the resource xml on your cacti server.
5. Download the "ns-servicetable.xml" and copy the file to the following path on your cacti server:
<path_cacti>/resource/snmp_queries/ns-servicetable.xml
That should be it.
Re: Netscaler templates
I've done all this but there is no graph template showing up and nothing is associated with the "Netscaler Load Balancer" template when I add a new device.rcaston wrote:Just in case there were problems with the original attachments, I have re-uploaded them. I have also added a fifth template (the data query template) to make things more simple.renef wrote:I've imported the 4 templates into Cacti. I have successfully imported and used other XML templates. I don't think I'm crazy... well let me re-check that.
Go ahead and delete what you have now and just download all 5 xml new files in my original post; then follow the install document below.
INSTALL DOCUMENT:
STEP 1: Import 4 Templates
To install these files all you need to do is use the cacti import on the four following files:
1. import cacti_data_query_netscaler_service_table.xml
2. import cacti_data_template_netscaler_vsvr_table.xml
3. import cacti_graph_template_netscaler_vsvr_table.xml
4. import cacti_host_template_netscaler_load_balancer
STEP 2: Install the resource xml on your cacti server.
5. Download the "ns-servicetable.xml" and copy the file to the following path on your cacti server:
<path_cacti>/resource/snmp_queries/ns-servicetable.xml
That should be it.
Re: Netscaler templates
Hrm, my error; the host template was not associated with the graph template; tho you can manually fix this by associating/adding it yourself; or you can download my updated host template.noxis wrote: I've done all this but there is no graph template showing up and nothing is associated with the "Netscaler Load Balancer" template when I add a new device.
Either way.
Hi rcaston,
Great templates and thank you for sharing. I have a posted a question that has come up with me trying to implement your templates. The post can be found here: http://forums.cacti.net/viewtopic.php?t=22015
any help would be appreciated - I dont think this is an issue with templates.
Great templates and thank you for sharing. I have a posted a question that has come up with me trying to implement your templates. The post can be found here: http://forums.cacti.net/viewtopic.php?t=22015
any help would be appreciated - I dont think this is an issue with templates.
:: FreeBSD6.2 - Apache 1.3.37+mod_ssl - PHP 5.2.1 - MySQL 5.0 ::
netscaler template
Great template rcaston!!! I am able to create graphs for most of my vservers. But on quit of few vservers, I can only see the vserver ip info. vserver name info is not displayed on the vserver template. I found out those vservers all have longer OID than the vservers that can display graphs. Not sure if you guys have this kind of issue before, any help would be appreciated.
- Attachments
-
- netscaler.JPG (38.91 KiB) Viewed 17327 times
OID Prepending Problem
Hello,
I have been using these templates for a while, and am now in the process of replicating/upgrading my cacti instances. I came across this odd problem with these templates.
Here is what I am seeing in my 0.8.7 poller cache:
Host: nss1.xxxx , SNMP Query: Netscaler - VS Bandwidth
Index: 18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109 , Field Name: vsvrName , Field Value: XXXX.com
OID: .1.3.6.1.4.1.5951.4.1.3.1.1.1.18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109
When I migrate to 0.8.7i on another server, here is the poller cache:
Host: nss1.xxxx , SNMP Query: Netscaler - VS Bandwidth
Index: 1.3.6.1.4.1.5951.4.1.3.1.1.1.18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109 , Field Name: vsvrName , Field Value: XXXX.com
OID: .1.3.6.1.4.1.5951.4.1.3.1.1.1.1.3.6.1.4.1.5951.4.1.3.1.1.1.18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109
As you can see it seems to be prepending
.1.3.6.1.4.1.5951.4.1.3.1.1.1.
to the OIDS.
Anybody have an idea what is going on here?
Thanks
I have been using these templates for a while, and am now in the process of replicating/upgrading my cacti instances. I came across this odd problem with these templates.
Here is what I am seeing in my 0.8.7 poller cache:
Host: nss1.xxxx , SNMP Query: Netscaler - VS Bandwidth
Index: 18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109 , Field Name: vsvrName , Field Value: XXXX.com
OID: .1.3.6.1.4.1.5951.4.1.3.1.1.1.18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109
When I migrate to 0.8.7i on another server, here is the poller cache:
Host: nss1.xxxx , SNMP Query: Netscaler - VS Bandwidth
Index: 1.3.6.1.4.1.5951.4.1.3.1.1.1.18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109 , Field Name: vsvrName , Field Value: XXXX.com
OID: .1.3.6.1.4.1.5951.4.1.3.1.1.1.1.3.6.1.4.1.5951.4.1.3.1.1.1.18.116.114.97.118.101.108.46.110.121.116.105.109.101.115.46.99.111.109
As you can see it seems to be prepending
.1.3.6.1.4.1.5951.4.1.3.1.1.1.
to the OIDS.
Anybody have an idea what is going on here?
Thanks
So,
I read the above link to this post:
http://forums.cacti.net/viewtopic.php?t=22015
And changed this line in the template:
<oid_index_parse>OID/REGEXP:^.{28}\.(.*)</oid_index_parse>
I am not sure why or how. But this has resolved my problem.
I read the above link to this post:
http://forums.cacti.net/viewtopic.php?t=22015
And changed this line in the template:
<oid_index_parse>OID/REGEXP:^.{28}\.(.*)</oid_index_parse>
I am not sure why or how. But this has resolved my problem.
Re: Netscaler VSVR Table Graphing Template - Complete!
I'm a pretty big fan of this template, but it doesn't appear to work on a new install of 0.8.8a. The data query seems to work, all my virtual servers show up in the query, but the graphs stay saying -nan.
Whats the best way to debug this sort of issue?
Patrick
Whats the best way to debug this sort of issue?
Patrick
Who is online
Users browsing this forum: No registered users and 3 guests