Cisco SCE Real Time Monitoring

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

Moderators: Developers, Moderators

Post Reply
manaf
Cacti User
Posts: 68
Joined: Sun Apr 16, 2006 2:03 am

Cisco SCE Real Time Monitoring

Post by manaf »

Hi all,

I have created a template to make graph Cisco Service Control Engine downstream traffic per services.. here is the template
Attachments
image.png
image.png (78.6 KiB) Viewed 15206 times
cacti_graph_template_cisco_sce_-_global_downstream_bw_per_service.rar
graph template
(7.65 KiB) Downloaded 1086 times
LinuxLoader
Posts: 15
Joined: Fri Mar 17, 2006 9:43 am

Post by LinuxLoader »

It works for me , but the traffic is i think at the half of the real.

here is the port to the sce
sh int gi5/1 | i 30
30 second input rate 527861000 bits/sec, 100453 packets/sec
30 second output rate 748022000 bits/sec, 184208 packets/sec
Attachments
graph_image.php.png
graph_image.php.png (74.98 KiB) Viewed 15008 times
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.5
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-gentoo-r6monitoring
[b]Web Server[/b] - Apache
[b]PHP[/b] - 5.2.11-pl1-gentoo
[b]PHP Extensions[/b] - date, libxml, openssl, pcre, zlib, bcmath, bz2, curl, dba, dom, ftp, gd, gettext, hash, iconv, mbstring, mcrypt, mysql, SimpleXML, SPL, PDO, posix, Reflection, session, pdo_mysql, snmp, soap, sockets, standard, xml, xmlreader, xsl, zip, apache2handler, yaz
[b]MySQL[/b] - 5.0.84
[b]RRDTool[/b] - 1.2.30
[b]SNMP[/b] - 5.4.2.1
[b]Plugins[/b][list]PHP Network Weathermap (weathermap - v0.96)
Host Info (hostinfo - v0.2)[/list][/quote]
manaf
Cacti User
Posts: 68
Joined: Sun Apr 16, 2006 2:03 am

Post by manaf »

it seems that some services have it's own index. for example i am gathering all P2P service in one parent index, which is P2P. but in your case your separating Bittorrent or some other service to its own index.
in this case you need to know the OID of these services and add a new data template so it could be included in your graph.
to start issue the below commands:

for services name
snmpwalk -v2c -c <community> x.x.x.x 1.3.6.1.4.1.5655.4.2.5.1.1.3

for services counter
snmpwalk -v2c -c <community> x.x.x.x .1.3.6.1.4.1.5655.4.2.2.1.1.2.1.1
LinuxLoader
Posts: 15
Joined: Fri Mar 17, 2006 9:43 am

Post by LinuxLoader »

10x i will try :)

PS: the list for me

Code: Select all

SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.1 = STRING: "Default Service*"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.2 = STRING: "FTP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.3 = STRING: "Browsing*"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.4 = STRING: "E-Mail*"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.5 = STRING: "MGCP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.6 = STRING: "Generic TCP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.7 = STRING: "Generic UDP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.8 = STRING: "Generic IP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.9 = STRING: "Newsgroups"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.10 = STRING: "P2P"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.11 = STRING: "SIP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.12 = STRING: "H323"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.13 = STRING: "Streaming*"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.14 = STRING: "Other VoIP with a Signaling Channel"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.15 = STRING: "Other VoIP with Media Channel Only"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.16 = STRING: "eDonkey/eMule"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.17 = STRING: "Kazaa"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.18 = STRING: "Bittorrent"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.19 = STRING: "Commercial File Sharing"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.20 = STRING: "Winny"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.21 = STRING: "Gnutella"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.22 = STRING: "WinMX"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.23 = STRING: "Vonage"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.24 = STRING: "Skype"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.25 = STRING: "Instant Messaging"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.26 = STRING: "Gaming"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.27 = STRING: "Net Admin*"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.28 = STRING: "VoIP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.29 = STRING: "Tunneling"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.30 = STRING: "Yahoo Messenger VoIP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.31 = STRING: "Behavioral Upload/Download"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.32 = STRING: "ICQ VoIP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.33 = STRING: "Behavioral P2P"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.34 = STRING: "HTTP Download"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.35 = STRING: "Flash"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.36 = STRING: "MSN Messenger VoIP"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.37 = STRING: "MS Push Mail"
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.38 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.39 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.40 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.41 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.42 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.43 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.44 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.45 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.46 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.47 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.48 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.49 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.50 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.51 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.52 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.53 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.54 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.55 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.56 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.57 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.58 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.59 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.60 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.61 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.62 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.63 = ""
SNMPv2-SMI::enterprises.5655.4.2.5.1.1.3.1.64 = ""
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.5
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-gentoo-r6monitoring
[b]Web Server[/b] - Apache
[b]PHP[/b] - 5.2.11-pl1-gentoo
[b]PHP Extensions[/b] - date, libxml, openssl, pcre, zlib, bcmath, bz2, curl, dba, dom, ftp, gd, gettext, hash, iconv, mbstring, mcrypt, mysql, SimpleXML, SPL, PDO, posix, Reflection, session, pdo_mysql, snmp, soap, sockets, standard, xml, xmlreader, xsl, zip, apache2handler, yaz
[b]MySQL[/b] - 5.0.84
[b]RRDTool[/b] - 1.2.30
[b]SNMP[/b] - 5.4.2.1
[b]Plugins[/b][list]PHP Network Weathermap (weathermap - v0.96)
Host Info (hostinfo - v0.2)[/list][/quote]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cisco SCE Real Time Monitoring

