[Xymon] xymon 4.3.17 glitch - .netrc passwd not working for some https cont tests

Jeremy Laidman jlaidman at rebel-it.com.au
Mon Sep 1 05:06:07 CEST 2014


On 30 August 2014 07:35, Betsy Schwartz <betsy.schwartz at gmail.com> wrote:

> Jeremy you were correct (as always) thank you !!
>

You're most welcome.


>  the server was using /usr/local/xymon/.netrc and I was editing
> /usr/local/xymon/server/etc/.netrc
>
>
> What controls whether/which of these files is used?
>

Why the source code of course!  ;-)

And for the answer you really wanted, the source code (lib/url.c) tells me
that Xymon first looks in $XYMONHOME/etc/netrc (no dot) and uses that file.
 If there's no file there, or of Xymon failed to open the file (eg
permission denied), then it looks for it in $HOME/.netrc (leading dot).  If
still no file opened, Xymon gives up.

So on your system, this would be /usr/local/xymon/server/etc/netrc, then (I
think) /usr/local/xymon/.netrc.

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140901/ac39cdc2/attachment.html>


More information about the Xymon mailing list