NCV problems still
list Phil Wild
Hi Hobbit users,
Is anyone successfully using the NCV functionality to trend statistics
for more than one variable? I can not seem to get two variables into an
RRD and have not been able to find any hints by searching the archives.
The rrd is created but only ever has the first variable (DEV) in it.
Is there a way of turning on some form of debugging for the process that
parses the status messages and builds the rrd file?
Everything else seems to work fine including an external larrd script
that builds rrd data for sar.
My status message looks like this:
green Fri Jan 6 13:51:36 WST 2006
DEV : 57
RUN : 20
Thanks
Phil
=======================================================
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.
=======================================================
list Tracy J. di Marco White
▸
In message <user-4b564f66c6bc@xymon.invalid>, "Wild, Phil" writes: }Hi Hobbit users, } }Is anyone successfully using the NCV functionality to trend statistics }for more than one variable? I can not seem to get two variables into an }RRD and have not been able to find any hints by searching the archives. } }The rrd is created but only ever has the first variable (DEV) in it. } }Is there a way of turning on some form of debugging for the process that }parses the status messages and builds the rrd file? }Everything else seems to work fine including an external larrd script }that builds rrd data for sar. } }My status message looks like this: } }green Fri Jan 6 13:51:36 WST 2006 }DEV : 57 }RUN : 20 } }Thanks
I was only able to get multiple variables into an rrd by deleting
the rrd and starting over, then it started saving all of the variables
properly. I assume the rrd file can't really grow new variables.
I haven't yet figured out how to graph all of them though.
Tracy J. Di Marco White
Information Technology Services
Iowa State University
list Phil Wild
Hi Tracy, Thanks for the response. If you are expecting the number of variables to vary from one status message to the next then you need to write your own parsing script and store the variables in individual RRD's ala how the disk rrd's are built. 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. Cheers Phil
▸
-----Original Message-----
From: Tracy J. Di Marco White [mailto:user-4d3c8321d54f@xymon.invalid]
Sent: Friday, 6 January 2006 2:25 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] NCV problems still
In message
<user-4b564f66c6bc@xymon.invalid>,
"Wild, Phil" writes:
}Hi Hobbit users,
}
}Is anyone successfully using the NCV functionality to trend statistics
}for more than one variable? I can not seem to get two variables into an
}RRD and have not been able to find any hints by searching the archives.
}
}The rrd is created but only ever has the first variable (DEV) in it.
}
}Is there a way of turning on some form of debugging for the process
that }parses the status messages and builds the rrd file?
}Everything else seems to work fine including an external larrd script
}that builds rrd data for sar.
}
}My status message looks like this:
}
}green Fri Jan 6 13:51:36 WST 2006
}DEV : 57
}RUN : 20
}
}Thanks
I was only able to get multiple variables into an rrd by deleting the
rrd and starting over, then it started saving all of the variables
properly. I assume the rrd file can't really grow new variables.
I haven't yet figured out how to graph all of them though.
Tracy J. Di Marco White
Information Technology Services
Iowa State University
=======================================================
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.
=======================================================
list Henrik Størner
▸
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
list Tracy J. di Marco White
▸
In message <user-a756aa159257@xymon.invalid>, "Wild, Phil" writes: }Hi Tracy, } }Thanks for the response. If you are expecting the number of variables to }vary from one status message to the next then you need to write your own }parsing script and store the variables in individual RRD's ala how the }disk rrd's are built.
I don't actually expect them to change, I just was able to monitor a
lot more than I had originally planned, and went from 1 variable to
28. The rrd is fine, I just haven't gotten around to figuring out
what to do about graphing.
▸
}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 had to enable debugging to find out why the rrd wouldn't take the
new variables, but once I did the errors made it obvious. Do you
have error logs? My errors included not having every variable
listed correctly in NCV_afs in hobbitserver.cfg, as well as needing
to start with a fresh rrd.
-Tracy
▸
}-----Original Message-----
}From: Tracy J. Di Marco White [mailto:user-4d3c8321d54f@xymon.invalid] =
}
}Sent: Friday, 6 January 2006 2:25 PM
}To: user-ae9b8668bcde@xymon.invalid
}Subject: Re: [hobbit] NCV problems still
}
}
}In message
}<user-4b564f66c6bc@xymon.invalid>, "Wild, Phil" writes:
}
}}Hi Hobbit users,
}}
}}Is anyone successfully using the NCV functionality to trend statistics
}}for more than one variable? I can not seem to get two variables into an
}}RRD and have not been able to find any hints by searching the archives.
}}
}}The rrd is created but only ever has the first variable (DEV) in it.
}}
}}Is there a way of turning on some form of debugging for the process
}that }parses the status messages and builds the rrd file?
}}Everything else seems to work fine including an external larrd script
}}that builds rrd data for sar.
}}
}}My status message looks like this:
}}
}}green Fri Jan 6 13:51:36 WST 2006
}}DEV : 57
}}RUN : 20
}}
}}Thanks
}
}I was only able to get multiple variables into an rrd by deleting the
}rrd and starting over, then it started saving all of the variables
}properly. I assume the rrd file can't really grow new variables.
}I haven't yet figured out how to graph all of them though.
Tracy J. Di Marco White
Information Technology Services
Iowa State University
list Phil Wild
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:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, 6 January 2006 3:14 PM
To: user-ae9b8668bcde@xymon.invalid
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 ======================================================= 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. =======================================================
list Rolf Schrittenlocher
Hi, as hobbit client (hobbit-4.1.2p1) on Solaris couldn't find top I had to change hobbitclient-sunos.sh as follows: old: echo "[top]" top -b 20 new: echo "[top]" $TOP -b 20 so the settings of hobbitclient.cfg are used. kind regards Rolf -- Mit freundlichen Gruessen Rolf Schrittenlocher HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (XX) XX - XXX XXXXX Fax: (XX) XX XXX XXXX LBS: user-1e39a1813094@xymon.invalid Persoenlich: user-6ea8e907e200@xymon.invalid
list Buchan Milne
▸
On Friday 06 January 2006 07:56, Wild, Phil wrote:
Hi Hobbit users, Is anyone successfully using the NCV functionality to trend statistics for more than one variable?
recording 28 variables, only graphing 6 at present: http://196.25.211.21/hobbit-cgi/bb-hostsvc.sh?HOSTSVC=io.ol -- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)