Xymon Mailing List Archive search

$XYMONSERVERS vs $XYMONSERVER: Typo in xymongrep(1) man page?

2 messages in this thread

list Axel Beckert · Mon, 10 Jan 2022 12:24:35 +0100 ·
Hi,

I just noticed that while everywhere $XYMONSERVERS (plural, with an
"S" at the end) is used as variable, the xymongrep(1) man page refers
to a $XYMONSERVER variable (without trailing "S"):

   --loadhostsfromxymond

          xymongrep will normally attempt to load the HOSTSCFG file by
	  itself when searching for lines to transmit. If the file is
	  unreadable, it will exit out. With this option, it will
	  query the xymond server (set via the XYMONSERVER
	  environment) for the hosts file. This can be used if you're
	  running this on a client or remote system and can't or don't
	  want to have the hosts.cfg file synchronized across your
	  servers.

I assume this is a typo, right?

		Kind regards, Axel
-- 
PGP: 2FF9CD59612616B5      /~\  Plain Text Ribbon Campaign, http://arc.pasp.de/
Mail: user-bc188e45dae4@xymon.invalid  \ /  Say No to HTML in E-Mail and Usenet
Mail+Jabber: user-0064bde8d49d@xymon.invalid  X
https://axel.beckert.ch/   / \  I love long mails: https://email.is-not-s.ms/
list Tom Schmidt · Mon, 10 Jan 2022 06:49:17 -0700 ·
Axel,
    Yes, that is a typo in the man page for xymongrep.  I searched the
source code to verify that XYMONSERVERS is the correct environment variable.

Tom
quoted from Axel Beckert

On Mon, Jan 10, 2022 at 4:30 AM Axel Beckert <user-bc188e45dae4@xymon.invalid> wrote:
Hi,

I just noticed that while everywhere $XYMONSERVERS (plural, with an
"S" at the end) is used as variable, the xymongrep(1) man page refers
to a $XYMONSERVER variable (without trailing "S"):

   --loadhostsfromxymond

          xymongrep will normally attempt to load the HOSTSCFG file by
          itself when searching for lines to transmit. If the file is
          unreadable, it will exit out. With this option, it will
          query the xymond server (set via the XYMONSERVER
          environment) for the hosts file. This can be used if you're
          running this on a client or remote system and can't or don't
          want to have the hosts.cfg file synchronized across your
          servers.

I assume this is a typo, right?

                Kind regards, Axel
--
PGP: 2FF9CD59612616B5      /~\  Plain Text Ribbon Campaign,
http://arc.pasp.de/
Mail: user-bc188e45dae4@xymon.invalid  \ /  Say No to HTML in E-Mail and Usenet
Mail+Jabber: user-0064bde8d49d@xymon.invalid  X
https://axel.beckert.ch/   / \  I love long mails:
https://email.is-not-s.ms/