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

Lowery, Michael mlowery at alliedtechgroup.com
Thu Feb 17 00:17:34 CET 2005


Ok, after following the instructions, I get this on the BBTEST page:

- Program crashed
Fatal signal caught!

Now all the network tests have gone purple... What did I do wrong?

Michael Lowery
 
-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Wednesday, February 16, 2005 4:30 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] trying to get netapp filer data into larrd graphs

On Wed, Feb 16, 2005 at 11:18:28PM +0100, Henrik Stoerner wrote:
> > Here is what the status message looks like from the ciscocpu script:
> > 
> >
@@status#28646|1108591336.263764|10.10.10.22||WAN.jvbs-router.atg.com|cp
> > u|1108593136|green||green|1108550383|0||0|
> > status WAN,jvbs-router,atg,com.cpu green Wed Feb 16 16:02:16 CST
2005
> > <br>CPU 5 min average: 4%
> 
> Wouldn't be hard to add support for this in the standard hobbitd_larrd
> handler.

I've added a couple of lines to the "cpu" handler in hobbitd_larrd,
and from your message I think it should make it work. I also added
the lines that should make the Netapp cpu-reports work.

I've attached a small patch for this (also available at
http://www.hswn.dk/beta/cpu-reports.patch); apply with GNU patch using
"cd hobbit-4.0-RC2; patch -p0 </tmp/cpu-reports.patch" then rebuild
with "make" and "make install" and restart Hobbit.  If graphs appear
after 10-15 minutes, it worked.

Let me know if it's OK.


Regards,
Henrik (off to bed now)



More information about the Xymon mailing list