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 <user-ce4d79d99bab@xymon.invalid>
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 XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska