Git Product home page Git Product logo

Comments (4)

vMarkusK avatar vMarkusK commented on June 24, 2024

Hi, hello,
Did you use the latest version from the Github Repo?
https://github.com/vMarkusK/Advanced-PRTG-Sensors/blob/master/Veeam/PRTG-VeeamBRStats.ps1

Sorry to ask, but the versioning of the script is broken... It's version 1.8 since a lot of changes...

Might you please try to import the Veeam PS Snapin (in the VBR Server and the Probe) with the same user you have also tried to execute the script?

Add-PSSnapin -PassThru VeeamPSSnapIn
Connect-VBRServer -Server localhost #or your FQDN

from advanced-prtg-sensors.

Sebastien1807 avatar Sebastien1807 commented on June 24, 2024

Hi Markus,

I changed my version of the script with the one you provided, but I still had the same error.
So I looked at the documentation of veeam and it says specifically : You can run the Veeam PowerShell sessions from the Veeam backup server (locally) or from a remote machine. The remote machine must have the Veeam Backup & Replication Console installed.
(https://helpcenter.veeam.com/docs/backup/powershell/getting_started.html?ver=100)
So I decided to install it on my PRTG Server, and then use the command you provided : Add-PSSnapin -PassThru VeeamPSSnapIn
Which worked fine.

Now the PowerShell script seems to go a bit further (launched from PRTG Server). But I have a new error when trying to use the script from my PRTG Server :
image
It seems to not being able to join my Veeam Server with the user I am using (I am 100% sure that my credentials should be working)

So I decided to use the command line : Connect-VBRServer -Server 'Veeam Server'
And the following error appear
image

I checked on Veeam Website and it says it's because of different version of the program between Veeam Server and the Remote Computer, which is strange because I have the same version of Veeam on both PRTG and Veeam
image

Am I doing anything wrong? Didn't see anywhere I first needed to install the Veeam Backup & Replication on PRTG Server in the procedure to install the Sensor

from advanced-prtg-sensors.

vMarkusK avatar vMarkusK commented on June 24, 2024

I think you just need to open the VBR Console on this server and connect to the VBR Server. The Console asks for an update. The PS Snap-In is included in this update.

from advanced-prtg-sensors.

Sebastien1807 avatar Sebastien1807 commented on June 24, 2024

Hi Markus,

OK nevermind :-) My bad, from my Server PRTG I was running the Veeam Backup & Replication Console with localhost rather than my Veeam Server, so I never had the message to update. Now I had it and it's working :-) Thank you

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.