PrtgAPI
0.8.1
C#/PowerShell interface for interacting with the PRTG HTTP API
Installation Options
Owners
Copyright
(c) 2015 lordmilko. All rights reserved.
Package Details
Author(s)
- lordmilko
Tags
Prtg Sensor Device Group Probe Channel Notification Action Trigger Remove Pause Resume Check Acknowledge PowerShell Setting Property
Cmdlets
Disable-PrtgProgress Enable-PrtgProgress Get-SensorTarget Add-Device Add-Group New-DeviceParameters New-GroupParameters Backup-PrtgConfig Clear-PrtgCache Sync-PrtgConfigFile Restart-PrtgCore Restart-Probe Get-ObjectLog Add-Sensor Get-SensorFactorySource New-SensorParameters Get-SensorHistory Move-Object Set-ObjectPosition Test-ErrorStatus Start-SortPrtgObject Open-PrtgObject Start-AutoDiscovery Copy-Object New-SensorFactoryDefinition Add-NotificationTrigger Set-NotificationTrigger Edit-NotificationTriggerProperty Get-NotificationAction Get-PrtgStatus Get-NotificationTrigger Get-ModificationHistory New-NotificationTriggerParameters Remove-NotificationTrigger Set-ObjectProperty Confirm-Sensor Get-Channel Get-Group Get-Probe Get-ObjectProperty Get-PrtgClient Get-SensorTotals Update-Object Suspend-Object Rename-Object Resume-Object Set-ChannelProperty Remove-Object Get-Device Connect-PrtgServer Disconnect-PrtgServer Get-Sensor New-SearchFilter
Functions
New-Credential Connect-GoPrtgServer Get-GoPrtgServer Install-GoPrtgServer Set-GoPrtgAlias Uninstall-GoPrtgServer Update-GoPrtgCredential
Dependencies
This module has no dependencies.
Release Notes
Improvements
----------------
* Get-Sensor, Get-Device, Get-Group and Get-Probe can now filter for objects that contain *all* specified tags via -Tags parameter. Filtering for objects that contain *any* specified tag (previous -Tags behavior) can now be performed with new -Tag parameter
* NotificationAction objects now include enhanced properties detailing the specifics of each notification type they perform and the users these alerts are sent to
Bugfixes
----------
* Fixed a bug wherein progress did not complete when an exception is thrown by a multi operation cmdlet
* Resolved an issue wherein ErrorLimitMessage and WarningLimitMessage cannot be modified and LimitsEnabled cannot be set to true via SetObjectProperty / Set-ChannelProperty on PRTG 18.1.38+. Attempting to modify these properties when a limit value has not been set on the UpperErrorLimit, LowerErrorLimit, UpperWarningLimit or LowerWarningLimit of a channel will now generate an InvalidOperationException specifying the IDs of the sensors that require a limit
* Fixed a bug wherein PrtgUrl construction would crash when the search filters of a request have been explicitly set to null
Breaking Changes
--------------------
* -Tags parameter of Get-Sensor, Get-Device, Get-Group and Get-Probe now performs logical AND instead of logical OR. Previous -Tags behavior can be attained via new -Tag parameter
---
PrtgAPI is a C#/PowerShell library that abstracts away the complexity of interfacing with the PRTG HTTP API.
PrtgAPI implements a collection of methods and enumerations that help create and execute the varying HTTP GET requests required to interface with PRTG. All responses from PRTG are automatically deserialized by PrtgAPI and formatted appropriately when output to the pipeline (when using PowerShell)
All cmdlets in PrtgAPI support some level of piping, allowing you to directly chain multiple cmdlets together, further filtering search results as you go.
PrtgAPI supports a number of undocumented features, including manipulating notification triggers, and viewing and editing channel properties (error limits, etc).
PrtgAPI includes full Cmdlet Comment/XmlDoc documentation. Detailed information on any cmdlet can be found within PowerShell by running Get-Help <cmdlet> or Get-Help <cmdlet> -Full
For examples and usage scenarios, please see the Project Site.
FileList
- PrtgAPI.nuspec
- about_ChannelSettings.help.txt
- about_ObjectSettings.help.txt
- about_PrtgAPI.help.txt
- about_SensorParameters.help.txt
- about_SensorSettings.help.txt
- PrtgAPI.dll
- PrtgAPI.dll-Help.xml
- PrtgAPI.Format.ps1xml
- PrtgAPI.GoPrtg.ps1
- PrtgAPI.psd1
- PrtgAPI.psm1
- PrtgAPI.XML
- Functions\Connect-GoPrtgServer.ps1
- Functions\Get-GoPrtgServer.ps1
- Functions\Install-GoPrtgServer.ps1
- Functions\New-Credential.ps1
- Functions\Set-GoPrtgAlias.ps1
- Functions\Uninstall-GoPrtgServer.ps1
- Functions\Update-GoPrtgCredential.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.9.19 | 102,088 | 9/14/2023 |
0.9.18 | 18,732 | 11/28/2022 |
0.9.17 | 87,999 | 2/24/2022 |
0.9.16 | 53,693 | 6/2/2021 |
0.9.15 | 2,273 | 5/7/2021 |
0.9.14 | 7,364 | 11/25/2020 |
0.9.13 | 5,538 | 5/7/2020 |
0.9.12 | 3,806 | 2/13/2020 |
0.9.11 | 2,033 | 12/9/2019 |
0.9.10 | 143 | 12/5/2019 |
0.9.9 | 1,442 | 9/26/2019 |
0.9.8 | 822 | 8/19/2019 |
0.9.7 | 1,877 | 5/8/2019 |
0.9.6 | 716 | 4/3/2019 |
0.9.5 | 1,328 | 1/13/2019 |
0.9.4 | 135 | 1/3/2019 |
0.9.3 | 43,326 | 11/20/2018 |
0.9.2 | 423 | 11/1/2018 |
0.9.1 | 268 | 10/3/2018 |
0.9.0 | 209 | 8/27/2018 |
0.8.6 | 1,754 | 5/4/2018 |
0.8.5 | 47 | 4/23/2018 |
0.8.4 | 25 | 4/23/2018 |
0.8.3 | 60 | 4/2/2018 |
0.8.2 | 18 | 3/30/2018 |
0.8.1 (current version) | 69 | 3/11/2018 |
0.8.0 | 342 | 2/23/2018 |
0.7.3 | 162 | 11/20/2017 |
0.7.2 | 42 | 11/13/2017 |
0.7.1 | 43 | 10/15/2017 |
0.7.0 | 26 | 10/6/2017 |
0.6.10 | 59 | 8/2/2017 |
0.6.9 | 86 | 4/24/2017 |
0.6.8 | 38 | 4/19/2017 |
0.6.7 | 26 | 4/11/2017 |
0.6.6 | 18 | 4/10/2017 |
0.6.5 | 18 | 4/10/2017 |
0.6.4 | 26 | 3/25/2017 |
0.6.3 | 18 | 3/22/2017 |
0.6.2 | 19 | 3/19/2017 |
0.6.1 | 24 | 3/14/2017 |