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)