Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


CISCO SLB
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
ppflaum1



Joined: 22 Sep 2009
Posts: 2

PostPosted: Tue Sep 29, 2009 11:54 am    Post subject: Reply with quote

Has anyone got this working on 0.8.7 ? I'm new to cacti and running into probs.
Back to top
jmax



Joined: 06 Nov 2008
Posts: 8

PostPosted: Fri Oct 09, 2009 10:12 am    Post subject: Reply with quote

I couldn't get this template to work for all my SLB so in the end I rewrote them using snmp-queries instead of the PHP script and it is now working for all my SLB.

Hopefully that will help anyone else who had the same issue as me.

P.S: the template were exported from 8.7.d so you will need at least this version to use them. Otherwise you can always modify the hash to match your version.



cisco_csm_vserver.xml
 Description:

Download
 Filename:  cisco_csm_vserver.xml
 Filesize:  2.19 KB
 Downloaded:  132 Time(s)


cisco_csm_module.xml
 Description:

Download
 Filename:  cisco_csm_module.xml
 Filesize:  1.77 KB
 Downloaded:  96 Time(s)


cacti_graph_template_cisco_-_csm_vserver.xml
 Description:

Download
 Filename:  cacti_graph_template_cisco_-_csm_vserver.xml
 Filesize:  16.64 KB
 Downloaded:  104 Time(s)


cacti_graph_template_cisco_-_csm_modules.xml
 Description:

Download
 Filename:  cacti_graph_template_cisco_-_csm_modules.xml
 Filesize:  21.15 KB
 Downloaded:  86 Time(s)

Back to top
TvL2386



Joined: 25 Nov 2009
Posts: 3

PostPosted: Wed Nov 25, 2009 6:04 am    Post subject: Reply with quote

Hello! Thanks for your templates.
I am trying to use your templates but don't understand how it works/configure it. I am still new at cacti.

I have imported cacti_graph_template_cisco__csm_modules.xml & cacti_graph_template_cisco__csm_vserver.xml.
I have copied cisco_csm_module.xml & cisco_csm_vserver.xml to /var/www/html/cacti/resource/script_queries and I am trying to add the graph templates "CSM Modules" and "CSM Vserver" to our Cisco6509 with CSM module.
I am presented with a screen (which I have attached). What should I fill in on those textfields? I don't know... When I leave them blank, the graphs will not be shown like the rrd does not exist. What should I do?

Thanks in advance!



Screenshot.png
 Description:
scrshot
 Filesize:  99.84 KB
 Viewed:  783 Time(s)

Screenshot.png


Back to top
jmax



Joined: 06 Nov 2008
Posts: 8

PostPosted: Wed Nov 25, 2009 7:04 am    Post subject: Reply with quote

cisco_csm_module.xml & cisco_csm_vserver.xml should be copied under ressource/snmp-queries

Hopefully that should fix the issue.[/quote]
Back to top
TvL2386



Joined: 25 Nov 2009
Posts: 3

PostPosted: Wed Nov 25, 2009 8:44 am    Post subject: Reply with quote

Hi, I've moved the xml files from my script_queries directory to the snmp_queries directory... I still get the above screen.

I'll let you know if the graphs update.
Thanks for your reply
Back to top
jmax



Joined: 06 Nov 2008
Posts: 8

PostPosted: Wed Nov 25, 2009 9:33 am    Post subject: Reply with quote

Have you tried to run a verbose query and what output are you getting?
Back to top
lazzar0



Joined: 13 Jan 2010
Posts: 1

PostPosted: Wed Jan 20, 2010 4:10 pm    Post subject: Reply with quote

TvL2386 wrote:
Hello! Thanks for your templates.
I am trying to use your templates but don't understand how it works/configure it. I am still new at cacti.

I have imported cacti_graph_template_cisco__csm_modules.xml & cacti_graph_template_cisco__csm_vserver.xml.
I have copied cisco_csm_module.xml & cisco_csm_vserver.xml to /var/www/html/cacti/resource/script_queries and I am trying to add the graph templates "CSM Modules" and "CSM Vserver" to our Cisco6509 with CSM module.
I am presented with a screen (which I have attached). What should I fill in on those textfields? I don't know... When I leave them blank, the graphs will not be shown like the rrd does not exist. What should I do?

Thanks in advance!


UP

Same here !

Any fixes / suggestions ?

tnx in advance
Back to top
bidzer



Joined: 20 Jun 2006
Posts: 27

PostPosted: Thu Jan 28, 2010 9:40 am    Post subject: Not receiving any data Reply with quote

I've got these templates loaded. I can discover the SLB Vservers and Reals but all my servers are coming back with their output being U. Do I need to modify the php scripts at all? These farms are on 6509 platforms.

I've manually run the OIDs in the vserver script against the switch. Weirdly, I'm receiving 2 values back. The 2nd value is the actual connections on my vserver:

[root@localhost scripts]# snmpwalk -v 2c -c ***** "IP" .1.3.6.1.4.1.9.9.161.1.4.1.1.17
SNMPv2-SMI::enterprises.9.9.161.1.4.1.1.17.0.7.72.67.70.95.87.69.66 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.161.1.4.1.1.17.0.13.77.77.73.83.45.87.69.66.45.80.79.82.84 = Gauge32: 2296

I also wanted to add, when I look at the real time graph for the vserver I see some connections but it looks like it's 1/10 of my actual connection count. Is there a CDEF that needs to be edited? I can't find one.



Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group