Git Product home page Git Product logo

Comments (6)

vMarkusK avatar vMarkusK commented on June 28, 2024

Can you tell which script you have used?

If PSx64.exe is in Use have you tried the "-raw" switch?
An other user had a similas issue with this output:
REPO - LD301 (F:)

from advanced-prtg-sensors.

foorschtbar avatar foorschtbar commented on June 28, 2024

We've had also a repo with a Driveletter in it. With the -raw switch we get this error:
XML: XML Parser mismatch: Wanted </>, got </channel>

from advanced-prtg-sensors.

vMarkusK avatar vMarkusK commented on June 28, 2024

@foorschtbar do you get this error during manual execution or in PRTG?

More Logs would help me. Can you please execute the Script in with the following command:

CMD: PSx64.EXE -raw -f=

And attach the output?

from advanced-prtg-sensors.

foorschtbar avatar foorschtbar commented on June 28, 2024

This error was from PRTG, but this is from the cmd:

With -raw:
C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML>PSx64.exe -raw -f="PRTG-VeeamBRstats.ps1" -p="xxx.local" 0

Without -raw:
C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML>PSx64.exe -f="PRTG-VeeamBRstats.ps1" -p="xxx.local" 0:)</channel> <value>39</value> <unit>Percent</unit> <showChart>1</showChart> <showTable>1</showTable> <LimitMinWarning>20</LimitMinWarning> <LimitMinError>10</LimitMinError> <LimitMode>1</LimitMode> </result> </prtg>

Without colon:
C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML>PSx64.exe -f=" PRTG-VeeamBRstats.ps1" -p="medelo-veeam.medelo.local" 0:Starting to Process Connection to medelo-veeam.medelo.local ... Connecting BRHost... <prtg> <result> <channel>Successful-Backups</channel> <value>16</value> <showChart>1</showChart> <showTable>1</showTable> [...] <showChart>1</showChart> <showTable>1</showTable> <LimitMinWarning>20</LimitMinWarning> <LimitMinError>10</LimitMinError> <LimitMode>1</LimitMode> </result> </prtg>

from advanced-prtg-sensors.

vMarkusK avatar vMarkusK commented on June 28, 2024

I am confused... why do you add

0

to the command?

The XML schema looks good. maybe is a screenshot clearer.

from advanced-prtg-sensors.

foorschtbar avatar foorschtbar commented on June 28, 2024

This is the return code from PSx64.

It seams, that the PSx64 is the problem. I write my own PSx64 and now i have no problems with the colons.

https://kb.paessler.com/en/topic/32033-is-it-possible-to-use-the-64bit-version-of-powershell-with-prtg

from advanced-prtg-sensors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.