Xymon Mailing List Archive search

undocumented option on logfetch

2 messages in this thread

list John Thurston · Mon, 18 Sep 2017 14:46:50 -0800 ·
I see my CentOS client script
   ~/client/bin/xymonclient.sh
includes a call to logfetch with "--clock". On my client, it spills three times, epoch/local/UTC   This option is not documented on the logfetch.1.html page.

Looking in source, --clock appears to be the only undocumented option. Is this lack of documentation by design or oversight?

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska
list Japheth Cleaver · Tue, 19 Sep 2017 16:09:21 -0700 ·
quoted from John Thurston
On 9/18/2017 3:46 PM, John Thurston wrote:
I see my CentOS client script
  ~/client/bin/xymonclient.sh
includes a call to logfetch with "--clock". On my client, it spills three times, epoch/local/UTC   This option is not documented on the logfetch.1.html page.

Looking in source, --clock appears to be the only undocumented option. Is this lack of documentation by design or oversight?
It probably should be documented, but it's not especially one way or the other, I don't think. It's used to get the local time in as userland-y agnostic a way as possible for reporting into the client submission, but is otherwise unrelated to the other functions of logfetch.

Arguably, there's a case for moving that bit of code into the main xymon.c client to allow separation for those that don't want logfetch on the system at all to decrease any security surface.

Regards,

-jc