Skip to content

PS D:\Apps\Monitor> Start-EUCMonitor -JSONFile ".\mysettings.json" -verbose Error reading JSON. Please Check File and try again #64

@vcissgroup55

Description

@vcissgroup55

Expected Behavior

Expecting it to work without generating an error after following all instructions but perhaps something was missed?

Current Behavior

PS D:\Apps\Monitor> Start-EUCMonitor -JSONFile ".\mysettings.json" -verbose
Error reading JSON. Please Check File and try again.
At C:\Program Files\WindowsPowerShell\Modules\EUCMonitoring\2.0.1\Public\Start-EUCMonitor.ps1:48 char:9

  •     throw "Error reading JSON.  Please Check File and try again."
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Error reading J... and try again.:String) [], RuntimeException
    • FullyQualifiedErrorId : Error reading JSON. Please Check File and try again.

Possible Solution

I'm not a developer and this is all the information I have at this time.

Steps to Reproduce (for bugs)

Stopped the services and ran the install again. Tried the uninstall and reinstall. Performed all instructions listed @ https://github.com/dbretty/EUCMonitoring

And

https://www.rorymon.com/blog/euc-monitoring-platform/

Keep getting same error.

Modified the json template using Visual Code and saved as json. Tried Notepad++. Syntax is correct. The original of the error, however, is:
C:\Program Files\WindowsPowerShell\Modules\EUCMonitoring\2.0.1\Public\Start-EUCMonitor.ps1:48 char:9

Which is this line
throw "Error reading JSON. Please Check File and try again."

Context

Would like to use the tool for monitoring a Citrix solution.

Your Environment

This is a dedicated server running 2012R2 fully patched.
It has all the POSH modules from the XA XD ISO which is version 7.15 LTSR
On-prem use only. No cloud at this time.
WMF 5.1

No issues with the install. Services were created and set to automatic and running. No errors during installation only post installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions