[hobbit] NCV problems still
Wild, Phil
Phil.Wild at asgardwealthsolutions.com.au
Fri Jan 6 08:39:54 CET 2006
Wow,
Thanks for going to this effort....
I also have no idea as to why. I will do some more digging and will let
you know where I screwed up. Perhaps my client script is putting
soemthing in the file that I don't see. I will try sending test messages
as you have and see if things become better.
Thanks
Phil
-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk]
Sent: Friday, 6 January 2006 3:14 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] NCV problems still
On Fri, Jan 06, 2006 at 02:39:25PM +0800, Wild, Phil wrote:
>
> Fy first status message has a DEV line and a RUN line but it seems to
> only process the DEV line. It has me stumped. I'm almost ready to give
> up on the NCV functionality and write my own parsing script.
I have absolutely no problems when I reproduce your setup. I've done it
on the Hobbit demo site at http://www.hswn.dk/hobbit/servers/ - look at
the bottom of the page for the "osiris.hswn.dk" host.
All of the config. files are online, you can see them via the "Demo
Site" menu item. The changes I made were:
1) Add "pro4=ncv" to TEST2RRD in hobbitserver.cfg
2) Add "pro4" (and "ncv" if it's not there) to GRAPHS in
hobbitserver.cfg
3) Add a new setting NCV_pro4="DEV:GAUGE,RUN:GAUGE" to hobbitserver.cfg
4) Kill the hobbitd_rrd processes so they restart and pick up the new
hobbitserver.cfg settings
5) Define the [pro4] setting in hobbitgraph.cfg
[pro4]
TITLE Pro4 graphs
YAXIS Seconds
DEF:dev=pro4.rrd:DEV:AVERAGE
DEF:run=pro4.rrd:RUN:AVERAGE
LINE2:dev#00CCCC:DEV time
LINE2:run#FF0000:RUN time
COMMENT:\n
GPRINT:dev:LAST:DEV time \: %5.1lf%s (cur)
GPRINT:dev:MAX: \: %5.1lf%s (max)
GPRINT:dev:MIN: \: %5.1lf%s (min)
GPRINT:dev:AVERAGE: \: %5.1lf%s (avg)\n
GPRINT:run:LAST:RUN time \: %5.1lf%s (cur)
GPRINT:run:MAX: \: %5.1lf%s (max)
GPRINT:run:MIN: \: %5.1lf%s (min)
GPRINT:run:AVERAGE: \: %5.1lf%s (avg)\n
6) Start sending status messages for the "pro4" status using this
script (dummy data, cut-and-pasted from your mails):
#!/bin/sh
$BB 172.16.10.2 "status osiris,hswn.dk.pro4 green `date`
DEV : 57
RUN : 20
"
exit 0
Regards,
Henrik
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
=======================================================
IMPORTANT INFORMATION
This message and any files transmitted with it are confidential and should be read only by those persons to whom it is addressed. If you have received this message in error, please notify us immediately by way of reply. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited.
It is the duty of the recipient to virus scan and otherwise test the information provided before loading on to any computer system. No warranty is given or made by Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited that the information is free of a virus or any other defect or error and they will not be liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.
Any views expressed in this message are those of the individual sender, except where the sender specifically states they are the views of Asgard Wealth Solutions Limited, Asgard Capital Management Limited or SECURITOR Financial Group Limited, as the case may be.
=======================================================
More information about the Xymon
mailing list