Template(s) für Cisco UCS?

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

Moderators: Developers, Moderators

ejcacti
Posts: 25
Joined: Mon Nov 06, 2006 3:51 am

Template(s) für Cisco UCS?

Post by ejcacti »

Hi,

Has anybody out there got a Cacti-template/setup tailored for the Cisco UCS (Unified Computing System)?
(http://www.cisco.com/en/US/products/ps1 ... ducts.html)

Basic SNMP only gives the standard values like interface traffic etc. but I'd need more specific info about the various parts of the system

Thanks in advance for any clue,
-ejcacti
niobe
Cacti User
Posts: 228
Joined: Mon Mar 10, 2008 6:52 pm
Location: Australia

Re: Template(s) für Cisco UCS?

Post by niobe »

UCS is just a marketing term for a whole set of products and various features thereof.
So it very much depends on what you want to graph. But in the end you will still be just graphing servers and switches. I doubt there is a UCS specific MIB, but if there is it will be still be tied to a product like a Nexus switch. Do a google search for "Cisco MIBS" and you will find a lot of information.
gkhnyldrm
Posts: 12
Joined: Wed Apr 30, 2008 8:16 am
Location: Denizli,Turkey

Re: Template(s) für Cisco UCS?

Post by gkhnyldrm »

mibs for cisco ucs can be found here:

ftp://ftp.cisco.com/pub/mibs/supportlis ... tlist.html
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Re: Template(s) für Cisco UCS?

Post by gninja »

I have templates for UCS Fabric Interconnect Flash usage, Power usage, Per-blade CPU power and temperature graphs, and am working out some issues with Fibre Channel traffic graphs. Once I've fixed the issues with the FC graphs, I can toss the templates up.

Any other UCS related data you would like to see, while I'm neck deep in UCS Mibs?
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
bigfatdonny
Posts: 6
Joined: Wed Feb 04, 2009 11:39 am

Re: Template(s) für Cisco UCS?

Post by bigfatdonny »

I'm looking forward to these templates! Thanks!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Template(s) für Cisco UCS?

Post by gandalf »

Moving to scripts and templates
R.
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Re: Template(s) für Cisco UCS?

Post by gninja »

Getting a php error exporting these. I'll work on it a bit more, and see where I end up.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
bigfatdonny
Posts: 6
Joined: Wed Feb 04, 2009 11:39 am

Re: Template(s) für Cisco UCS?

Post by bigfatdonny »

Any luck exporting these?
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Templates for Cisco UCS

Post by gninja »

Had to export them individually, so import the host template last.

The Fibre Channel graphs depend on an as-yet-unapproved, and under-tested bugfix linked here: http://bugs.cacti.net/view.php?id=2003

The first patch is simpler and more well tested. The second patch makes the handling of null indexes a configurable option.

Templates include CPU usage, Fan Speed, Fan Temperature, Class 2,3,F Fibre Channel traffic and Discards graphs, Flash Usage, Memory Usage, Power Draw, Per-CPU power draw, Per-CPU temperature, and a host-template link to the standard Interface graphs.

Enjoy, and let me know if anything doesn't work as expected, of if there's anything else you think I should include.
Attachments
CiscoUCS-cacti.tgz
Cisco UCS Templates. Import Host Template Last.
(32.05 KiB) Downloaded 1481 times
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
bigfatdonny
Posts: 6
Joined: Wed Feb 04, 2009 11:39 am

Re: Template(s) für Cisco UCS?

Post by bigfatdonny »

Thanks gninja! I've got everything working besides the FC graphs. I suspect this has to do with the patch you mention, which I thought I installed, but I may not have done so correctly. Does this look right?

patch -u /usr/share/cacti/site/lib/data_query.php null_index.patch

This gave a couple of errors:

Hunk #1 FAILED at 180.
Hunk #2 FAILED at 242.
2 out of 2 hunks FAILED -- saving rejects to file /usr/share/cacti/site/lib/data_query.php.rej
patching file /usr/share/cacti/site/lib/data_query.php
Hunk #1 FAILED at 689.
1 out of 1 hunk FAILED -- saving rejects to file /usr/share/cacti/site/lib/data_query.php.rej
patching file /usr/share/cacti/site/lib/data_query.php
Hunk #1 FAILED at 221.
1 out of 1 hunk FAILED -- saving rejects to file /usr/share/cacti/site/lib/data_query.php.rej

Any help is appreciated!
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Re: Template(s) für Cisco UCS?

Post by gninja »

bigfatdonny wrote:Does this look right?

patch -u /usr/share/cacti/site/lib/data_query.php null_index.patch

This gave a couple of errors:

Hunk #1 FAILED at 180.
Hunk #2 FAILED at 242.
Nope, that doesn't look right at all. Are you running 0.8.6g? If you're not, you're welcome to take a look at the contents of the patch and try a manual patch. Just make sure you keep a backup of the original file. But, unless you really need the FC graphs, I'd recommend waiting for an official solution.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
catkinson
Posts: 1
Joined: Fri Jul 22, 2011 2:09 pm

Re: Template(s) für Cisco UCS?

Post by catkinson »

I'm not currently using Cacti, but have a lot of Cisco UCS domains that I would like to report/chart port statistics. Can you expound on what your template/cacti is capable of displaying for UCS.

I'm hoping for:

port bandwidth utilization (both ether and fc [Gb/s]) northbound
port bandwidth southbound to IOM's (obviously this would now be ethernet only)
vnic bandwidth (fcoe data and ethernet data if possilbe)

Error stats on all of the above, packet /s, etc...

I've been successful pulling ALL this data via the API but haven't yet looked to see what is capable via SNMP. Instead of reinventing the wheel and writing my only reporting engine to consume the data I've pulled from the API I figured it was time to step back and see if this has been done already via SNMP.

Thanks much!

Chris
KalpeshPatel
Posts: 1
Joined: Tue Aug 02, 2011 10:15 am

Re: Template(s) für Cisco UCS?

Post by KalpeshPatel »

While importing the template, I got unmet dependancies. Any assistance would be appreciated.


[success] Cisco - Fibre - C3 Traffic [update]
+ Unmet Dependency: (Data Template Item)
+ Found Dependency: (GPRINT Preset) Normal
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Found Dependency: (Data Template Item) frames_in
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)

Running the latest version of the code, namely 0.8.7g.
rmcdonald
Posts: 42
Joined: Wed Dec 22, 2010 4:03 pm
Location: Minnesota

Re: Template(s) für Cisco UCS?

Post by rmcdonald »

Has anyone got this template imported on 0.8.7g and working? Or is there a better way to get this data?

Thanks
tgrtjake
Posts: 6
Joined: Wed Sep 11, 2013 10:55 am

Re: Template(s) für Cisco UCS?

Post by tgrtjake »

KalpeshPatel wrote:While importing the template, I got unmet dependancies. Any assistance would be appreciated.


[success] Cisco - Fibre - C3 Traffic [update]
+ Unmet Dependency: (Data Template Item)
+ Found Dependency: (GPRINT Preset) Normal
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Found Dependency: (Data Template Item) frames_in
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)
+ Unmet Dependency: (Data Template Item)

Running the latest version of the code, namely 0.8.7g.
Any resolution to this error?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest