[hobbit] trying to get netapp filer data into larrd graphs

Lowery, Michael mlowery at alliedtechgroup.com
Wed Feb 16 22:01:28 CET 2005


On a similar note, I'm trying to get the ciscocpu.pl/.sh script to also
present the data to larrd.  But I don't really have a clue as how to
accomplish this, so if someone feels that they would like to help, let
me know.  I will be equally grateful for those who can provide links and
or hints that can help me get this done.  

**I am willing to learn how to do it...**  But I'm not yet fully versed
in scripting and know nothing about perl.

Michael Lowery


-----Original Message-----
From: Tom Georgoulias [mailto:tgeorgoulias at nandomedia.com] 
Sent: Wednesday, February 16, 2005 2:52 PM
To: hobbit mailing list
Subject: [hobbit] trying to get netapp filer data into larrd graphs

I'm using the filerstats2bb script from deadcat.net to get from my
Netapp filers and displaying it in hobbit.  This is what is displayed on
the status page:

conn, cpu, disk, info, inode, qtree, trends, user_quota

The data displayed is accurate, but the only graph that works is conn.
The rest are severely broken.  I checked the rrd directory and the only
files that existed were:

memory.real.rrd
memory.swap.rrd
tcp.conn.rrd

Not sure why memory* exist at all, but they do and are empty.

I would like to fix this, starting with CPU.  I'm hoping that what I
learn here can be used when I attempt to create custom graphs for
user_quota & qtree with the custom RRD feature described in 
hobbitd_larrd.  The rest of this message concerns only the load 
average/CPU graph problem, since I figure this ought to work without any

modification.

For example, this is the contents of a status summary displayed on the
CPU status page:
==
  Wed Feb 16 14:59:46 EST 2005 - CPU Utilization on
filerA.nandomedia.com is OK. Uptime: 63 days, 06:57:54.29, load=1

LOAD AVG on filerA.nandomedia.com is 1
==

Underneath the status message, a link for "hobbit graph la" instead of a

real graph.

There is data in the usual places in hobbit/data/hist/

cat hobbit/data/hist/filerA,nandomedia,com.cpu
<snip>
Sat Feb 12 16:32:47 2005 purple 1108243967 140478
Mon Feb 14 07:34:05 2005 green 1108384445 1050
Mon Feb 14 07:51:35 2005 purple 1108385495 304
Mon Feb 14 07:56:39 2005 green 1108385799

cat hobbit/data/hist/filerA.nandomedia.com | grep cpu
<snip>
cpu 1108128065 1108073455 54610 gr pu 1
cpu 1108243967 1108128065 115902 pu gr 2
cpu 1108384445 1108243967 140478 gr pu 1
cpu 1108385495 1108384445 1050 pu gr 2
cpu 1108385799 1108385495 304 gr pu 1

So why isn't the data being pulled from the status report messages and 
put into an rrd file to larrd can use it?

Tom

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list