HP procurve 2600 series

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

Moderators: Developers, Moderators

psycho.chicken
Posts: 21
Joined: Wed Feb 14, 2007 8:46 pm

Post by psycho.chicken »

jlscott wrote:Excellent work! I've only tried the CPU graph but it works a treat. For info this is working on HP 5300 boxes too.
Can someone please explain hot to monitor the cpu...

How do i use the cisco graph and hp cpu data part together...

(Your probably gonna tell em and i'll say oh yeah dah...)

TIA
flickerfly
Posts: 17
Joined: Thu Oct 19, 2006 8:44 am
Location: Lanham, MD
Contact:

Post by flickerfly »

I'm also interested in graphing the traffic across the VLANs. They show up, but not working like a normal port.
ecoutinho
Posts: 3
Joined: Fri Jun 29, 2007 5:17 am

Post by ecoutinho »

Thanks for your templates! They also work on 2600 and 2800 series. To ease the task of adding 30 new switches, I went ahead and created a 'HP Procurve' host template. This includes all the templates for CPU, Mem, MAC and interfaces statistics.

Elio
Attachments
cacti_host_template_hp_procurve.zip
HP Procurve host template
(13.78 KiB) Downloaded 4960 times
Adelante
Posts: 7
Joined: Mon Aug 16, 2004 9:50 am

Post by Adelante »

flickerfly wrote:I'm also interested in graphing the traffic across the VLANs. They show up, but not working like a normal port.
I have the same issue - I have the graphs for the vlans, but nothing is graphing. Has anyone found a solution for this?
rgruyters
Posts: 1
Joined: Wed Sep 19, 2007 4:53 am

Post by rgruyters »

Hi ya,

Thanks for the template, which is working fine for our Procurve 2500. Unfortunately it doesn't work for our 1800 (1824G) switch.

The interfaces is showing up fine, but with CPU, Mac and Memory I get "nan".

When I try to get OID 1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0 (=CPU), it doesn't find it.

Code: Select all

$ snmpwalk -v2c -c<community> <switch> 1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0
End of MIB
$
Same goes for memory

Code: Select all

$ snmpwalk -v2c -c<community> <switch> 1.3.6.1.4.1.11.2.14.11.5.1.1.2.2.1.1.6.1
End of MIB
$
Anybody any idea?
shull
Cacti User
Posts: 54
Joined: Thu Aug 24, 2006 1:20 am
Location: South Texas
Contact:

Post by shull »

Thanks for the Template!

I am getting a "Hash version does not exist" Anyone out there have this problem?


Thanks,

Stephen


Cacti Version - 0.8.6i
Plugin Architecture - 1.0
Poller Type - Cactid v0.8.6i
Server Info - Linux 2.6.9-55.0.2.EL
Web Server - Apache/2.0.52 (CentOS)
PHP - 4.3.9
PHP Extensions - yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mysql, snmp, eAccelerator
MySQL - 4.1.20
RRDTool - 1.2.15
SNMP - 5.1.2
Plugins
  • PHP Network Weathermap (weathermap - v0.82)
    Thresholds (thold - v0.3.0)
    Device Monitoring (monitor - v0.7)
    Network Discovery (discovery - v0.6)
    Network Tools (tools - v0.2)
    Syslog Monitoring (haloe - v0.4)
    mactrack
    RRD Cleaner (rrdclean - v1.1)
    Update Checker (update - v0.3)
    FlowView (flowview - v0.3)
    Host Info (hostinfo - v0.1)
    Error Images (errorimage - v0.1)
www.cactiexchange.com -- Hosted Tools for the Cacti Community:
Cacti Perl Tool
Cacti XML Tool
Search OID-to-Names

[url=http://www.google.com/search?num=100&hl=en&safe=off&domains=forums.cacti.net&q=cacti&sitesearch=forums.cacti.net]Cacti Forums Google Index -- Better than the main page version![/url]
billpitz
Posts: 3
Joined: Tue Oct 30, 2007 3:27 pm

Post by billpitz »

For those trying to graph VLAN traffic, I suspect this is much the same as with Cisco switches -- the SNMP counters for the VLAN interfaces only measure traffic hitting the switch itself (i.e. only the management VLAN would have traffic showing).

I am curious if anyone has found a way to graph the total traffic for a vlan across the entire switch. That would be very helpful for my application...

Thanks,

-Bill
maddox76
Posts: 5
Joined: Mon Dec 10, 2007 8:31 am

Post by maddox76 »

I cant understand why you cant monitor VLAN on procurve. Someone here must do it ?

regards maddox
utdrmac
Posts: 11
Joined: Wed Dec 19, 2007 12:31 pm

ERROR: the RRD does not contain an RRA

Post by utdrmac »

I just downloaded the procurve templates and successfully imported them. I added the 3 data sources for memory (free, total, used) and they are being polled successfully. But when I try to add a graph for 'HP Procurve - MEM Usage', rrdtool gives this error:

Code: Select all

 RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="netherdrake - MEM Usage" \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/lcars/cacti/rra/netherdrake_mem_used_84.rrd":mem_used:LAST \
DEF:b="/var/www/lcars/cacti/rra/netherdrake_mem_used_84.rrd":mem_used:AVERAGE \
DEF:c="/var/www/lcars/cacti/rra/netherdrake_mem_used_84.rrd":mem_used:MAX \
DEF:d="/var/www/lcars/cacti/rra/netherdrake_mem_free_82.rrd":mem_free:LAST \
DEF:e="/var/www/lcars/cacti/rra/netherdrake_mem_free_82.rrd":mem_free:AVERAGE \
DEF:f="/var/www/lcars/cacti/rra/netherdrake_mem_free_82.rrd":mem_free:MAX \
DEF:g="/var/www/lcars/cacti/rra/netherdrake_mem_total_83.rrd":mem_total:LAST \
DEF:h="/var/www/lcars/cacti/rra/netherdrake_mem_total_83.rrd":mem_total:AVERAGE \
DEF:i="/var/www/lcars/cacti/rra/netherdrake_mem_total_83.rrd":mem_total:MAX \
AREA:a#4444FFFF:"MEM used"  \
GPRINT:a:LAST:" Cur\:%8.2lf%s"  \
GPRINT:b:AVERAGE:"Avg\:%8.2lf%s"  \
GPRINT:c:MAX:"Max\:%8.2lf%s"  \
GPRINT:b:MIN:"Min\:%8.2lf%s\n"  \
AREA:d#7CB3F1FF:"MEM free":STACK \
GPRINT:d:LAST:" Cur\:%8.2lf%s"  \
GPRINT:e:AVERAGE:"Avg\:%8.2lf%s"  \
GPRINT:f:MAX:"Max\:%8.2lf%s"  \
GPRINT:e:MIN:"Min\:%8.2lf%s\n"  \
LINE1:g#000000FF:"MEM total"  \
GPRINT:g:LAST:"Cur\:%8.2lf%s"  \
GPRINT:h:AVERAGE:"Avg\:%8.2lf%s"  \
GPRINT:i:MAX:"Max\:%8.2lf%s"  \
GPRINT:h:MIN:"Min\:%8.2lf%s" 

RRDTool Says:

ERROR: the RRD does not contain an RRA matching the chosen CF
It seems that the rrd template doesn't create the CF's for LAST, MAX and MIN.

How can I correct this? Here is the rrd creation cmd that cacti gives me:

Code: Select all

/usr/bin/rrdtool create \
/var/www/lcars/cacti/rra/netherdrake_mem_used_84.rrd \
--step 300  \
DS:mem_used:GAUGE:600:0:1000000000 \
RRA:AVERAGE:0.5:1:500 \
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:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797
User avatar
fBSDmon
Posts: 2
Joined: Tue Jan 17, 2006 3:31 am
Location: Skopje, Macedonia
Contact:

port counters

Post by fBSDmon »

I would be interested in some templates that can do port errors/drops counters for the procurve 2600 series.

It would be very nice to have the cacti thold plugin report on port errors!
[b]I love man kind, it's people I can't stand![/b] - [i] Linus [/i]
E:S
Posts: 4
Joined: Sat Mar 15, 2008 10:09 pm

Post by E:S »

Very good job. I m using latest cacti, but I cannot graph MAC count nor memory usage ! The reason is the missing consolidation function ( LAST ) ! If I take out this CF out of the graph template.. the graph will be rendered !

Can this be repaired somehow? I am not sure how to update the RRDs :(

Thank you in advance !

E:S
wilperi
Posts: 12
Joined: Mon Sep 03, 2007 6:55 am

Post by wilperi »

Hi

Change the LAST to AVERAGE graph template in cacti. Then it should work.

-wilperi-
cvicente
Posts: 6
Joined: Tue Oct 14, 2008 11:21 pm
Location: NH

Updated host template

Post by cvicente »

Here's the host template with with some corrections.

cv
Attachments
cacti_host_template_hp_procurve.zip
(13.78 KiB) Downloaded 1316 times
cvicente
Posts: 6
Joined: Tue Oct 14, 2008 11:21 pm
Location: NH

More corrections

Post by cvicente »

I believe the last template still contained errors. Here's the latest one I have.

cv
Attachments
cacti_host_template_hp_procurve.xml
(143.76 KiB) Downloaded 4108 times
tkempken
Posts: 24
Joined: Wed Nov 07, 2007 12:12 pm
Contact:

Post by tkempken »

works great for HP 2524!

thank you & merry XMAS
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests