[Xymon] PS Client in "local mode"?

Timothy Williams tlwilliams4 at vcu.edu
Fri May 28 22:12:01 CEST 2021


If you want some particular status analyzed on the Host, then read the
External Data portion of the Doc file. Your external script creates an
ASCII file (no extension) in the data location, then the script picks it up
and sends to Xymon. The name of the file becomes the column name, and the
status is in the file you created. Something like "green The test is good"
. I've not done that, so some playing around would be needed.

*Tim*


*Timothy L. Williams*Windows Server
*Operating Systems Analyst*

On Fri, May 28, 2021 at 3:03 PM John Thurston <john.thurston at alaska.gov>
wrote:

>
> On 5/28/2021 10:24 AM, Timothy Williams wrote:
> - snip -
> > All Red/yellow/green analysis is done on the server, however there can
> > be instances where you run a local script and pass the red/green back in
> > the package to server.
>
>
> > The local-config can be stored on the host, which
> > makes it harder to centralize/standardize, or is downloaded each cycle
> > and read into cache.
>
> If I'm reading the XymonPSCleint.doc correctly, then:
>
> 'clientconfigfile' is a file containing "config directives"
>
> 'clientremotecfgexec' may say "don't clobber the local file with stuff
> taken from the Xymon server"
>
> But that's all I get. There is no provision for a local analysis.cfg,
> hence xymonclient.ps1 creates only messages of the type 'client', and
> never of the type 'status'. (I'm looking at lines 4223-4230 of the .ps1).
>
> Well, shoot. That's unfortunate.
>
> Thanks for the pointer, Tim.
>
>
>
> --
> Do things because you should, not just because you can.
>
> John Thurston    907-465-8591
> John.Thurston at alaska.gov
> Department of Administration
> State of Alaska
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210528/b62d8579/attachment.htm>


More information about the Xymon mailing list