Cisco CSS SNMP rosetta stone

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

jameslai1981
Posts: 1
Joined: Thu Nov 15, 2007 11:38 pm

Post by jameslai1981 »

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!!
Attachments
1.PNG
1.PNG (45.91 KiB) Viewed 13988 times
vchouet
Posts: 4
Joined: Wed Dec 12, 2007 8:31 am

Old IOS af CSS

Post by vchouet »

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.
richrumble
Posts: 14
Joined: Thu Oct 07, 2004 8:34 am
Contact:

more oid's found

Post by richrumble »

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
-rich
vchouet
Posts: 4
Joined: Wed Dec 12, 2007 8:31 am

CSS Connections

Post by vchouet »

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
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

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?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
crazyfrog
Posts: 10
Joined: Fri Mar 28, 2008 1:49 am

Post by crazyfrog »

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
Attachments
traffic_css11503.png
traffic_css11503.png (53.78 KiB) Viewed 12818 times
richrumble
Posts: 14
Joined: Thu Oct 07, 2004 8:34 am
Contact:

100mb per second and "m" in the connections

Post by richrumble »

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
-rich
fenix22
Posts: 1
Joined: Fri Oct 17, 2008 10:13 am

Post by fenix22 »

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 />
fubada
Posts: 1
Joined: Fri May 08, 2009 10:47 am

service graphs not working

Post by fubada »

BUMP. I'm also having trouble with Service related Graphs can someone help me fix? All other graphs work fine, service graphs never get started
Dom...
Posts: 29
Joined: Tue Aug 21, 2007 1:36 pm

Post by Dom... »

I had the same problem with the graph of the CSS Services Connections.
I think there is a problem with the graph template.
In the graph "CSS services connections", I have changed in the Item#1 & Item#5 , the consolidation function LAST by AVERAGE, and after it works.
Dom...
Posts: 29
Joined: Tue Aug 21, 2007 1:36 pm

Post by Dom... »

For the content rule traffic, is it the out or in traffic of an physical interface (or the sum) ?
Thanks :)
mupchu
Posts: 7
Joined: Fri Oct 30, 2009 7:46 pm

Post by mupchu »

I am trying to add the physical interfaces in with a 64-bit counter, and i can;t seem to get it to work. I get an error that the OID is not found:

11/02/2009 01:36:03 PM - CMDPHP: Poller[0] Host[35] DS[867] SNMP: v2: xxx.xxx.xxx.xxx, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.5, output: U

11/02/2009 01:36:03 PM - CMDPHP: Poller[0] Host[35] DS[867] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
richrumble
Posts: 14
Joined: Thu Oct 07, 2004 8:34 am
Contact:

Post by richrumble »

Assuming your CSS version is 7.40 or greater:
http://xinn.org/other/CSS-7.40-plus-extended.txt
The 64-bit interface counters are not located in a standard location
ap64ifInOctets | 1.3.6.1.4.1.9.9.368.1.44.3.1.10
ap64ifOutOctets | 1.3.6.1.4.1.9.9.368.1.44.3.1.16
ap64ifAdminStatus | 1.3.6.1.4.1.9.9.368.1.44.3.1.7 | up (1), down (2), testing (3)
ap64ifOperStatus | 1.3.6.1.4.1.9.9.368.1.44.3.1.8 | up (1), down (2), testing (3)
ClearSite-NMS also graphs all available 64-bit counters first, and reverts to 32-bit if 64-'s are not present.
http://sourceforge.net/projects/clearsite/files/
-rich
-rich
uhtred
Cacti User
Posts: 121
Joined: Fri Oct 09, 2009 8:59 am
Location: Germany

Post by uhtred »

hi,
doesn anybody know service state 5? i see it sometimes for a short time on some services.
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
kbensch
Posts: 5
Joined: Thu Oct 12, 2006 6:46 am

css-status.xml

Post by kbensch »

Hi Everyone

I downloaded the cssnew3.zip file in this thread, but this one file is missing. Can anybode tell me where to find it please.

Thanks

Kobus
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests