HP Blades performance monitoring - first try ?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
private55
Posts: 9
Joined: Mon Feb 04, 2013 6:36 am

HP Blades performance monitoring - first try ?

Post by private55 »

Hello,

I was gives a task to monitor HP Blades (performance data) using Cacti. I am new in Cacti (and HP Blades) world so please excuse my lack of knowledge.
I have installed it, added a new device (which is enclosure) and now I am stuck at Associated Data Queries.
What should I choose in "Add Data Query" field ? I cannot find anything related somehow to blades (please have a look at attachment).

Regards
Attachments
cacti.jpg
cacti.jpg (58.4 KiB) Viewed 1493 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: HP Blades performance monitoring - first try ?

Post by BSOD2600 »

Start by reading in http://docs.cacti.net/ how to create template/scripts. you'll also want to search the script forum and repository in case someone else has already done the work.
private55
Posts: 9
Joined: Mon Feb 04, 2013 6:36 am

Re: HP Blades performance monitoring - first try ?

Post by private55 »

I have found templates on this forum for Brocade FC throughput monitoring:

http://forums.cacti.net/viewtopic.php?p=24775

But after copying and importing I cannot create any graphs. Basically it says
that "Search Returned no Rows" (please have a look at the picture)
Can you suggest me why ?
Attachments
cacti-brocade.JPG
cacti-brocade.JPG (78.55 KiB) Viewed 1481 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: HP Blades performance monitoring - first try ?

Post by BSOD2600 »

paste the verbose query output for that script.
private55
Posts: 9
Joined: Mon Feb 04, 2013 6:36 am

Re: HP Blades performance monitoring - first try ?

Post by private55 »

Do you mean the "Verbose Query" from "Devices" ?
Attachments
cacti-debug1.JPG
cacti-debug1.JPG (84.82 KiB) Viewed 1473 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: HP Blades performance monitoring - first try ?

Post by BSOD2600 »

Does a snmpwalk of that OID result in any data? If not, keep removing one level of the OID until you get data back. Does it match what youre expecting? Consulting with the vendors MIB file(s) is really the best way though.
private55
Posts: 9
Joined: Mon Feb 04, 2013 6:36 am

Re: HP Blades performance monitoring - first try ?

Post by private55 »

snmpwalk -v2c -c cmcwrite <IP Address> .1.3.6.1.4.1 gives me some result.
snmpwalk -v2c -c cmcwrite <IP Address> .1.3.6.1.4.1.1588 doesn't at all.

I am a bit surprised since I used templates presented on this forum for monitoring
FC interface on HP Blades.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: HP Blades performance monitoring - first try ?

Post by gandalf »

Sometimes, you will have to activate SNMP processing for private MIBs.
Sometimes, support for specific OIDs/MIBs is dropped from one FW version to the next.
This all is a verndor issue, we can't do anything unless the requested OID responds
R.
private55
Posts: 9
Joined: Mon Feb 04, 2013 6:36 am

Re: HP Blades performance monitoring - first try ?

Post by private55 »

I have found correct MIB file. Now I have:

snmpwalk -v2c -c public -m <mib file> <IP ADDRESS> | tail
...
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.11 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.12 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.13 = Counter32: 5
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.14 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.15 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.16 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.17 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.18 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.19 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3Discards.1.20 = Counter32: 0

What should I do now ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: HP Blades performance monitoring - first try ?

Post by BSOD2600 »

Create a new snmp xml script and template, following the guides previously linked. Using the existing snmp templates as examples helps to learn. Once completed, functional, and validated, post it to the script forum and/or the repository http://docs.cacti.net/templates
private55
Posts: 9
Joined: Mon Feb 04, 2013 6:36 am

Re: HP Blades performance monitoring - first try ?

Post by private55 »

What is a xml script for (in Cacti) ? What its purpose ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: HP Blades performance monitoring - first try ?

Post by BSOD2600 »

Just like the brocade and the SNMP - interface data query you attempted to use, is the purpose of a XML script. It's more efficient that doing all of the collecting using a separate programming language, as re-spawning the tool thousands of times does not scale well.
private55
Posts: 9
Joined: Mon Feb 04, 2013 6:36 am

Re: HP Blades performance monitoring - first try ?

Post by private55 »

Do I need to use just an editor to create that or I can do that using some web gui ?
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests