Search found 23 matches

by gorisdean
Mon Dec 16, 2024 8:48 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: File Compare test method issue with encoding
Replies: 1
Views: 4881

File Compare test method issue with encoding

Hi, We have a Powershell script running using the Out-File cmdlet to write status information into a file. This file is being read by multiple tests with the File Compare test method. In the Powershell script we don't mention any encoding parameter. When I open the file in Notepad++ it mentions UTF1...
by gorisdean
Thu May 04, 2023 1:00 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Powershell script timing out
Replies: 9
Views: 13838

Windows Server 2016
Hostmonitor v12.98
Output to console with logging enabled was +/- 600 lines
by gorisdean
Wed May 03, 2023 3:42 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Powershell script timing out
Replies: 9
Views: 13838

The script is iterating through a number of instances and logging a couple of lines to console (write-host) for each iteration. These are only for troubleshooting as Hostmonitor is not using that information. It caused a few 100 lines to be logged to console while the script was running. I disabled ...
by gorisdean
Wed May 03, 2023 2:30 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Powershell script timing out
Replies: 9
Views: 13838

Thanks for reverting back. I've tried the script in a powershell console 64 bit and 32 bit, both work. In Hostmonitor I've tried both versions of PS as well: "C:\Windows\Syswow64\WindowsPowerShell\v1.0\powershell.exe" %script% %params% "C:\Windows\System32\WindowsPowerShell\v1.0\power...
by gorisdean
Tue May 02, 2023 9:01 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Powershell script timing out
Replies: 9
Views: 13838

Powershell script timing out

Hi, we have a custom Powershell script. One the Hostmonitor server in a Powershell ISE window it runs only a few seconds without any issues. When saving the script to a ps1 file and running it via command line, it runs fine as well. In Hostmonitor (shell script test type) it times out for some reaso...
by gorisdean
Wed Oct 12, 2022 7:30 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Loadbalancing Hostmonitor vs RMA
Replies: 1
Views: 6172

Loadbalancing Hostmonitor vs RMA

We run our tests on the local hostmonitor and a remote RMA agent. We distributed the load randomly between the two machines. Resource problems sometimes lead to failed tests on our hostmonitor. Therefore, we want to better load balance our tests between the host monitor and the passive RMA. To do th...
by gorisdean
Fri Sep 16, 2022 5:59 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Tune up reply value to allow all http response codes
Replies: 1
Views: 6277

Tune up reply value to allow all http response codes

Hi, I'm searching for a way to make sure a URL request test evaluates to 'Host is alive' as long as any HTTP response code is received (1*, 2*, 3*, 4*, 5*). Only if the URL request is not answered the test should go into Bad state. I was looking into the 'Tune up reply value' functionality, but am n...
by gorisdean
Fri Jul 02, 2021 4:02 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: URL test check contents for text with double quotes
Replies: 2
Views: 6904

URL test check contents for text with double quotes

I'm doing a URL test and checking its contents. I should use an expression as multiple statusses should be accepted as "Host is alive". The text to search for is: "topBandText":"All Services Operational" It looks like Hostmonitor is not able to handle the double quotes ...
by gorisdean
Thu Jun 17, 2021 2:51 am
Forum: Other
Topic: The Future Of HostMonitor
Replies: 35
Views: 131603

+1 for Azure related tests. We are currently researching our monitoring needs for our growing cloud platform. As Hostmonitor is currently our main monitor on prem, it would be a pro to have the Azure platform covered by Hostmonitor as well. Currently doing API calls to Azure Monitor is the only opti...
by gorisdean
Tue Dec 01, 2020 10:14 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Inspecting json reply to get Reply value
Replies: 10
Views: 19438

Fix works and proposed calculations work as expected.
Thanks for your quick assistance!
by gorisdean
Mon Nov 30, 2020 5:16 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Inspecting json reply to get Reply value
Replies: 10
Views: 19438

ok, thx for the feedback.
Should I post this somewhere on this forum as feature request?
by gorisdean
Fri Nov 27, 2020 2:45 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: Inspecting json reply to get Reply value
Replies: 10
Views: 19438

Ok, have been testing around a little further. I'm doing a URL test right now and I'm trying to tune the reply value. The entire response of the request is this: { "total": "3077.90", "used": "430.42", "free": "2647.48", "label": ...
by gorisdean
Fri Nov 27, 2020 7:38 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Inspecting json reply to get Reply value
Replies: 10
Views: 19438

Super, thx.
I wasn't familiar with those "Tune Up Reply" option, but that brings a lot of possibilities...
by gorisdean
Fri Nov 27, 2020 5:10 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Inspecting json reply to get Reply value
Replies: 10
Views: 19438

Ideally I want to check free/total*100 indeed. This should not drop below a certain value.
If a calculation is not possible, than extracting the "free" value only and comparing this with a static threshold is a possibility as well, although less dynamic.

Thanks
by gorisdean
Fri Nov 27, 2020 1:53 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Inspecting json reply to get Reply value
Replies: 10
Views: 19438

Inspecting json reply to get Reply value

Hi, For monitoring one of our hardware appliances I'm looking into requesting some stats from the API. The API returns a json document and one of the elements contains the actual Reply value I'm interested in. An example reply: { "total": "3077.90", "used": "432.28...