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 CSS SNMP rosetta stone
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
jameslai1981



Joined: 15 Nov 2007
Posts: 1

PostPosted: Fri Nov 16, 2007 1:54 am    Post subject: Reply with quote

Hi all,

Please Help! I imported the css-new-v3 template to my cacti system. My OS of CSS is older than version 7.4, so i changed the oid
from: .1.3.6.1.4.1.2467

to:
. 1.3.6.1.4.1.9.9.368.

That created graphs but there is no data.

I attatched the photo for reference.

THX!!



1.PNG
 Description:
 Filesize:  45.91 KB
 Viewed:  2813 Time(s)

1.PNG


Back to top
vchouet



Joined: 12 Dec 2007
Posts: 4

PostPosted: Wed Dec 12, 2007 8:38 am    Post subject: Old IOS af CSS Reply with quote

do you know how to change the syntax of the body of the file named "css_status_854.xml"

I've already change differents OID 1.3.6.1.4.1.9.9.368 with this
1.3.6.1.4.1.2467

but I don't know the syntax to change this line :

<oid_index_parse>OID/REGEXP:.*\.368\.1\.15\.2\.1\.1\.([0-9\


- <interface>
<name>Get CSS Service State</name>
<description>Queries a CSS for Stuff</description>
<oid_index>.1.3.6.1.4.1.9.9.368.1.15.2.1.1</oid_index>
<index_order_type>numeric</index_order_type>
<index_title_format>content_index</index_title_format>
<oid_index_parse>OID/REGEXP:.*\.368\.1\.15\.2\.1\.1\.([0-9\.]*)</oid_index_parse>
- <fields>
- <ifIndex>
<name>Index</name>
<source>index</source>
<method>walk</method>
<direction>input</direction>
</ifIndex>
- <apSvcNames>
<name>Name</name>
<method>get</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9.9.368.1.15.2.1.1</oid>
</apSvcNames>
- <apCntState>
<name>Bytes</name>
<method>get</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9.9.368.1.15.2.1.17</oid>
</apCntState>
</fields>
</interface>

Thanks a lot.
Back to top
richrumble



Joined: 07 Oct 2004
Posts: 13

PostPosted: Wed Dec 12, 2007 2:52 pm    Post subject: more oid's found Reply with quote

I've discovered more OID's for the cisco css, mainly some 64-bit counters for the interfaces. There should be other "nuggets" that might be of use as well, this is all I've found thus far.

http://xinn.org/Css-Rosetta-Stone.html in the "SNMP WALKING" section.
-rich
Back to top
vchouet



Joined: 12 Dec 2007
Posts: 4

PostPosted: Thu Mar 06, 2008 6:04 am    Post subject: CSS Connections Reply with quote

I have graph the Average Load for each service with this OID.
SNMPv2-SMI::enterprises.2467.1.15.2.1.40.15...
Done

But I want too to graph the current connexion for each service.
The command refer to the OID Below is "show service ServiceName"
SNMPv2-SMI::enterprises.2467.1.15.2.1.20.15...

Who know the OID to graph all the current connection for all content and services ?

Ask about CSS :
If I make a show flows @IPsource @IPDestination, I don't have the same value of the current connection on a service.
The "show flows" command is more significant as a "show service ServiceName" command. The "show flows" command represent the real current connection number on a service ( we find the same result on the server with netstat ). It semms to have persistent connection with the command "show service ServiceName. Do you have any idea abootu this twice command ? Do you know how can I make to graphe result's value from the show flows command ?

Thank's for your responses
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Thu Apr 10, 2008 3:53 am    Post subject: Reply with quote

I've just installed these templates, and they are working happily (had to bump up my SNMP timeout a bit), but I'm a little confused by the Service Connections graph - is it really per second?

Looking at a content rule, I have 200m connections/sec, but one of the services within that content rule has 20 "connections/sec". Is it really per-second and not just current connections?
Back to top
crazyfrog



Joined: 28 Mar 2008
Posts: 9

PostPosted: Wed Apr 30, 2008 12:06 am    Post subject: Reply with quote

HI,
i just installed the templates from this thread. Works very fine, but the Traffic Graphs doesn't show anything higher than 100Mbit/s and get a 64Bit Break. If i try to create a Traffic Graph with the 64 Bit Counter from Cacti, the graph doesn't receive any data.

Can anyone help?

Thanks



traffic_css11503.png
 Description:
 Filesize:  53.78 KB
 Viewed:  1643 Time(s)

traffic_css11503.png


Back to top
richrumble



Joined: 07 Oct 2004
Posts: 13

PostPosted: Sat May 03, 2008 2:59 pm    Post subject: 100mb per second and "m" in the connections Reply with quote

A common issue with a 5 minute polling interval and a 32-bit counter is that around 110+ MB per second, the counters will filp/reset too often to get the proper value. You need to either, use a 64-bit counter, or increase the polling interval, meaning use a 2 minute instead of a 5 minute, or even a 3 minute possibly 4 minute if the traffic will stay under 200mbs.
It's been documented often here on the forums, but not so much on the CSS about the 32-bit counter limit being around 110mbs.

The css uses 32-bit counters for everything and only has a few 64-bit counters to speak of, and they are on the physical interfaces, not subinterfaces or virtual interfaces.

If you see "m" in your graphs and you don't think that is correct, change that objects CDEF to "per 5 minute" and your issue should go away. It should then report the values without the "m" which is meant to signify milli...

I've documented the CSS 64-bit counters here: http://xinn.org/Css-Rosetta-Stone.html (scroll down a bit to find "EXTENDED OIDS DISCOVERED" )
-rich
Back to top
fenix22



Joined: 17 Oct 2008
Posts: 1

PostPosted: Fri Oct 17, 2008 10:22 am    Post subject: Reply with quote

Hi!

I have a problem, where graphs "Service Connections" does not draws.

Log writes whith no errors, every other CSS graph looks ok.

but Service Connections is a problem.
i have
Cacti Version 0.8.7b
SPINE 0.8.7b

drawing does not creates.
when i press "CSV export" button, strange text occures

Title:,"GT css primary/Clam0 - Service Connections"
Vertical Label:,"Connections Per Second"
<br />
<b>Notice</b>: Undefined index: start in <b>/usr/local/www/apache22/data/cacti/graph_xport.php</b> on line <b>100</b><br />
Start Date:,"1970-01-01 02:00:00"
<br />
<b>Notice</b>: Undefined index: end in <b>/usr/local/www/apache22/data/cacti/graph_xport.php</b> on line <b>101</b><br />
End Date:,"1970-01-01 02:00:00"
<br />
<b>Notice</b>: Undefined index: step in <b>/usr/local/www/apache22/data/cacti/graph_xport.php</b> on line <b>102</b><br />
Step:,""
<br />
<b>Notice</b>: Undefined index: rows in <b>/usr/local/www/apache22/data/cacti/graph_xport.php</b> on line <b>103</b><br />
Total Rows:,""
Graph ID:,"279"
Host ID:,"2"

<br />
<b>Notice</b>: Undefined index: columns in <b>/usr/local/www/apache22/data/cacti/graph_xport.php</b> on line <b>121</b><br />
Date
<br />
<b>Notice</b>: Undefined index: data in <b>/usr/local/www/apache22/data/cacti/graph_xport.php</b> on line <b>127</b><br />
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, 4, 5
Page 5 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group