Project Owner: Jannos-443
PRTG Powershell Script to monitor Datacore Status
Free and open source: MIT License
-
Log into DataCore Server
-
add new local computer user (for example: prtg-datacore)
-
start DataCore Console and Register User (use the same User name)
-
User neeeds at least "View" permission
-
-
Install
DataCorePowershellSupport-XXXXX.exe
on the Probe(s) -
Make sure the DataCore Powershell Module exists on the Probe under the following Path
C:\Program Files\DataCore\Powershell Support\DataCore.Executive.Cmdlets.dll
-
Place the Scripts under
C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML
-
Place the lookup Files under
C:\Program Files (x86)\PRTG Network Monitor\lookups\custom
prtg.datacore.presencestatus.ovl
prtg.datacore.poolstatus.ovl
prtg.datacore.state.ovl
prtg.datacore.cachestate.ovl
prtg.datacore.powerstate.ovl
prtg.datacore.logstatus.ovl
-
Run PRTG Lookup File Reload
- PRTG > Setup > System Administration > Load Lookups and File Lists
-
Create new Sensor
Settings Value EXE/Script Advanced PRTG-DataCore.ps1 Parameters -DcsServer 'YourDataCoreServer' Scanning Interval 15 minutes
Windows Auth (Better): PRTG-DataCore.ps1 -DcsServer 'YourDataCoreServer' (Windows Auth)
Username and Password: PRTG-DataCore.ps1 -DcsServer 'YourDataCoreServer' -User 'YourUsername' -Password 'YourPassword'
You should try to use Windows Auth (Use Windows credentials of parent device)
if required use the -User and -Password parameter.
Datacore Status
PRTG-DataCore.ps1 -DcsServer 'YourDataCoreServer' -DcsStatus
Datacore Alerts
PRTG-DataCore.ps1 -DcsServer 'YourDataCoreServer' -DcsAlerts
Datacore Pools
PRTG-DataCore.ps1 -DcsServer 'YourDataCoreServer' -DcsPools
Datacore Ports
PRTG-DataCore.ps1 -DcsServer 'YourDataCoreServer' -DcsPorts
Datacore VirtualDisks
PRTG-DataCore.ps1 -DcsServer 'YourDataCoreServer' -DcsVirtualDisks