Post by gandalf »

manaf wrote:Hi all,

I have created a template to make graph Cisco Service Control Engine downstream traffic per services.. here is the template
Wow, that's great! I'm not a cisco guy. So please, can you tell me what has to be configured on the device to make this happen; perhaps a link would help
Reinhard
LinuxLoader
Posts: 15
Joined: Fri Mar 17, 2006 9:43 am

Post by LinuxLoader »

This is Layer7 cisco QoS device and that stuff can be done only with that device and one two others , it have GUI to make that kind of reports but it can`t be used so easy , and be used for monitoring . Here is a link with info for the SCE device http://www.cisco.com/en/US/products/ps6150/index.html
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.5
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-gentoo-r6monitoring
[b]Web Server[/b] - Apache
[b]PHP[/b] - 5.2.11-pl1-gentoo
[b]PHP Extensions[/b] - date, libxml, openssl, pcre, zlib, bcmath, bz2, curl, dba, dom, ftp, gd, gettext, hash, iconv, mbstring, mcrypt, mysql, SimpleXML, SPL, PDO, posix, Reflection, session, pdo_mysql, snmp, soap, sockets, standard, xml, xmlreader, xsl, zip, apache2handler, yaz
[b]MySQL[/b] - 5.0.84
[b]RRDTool[/b] - 1.2.30
[b]SNMP[/b] - 5.4.2.1
[b]Plugins[/b][list]PHP Network Weathermap (weathermap - v0.96)
Host Info (hostinfo - v0.2)[/list][/quote]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Thanks. I hoped it would be generic.
I looked at the templates. This should better be done by a SNMP Data Query. This eay, you can catch all company specific settings of the SCE. Unfortunately, we do not own such a device
Reinhard
manaf
Cacti User
Posts: 68
Joined: Sun Apr 16, 2006 2:03 am

Post by manaf »

I couldn't make it on SNMP Data Query because it has no index for service counters data not like interface statistics on Cisco routers. it's OIDs are based on company called P-CUBE then it has been acquired by Cisco.
LinuxLoader
Posts: 15
Joined: Fri Mar 17, 2006 9:43 am

Post by LinuxLoader »

Here is changed template from me , but i saw one "bug" , some time it graphs a speed about 400G :)
Attachments
cacti_graph_template_cisco_sce_-_global_downstream_bw_modifed_by_lilo.xml
(151.34 KiB) Downloaded 812 times
sce100G.png
sce100G.png (101.99 KiB) Viewed 14930 times
graph_image.php.png
graph_image.php.png (121.78 KiB) Viewed 14930 times
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.5
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-gentoo-r6monitoring
[b]Web Server[/b] - Apache
[b]PHP[/b] - 5.2.11-pl1-gentoo
[b]PHP Extensions[/b] - date, libxml, openssl, pcre, zlib, bcmath, bz2, curl, dba, dom, ftp, gd, gettext, hash, iconv, mbstring, mcrypt, mysql, SimpleXML, SPL, PDO, posix, Reflection, session, pdo_mysql, snmp, soap, sockets, standard, xml, xmlreader, xsl, zip, apache2handler, yaz
[b]MySQL[/b] - 5.0.84
[b]RRDTool[/b] - 1.2.30
[b]SNMP[/b] - 5.4.2.1
[b]Plugins[/b][list]PHP Network Weathermap (weathermap - v0.96)
Host Info (hostinfo - v0.2)[/list][/quote]
manaf
Cacti User
Posts: 68
Joined: Sun Apr 16, 2006 2:03 am

Post by manaf »

yes I have the same issue :-? this is a cacti bug and I use killspike script to kill the spikes! I can see the graph with no issue using MRTG!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

manaf wrote:yes I have the same issue :-? this is a cacti bug and I use killspike script to kill the spikes! I can see the graph with no issue using MRTG!
I do not agree. Please use reasonable data source MAX values to suppress this. It's a COUNTER wrap, IMHO
Reinhard
Ganlron
Posts: 1
Joined: Tue Oct 27, 2009 3:27 pm

Post by Ganlron »

I've been playing with setting reasonable MAX VALUES in the data sources for this graph but still end up with the spikes. Has anyone had any success eliminating the spikes by setting Max Values?
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

no good news

Post by zorrosam »

no ... no new settings for correct the spikes ... i have the same issue ...
Zombie
Posts: 13
Joined: Sat Sep 11, 2010 9:56 pm

Re: Cisco SCE Real Time Monitoring

Post by Zombie »

I have imported this template along with another OID template for CPU utilization, but it shows Zero Values for both

while the Interface Bandwidth and concurrent session is reading fine

is there anything need to be done on the SCE side except the community..?

any advise Pros


SCE 2000
Cacti 8.7i
Centos 6.2

Thank You
Attachments
Untitled.jpg
Untitled.jpg (55.79 KiB) Viewed 7162 times
mirzoshka123
Posts: 1
Joined: Mon Jul 30, 2012 3:46 am

Re:

Post by mirzoshka123 »

LinuxLoader wrote:Here is changed template from me , but i saw one "bug" , some time it graphs a speed about 400G :)

It works , but the traffic is the half of the real.
because my frist GigabitEthernet 1/1 downstream 300 mbps and secondary GigabitEthernet 1/2 upstream 300 mbps
this graph show mi 220 mbps why ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest