Maintain control of your Microsoft Office 365 email data
Post Reply
b.vanhaastrecht
Service Provider
Posts: 483
Liked: 86 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

PRTG Advanced monitor for Veeam Backup Office 365

Post by b.vanhaastrecht » Feb 04, 2019 2:33 pm 2 people like this post

Hello,

For anyone who uses PRTG and VBO:

I've created a PRTG Advanced monitor for Veeam Backup Office 365. You can download it here: https://gist.github.com/BasvanH

Kind regards,
Bastiaan
========================================
Veeam ProPartner and Cloud Connect Provider

Mike Resseler
Product Manager
Posts: 5290
Liked: 557 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by Mike Resseler » Feb 04, 2019 2:39 pm

Bastiaan!

Thank you very much! That's really cool and I am sure many out there will benefit from it!

Cheers
Mike

jorgedlcruz
Veeam Software
Posts: 204
Liked: 92 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz Mingo
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by jorgedlcruz » Feb 04, 2019 3:23 pm

This is awesome Bastiaan,
Thank you so much, PRTG it is vastly used out there, so having a sensor for VBO it is indeed what much people are expecting.

Appreciated!

b.vanhaastrecht
Service Provider
Posts: 483
Liked: 86 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by b.vanhaastrecht » Feb 05, 2019 9:27 am

I spotted an issue with the statistics.transferredData value of a session. Apperently it's a string with a changing prefix multiplier. I needed to implement some logic to bring this back to workable integer. Would make sense if the API would return something like statistics.transferredDataBytes with an integer in bytes.

Or
statistics.transferredData : 234234
statistics.transferredDataMultiplier : KB

The script has been updated to parse the string to an integer.
========================================
Veeam ProPartner and Cloud Connect Provider

Polina
Veeam Software
Posts: 450
Liked: 70 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasilyeva
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by Polina » Feb 05, 2019 9:32 am

Bastiaan,

This will be fixed in the next version. You may want to check out this recent thread for more details.

DDIT
Enthusiast
Posts: 84
Liked: 15 times
Joined: Oct 29, 2015 5:58 pm
Full Name: Michael Yorke
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by DDIT » Feb 14, 2019 3:12 pm

Hello,

Many thanks for sharing your script with the community. I am a Veeam and PRTG users, so very interested in this.

However, I'm stuck during the setup. I have enabled the REST API and assinged an SSL cert. In Instructions say....

In parameters set: -username "%windowsdomain\%windowsuser" -password "%windowspassword" -apiUrl "https://<url-to-vbo-api>:443"

Some questions...
  1. What is the "url-to-vbo-api"? is it just my Veeam server? I have Enterprise Manager running on the same box, so is the URL the same? ie https://backup.company.com:443
  2. What is the port? Your instructions suggest 443, but the default REST API port is 4443 - I have Enterprise Manager running on 443, so I left my settings on 4443, which is what I have set for the parameter in PRTG also
  3. Instructions say "make sure the correct permissions are set in VBO for this user" - where do I set this in VBO? I don't see any fields for entering a REST API user account
Sorry for these dumb questions.
Thanks in advance.
Michael.

b.vanhaastrecht
Service Provider
Posts: 483
Liked: 86 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by b.vanhaastrecht » Feb 14, 2019 3:24 pm

1) Its the url to your Veeam Backup for Office 365 API. Its the server where you installed VBO, if this happen to be the same server as your VBR, then use that URL.
2) The default API port of VBO is indeed 4443, if you have left it default, use that port.
3) VBO doesnt have RBAC or user management, you need a windows based user which has permission to logon to the server. VBO's documentation isn't very clear on what windows permissions are exactly needed. Just try a local\domain administrator first, if that succeeds try removing permissions.
========================================
Veeam ProPartner and Cloud Connect Provider

b.vanhaastrecht
Service Provider
Posts: 483
Liked: 86 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by b.vanhaastrecht » Feb 15, 2019 9:03 am

I've did a small fix on the script. If you had large transferred data, the integer got to long for an int32.
========================================
Veeam ProPartner and Cloud Connect Provider

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests