Templates for HP Servers

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

Moderators: Developers, Moderators

lints
Cacti User
Posts: 107
Joined: Thu Nov 08, 2007 2:00 pm
Location: Ottawa, Canada

Re: Templates for HP Servers

Post by lints »

I've found that so long as you have SNMP working properly with the HP MIBs, you should see something like ' Temperature - 4 - memory(7)' or 'Temperature - 10 - ioBoard(5)' in your data sources and graphs.

When you walk the OIDs from the command-line, you should see it there too.
Cacti Version - 0.8.7e
Plugin Architecture - 2.4
Poller Type - Cactid v
Server Info - Linux
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.2.10
MySQL - 5.1.35-log
RRDTool - 1.4.4
------------------------------
As of March 23rd:
Hosts - 564
Graphs - 15274
livearchivist
Posts: 3
Joined: Mon Dec 06, 2010 11:54 am

Re: Templates for HP Servers

Post by livearchivist »

I hate resurrecting a thread, but this seems to be on the track for what I need to get done. I was curious if the OP had any way of viewing the status of the drives? I am running a couple of DL580 G5's that have a StorageWorks MSA70 attached to them via SCSI. We would like to be able to view the SMART status of each of the drives attached to the MSA. Getting alerts on impending failures is the ultimate goal.

Thanks,
iosouthsd
Posts: 1
Joined: Mon Dec 05, 2011 1:13 am

Re: Templates for HP Servers

Post by iosouthsd »

Hi,
:lol: The HP ProLiant DL380 G7 Server continues to deliver on its heritage of engineering excellence with increased flexibility and performance, enterprise-class uptime and HP Insight Control manageability, 2 socket Intel Xeon performance, and 2U density for a variety of applications.so nice comments.............. :roll:
www.iosouth.com
b0fh
Posts: 32
Joined: Fri Jul 18, 2003 3:46 am

Re: Templates for HP Servers

Post by b0fh »

Is it possible to monitor CPU-core temperature on HP ProLiant servers using the systems insight manager, too? I don't want to setup the SpeedFan solution.
Thanks in advance!
ouafnico
Posts: 7
Joined: Wed Nov 14, 2012 10:11 am

Re: Templates for HP Servers

Post by ouafnico »

Hello

Is someone have the templates and scripts for Smart array on linux servers ?
DCAlmeida
Posts: 1
Joined: Mon Jul 01, 2013 5:59 am

Re: Templates for HP Servers

Post by DCAlmeida »

Hi guys!

I am with some difficult to get data from HP ProLiant DL560 Gen8, this templates doesn't support this new HP servers.

Can anyone help me? Do you want any information like snmp query?
ouafnico
Posts: 7
Joined: Wed Nov 14, 2012 10:11 am

Re: Templates for HP Servers

Post by ouafnico »

Hello,

I have made my own templates for show temperatures of Disk in smartarray.

It's working on a Linux Server (Centos), with Smartarray P212.

You can found the templates here http://download.shivaserv.fr/cacti/ or on this post.

You can found a graph for 4 disks in the post too.
Attachments
cacti_graph_template_hp_-_smartarray_disks_temperature.xml.tar.gz
Graph templates for 4 disks
(1.71 KiB) Downloaded 316 times
HP_Smartarray_physicaldisk_temperature.tar.gz
HP Smartarray disks temperatures
(3.21 KiB) Downloaded 332 times
User avatar
Echinocactus
Posts: 7
Joined: Mon Nov 08, 2010 2:43 pm

Re: Templates for HP Servers

Post by Echinocactus »

It's a cool template.
Unfortunatly the real cool statistics about the logical drives (ios, cache misses, queue) failed, if more than one controller is in the server.

