PS Client in "local mode"?
The old BB and Xymon clients for Windows rely on ancient libraries, so I'm looking at my options. It appears to me that the Powershell client is the only thing out there.
Is there the correct location for the most recent? https://github.com/svn2github/xymon
And can anyone tell me if it can be run in "local config mode", wherein the evaluation of red/green occurs on the host (rather than the server)?
-- 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
https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/ is the location of the latest client, with some config examples. 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.
*Tim*
*Timothy L. Williams*Windows Server *Operating Systems Analyst*
On Fri, May 28, 2021 at 2:09 PM John Thurston <john.thurston at alaska.gov> wrote:
The old BB and Xymon clients for Windows rely on ancient libraries, so I'm looking at my options. It appears to me that the Powershell client is the only thing out there.
Is there the correct location for the most recent? https://github.com/svn2github/xymon
And can anyone tell me if it can be run in "local config mode", wherein the evaluation of red/green occurs on the host (rather than the server)?
-- 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
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
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
participants (2)
-
john.thurston@alaska.gov
-
tlwilliams4@vcu.edu