Maintain control of your Microsoft Office 365 data
Post Reply
b.vanhaastrecht
Service Provider
Posts: 633
Liked: 113 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 » 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: 6274
Liked: 749 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 »

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: 369
Liked: 179 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by jorgedlcruz »

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!
Jorge de la Cruz
Senior Systems Engineer UKI @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2020 / Nutanix Technology Champion 2018-2019 / InfluxAce

b.vanhaastrecht
Service Provider
Posts: 633
Liked: 113 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 »

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: 1404
Liked: 248 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by Polina »

Bastiaan,

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

DDIT
Expert
Posts: 109
Liked: 21 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 »

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: 633
Liked: 113 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 »

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: 633
Liked: 113 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 »

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

dr.action
Service Provider
Posts: 10
Liked: 2 times
Joined: Sep 17, 2013 8:53 am
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by dr.action »

....will you provide a v3 version from your really great script, too?

b.vanhaastrecht
Service Provider
Posts: 633
Liked: 113 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 » 1 person likes this post

Yes certainly, will start with it as soon as we've updated to v3. Expect within 2 weeks.
========================================
Veeam ProPartner and Cloud Connect Provider

b.vanhaastrecht
Service Provider
Posts: 633
Liked: 113 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 » 3 people like this post

I've updated the script to be compatible with VBO v3.

https://gist.github.com/BasvanH/2229ca0 ... db36d7bc5c
========================================
Veeam ProPartner and Cloud Connect Provider

dr.action
Service Provider
Posts: 10
Liked: 2 times
Joined: Sep 17, 2013 8:53 am
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by dr.action »

Will you release an v4 update too...?

b.vanhaastrecht
Service Provider
Posts: 633
Liked: 113 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 »

Well, we moved to other monitoringssoftware. So I can alter the script, but can't debug it anymore. Does is work on VBO v10 ?
========================================
Veeam ProPartner and Cloud Connect Provider

dr.action
Service Provider
Posts: 10
Liked: 2 times
Joined: Sep 17, 2013 8:53 am
Contact:

Re: PRTG Advanced monitor for Veeam Backup Office 365

Post by dr.action »

I use it only with PRTG and Backup Office 365.

b.vanhaastrecht
Service Provider
Posts: 633
Liked: 113 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 »

VBO is the acronym for Veeam Backup for Office 365. But I made a mistake with the version, as the latest is v4. Does it work from PRTG to VBO v4? Or do you get errors?
========================================
Veeam ProPartner and Cloud Connect Provider

Post Reply

Who is online

Users browsing this forum: johannesk, Natalia Lupacheva and 9 guests