Hi,

i'm trying to create a custom exe/script sensor.

In the Exchange Pshell I enter following command : Get-MailboxDatabase MailboxDB01 -Status | FL AvailableNewMailboxSpace PS returns : AvailableNewMailboxSpace : 90.19 GB (96,840,351,744 bytes)

or I enter : Get-MailboxDatabase DB01 -Status | Select-Object -ExpandProperty AvailableNewMailboxSpace PS returns : 90.19 GB (96,840,351,744 bytes)

I can not figure out how to get this reflected in PRTG.


Article Comments

Hello,

Thank you for your KB-Post. Custom Sensors are the right tool for this here. You need to write the powershell script so, that it returns the expected result format for PRTG outlined in your very own PRTG under "Setup"->"PRTG API"->"Custom Sensors".

best regards.


Apr, 2017 - Permalink

Just want to say that there is a new sensor for that. Try to search for "Exchange powershell database".

Cheers.


Oct, 2020 - Permalink

Hello David,

Thank you for your reply regarding this matter.

Indeed, PRTG has a native sensor for Exchange mailbox database, which can be found right here: https://www.paessler.com/manuals/prtg/exchange_database_sensor

We also provide other sensors for Exchange which are listed on that page (search for Exchange): https://www.paessler.com/manuals/prtg/available_sensor_types

Basides that, all Exchange sensors are now compatible with Exchange Server 2019 since version 20.3.64 (https://www.paessler.com/prtg/history/stable).

Kind regards.


Oct, 2020 - Permalink