Data Query Debug Information:
+ Running data query [17].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/hpDrvArray-LogicalDrive.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.232.3.2.8.1.1.1' Index Count: 7
+ Index found at OID: 'enterprises.232.3.2.8.1.1.1.6.1.1' value: '6'
+ Index found at OID: 'enterprises.232.3.2.8.1.1.1.6.2.1' value: '6'
+ Index found at OID: 'enterprises.232.3.2.8.1.1.1.6.3.1' value: '6'
+ Index found at OID: 'enterprises.232.3.2.8.1.1.1.6.4.1' value: '6'
+ Index found at OID: 'enterprises.232.3.2.8.1.1.1.6.5.1' value: '6'
+ Index found at OID: 'enterprises.232.3.2.8.1.1.1.6.6.1' value: '6'
+ Index found at OID: 'enterprises.232.3.2.8.1.1.1.7.1.1' value: '7'
+ index_parse at OID: 'enterprises.232.3.2.8.1.1.1.6.1.1' results: '6.1.1'
+ index_parse at OID: 'enterprises.232.3.2.8.1.1.1.6.2.1' results: '6.2.1'
+ index_parse at OID: 'enterprises.232.3.2.8.1.1.1.6.3.1' results: '6.3.1'
+ index_parse at OID: 'enterprises.232.3.2.8.1.1.1.6.4.1' results: '6.4.1'
+ index_parse at OID: 'enterprises.232.3.2.8.1.1.1.6.5.1' results: '6.5.1'
+ index_parse at OID: 'enterprises.232.3.2.8.1.1.1.6.6.1' results: '6.6.1'
+ index_parse at OID: 'enterprises.232.3.2.8.1.1.1.7.1.1' results: '7.1.1'
+ Located input field 'hpIDALogicalDrvIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.232.3.2.8.1.1.1'
+ Found item [hpIDALogicalDrvIndex='6'] index: 6.1.1 [from value]
+ Found item [hpIDALogicalDrvIndex='6'] index: 6.2.1 [from value]
+ Found item [hpIDALogicalDrvIndex='6'] index: 6.3.1 [from value]
+ Found item [hpIDALogicalDrvIndex='6'] index: 6.4.1 [from value]
+ Found item [hpIDALogicalDrvIndex='6'] index: 6.5.1 [from value]
+ Found item [hpIDALogicalDrvIndex='6'] index: 6.6.1 [from value]
+ Found item [hpIDALogicalDrvIndex='7'] index: 7.1.1 [from value]
+ Located input field 'hpIDALogicalDrvInstance' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.232.3.2.8.1.1.2'
+ Found item [hpIDALogicalDrvInstance='1'] index: 6.1.1 [from value]
+ Found item [hpIDALogicalDrvInstance='2'] index: 6.2.1 [from value]
+ Found item [hpIDALogicalDrvInstance='3'] index: 6.3.1 [from value]
+ Found item [hpIDALogicalDrvInstance='4'] index: 6.4.1 [from value]
+ Found item [hpIDALogicalDrvInstance='5'] index: 6.5.1 [from value]
+ Found item [hpIDALogicalDrvInstance='6'] index: 6.6.1 [from value]
+ Found item [hpIDALogicalDrvInstance='1'] index: 7.1.1 [from value]

In "Graph Management" the graph looks strange:
172.20.44.175 - Logical Drive: |query_hpIDALogicalDrvInstance|, Controller: |query_hpIDALogicalDrvIndex|
instead of "Server Name - Logical Drive: 1, Controller 6"

Debug:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='172.20.44.175 - Logical Drive: |query_hpIDALogicalDrvInstance|, Controller: |query_hpIDALogicalDrvIndex|' \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='Units per Second' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a='/usr/share/cacti/rra/98/564.rrd':'Reads':AVERAGE \
DEF:b='/usr/share/cacti/rra/98/564.rrd':'Writes':AVERAGE \
DEF:c='/usr/share/cacti/rra/98/564.rrd':'TotalIOs':AVERAGE \
DEF:d='/usr/share/cacti/rra/98/564.rrd':'CacheHits':AVERAGE \
DEF:e='/usr/share/cacti/rra/98/564.rrd':'CacheMisses':AVERAGE \
DEF:f='/usr/share/cacti/rra/98/564.rrd':'QueueDepth':AVERAGE \
AREA:a#EACC00FF:'Read IOs' \
GPRINT:a:LAST:' Current\:%8.2lf %s' \
GPRINT:a:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' \
AREA:b#9FA4EEFF:'Write IOs':STACK \
GPRINT:b:LAST:' Current\:%8.2lf %s' \
GPRINT:b:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:b:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:c#FF4105FF:'Total IOs' \
GPRINT:c:LAST:' Current\:%8.2lf %s' \
GPRINT:c:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:c:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:d#7EE600FF:'Cache Hits' \
GPRINT:d:LAST:' Current\:%8.2lf %s' \
GPRINT:d:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:d:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:e#942D0CFF:'Cache Misses' \
GPRINT:e:LAST:'Current\:%8.2lf %s' \
GPRINT:e:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:e:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:f#000000FF:'Queue Depth' \
GPRINT:f:LAST:' Current\:%8.2lf %s' \
GPRINT:f:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:f:MAX:'Maximum\:%8.2lf %s\n'

RRDTool Says:

ERROR: opening '/usr/share/cacti/rra/98/564.rrd': No such file or directory

Data Source Debug

/usr/bin/rrdtool create \
/usr/share/cacti/rra/98/564.rrd \
--step 300 \
DS:Reads:GAUGE:600:0:U \
DS:Writes:GAUGE:600:0:U \
DS:TotalIOs:GAUGE:600:0:U \
DS:CacheHits:GAUGE:600:0:U \
DS:CacheMisses:GAUGE:600:0:U \
DS:QueueDepth:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \


What is wrong?
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests