xymond_locator documentation and other thoughts
xymond_locator program -
I've read through the code and it makes sense but is there (going to be?) a man page or further explanation ?
I wrote a history & reflector style module that listens to channels - this looks like a more formal way to do it? Is it possible to have multiple display destinations running on locator?
ps -- use "restofmsg" NOT metadata[15] -- because Henrik might just toss 4 more new metadata things in there and throw your whole code off :-D
pps - Japeth, Henrik, Milne, (and I guess Sean who is the grandaddy of all of this) - thanks for all your hard work in making such a great enterprise program! I really must thank Japeth Cleaver again for his patches and rpm structure (and selinux option). Also a big thanks to the community here and any one who has contributed that I failed to mention.
ppps - Japeth - the history one isn't the piece of junk I was talking to you about 3 years back or so - I actually learned how to write much better C and how it works without any issues other than the number of metadata elements changing
pppps (last one) - new-daemon.txt is the only place where the channels were formally explained, and that file is woefully out of date - I would suggest either dropping the file or updating it with the extra fields in it
-- Sean Clark
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
On 10.09.2013 01:15, Clark, Sean wrote:
xymond_locator program -
I've read through the code and it makes sense but is there (going to be?) a man page or further explanation ?
Tell you what ... I would have to go read the code myself to document it :-)
It was written quite some time ago because I was having severe performance issues with RRD file updates - the disks just couldn't keep up with the load. So xymond_channel got an addition that let it send updates to a worker module on another server, and to find out where stuff was I re-invented DNS in xymond_locator.
Well, kind of at least ...
It isn't my favourite piece of code, because it adds a fair bit of complexity to the channel/worker communications.
ps -- use "restofmsg" NOT metadata[15] -- because Henrik might just toss 4 more new metadata things in there and throw your whole code off :-D
Indeed!
pppps (last one) - new-daemon.txt is the only place where the channels were formally explained, and that file is woefully out of date - I would suggest either dropping the file or updating it with the extra fields in it
Hmmm ... yes, I should document this properly. man-page, I guess.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
sean.clark@twcable.com