Hi everyone,
I have already a build PRTG structure and I have two questions about dependencies:
- It is possible to set all the existent ping sensors as "master sensor for parent"?
- It is possible to set all the comming ping sensors, discovered or manuel, as "master sensor for parent"?
Thanks a lot
Murilo
Article Comments
Hello,
Thank you for your message.
Regarding your first question, you need to use the PowerShell module PRTGAPI to make all Ping sensors the master sensor for parent.
Here is the command to use to modify all the Ping sensors at once (provided by the module):
Get-Sensor -type ping | Set-ObjectProperty -rawparameters @{
"scheduledependency" = 0
"dependencytype_" = 2
}
You will find the GitHub page as well as documentation of PRTGAPI below:
https://github.com/lordmilko/PrtgAPI
https://github.com/lordmilko/PrtgAPI/wiki
Regarding the "automation" of that setting, when a device is added by an auto-discovery the Ping sensor is automatically configured as master for parent. However, when you add a new device manually you need to define that setting.
Regards.
Sep, 2021 - Permalink
Hello,
Thank you for your message.
Regarding your first question, you need to use the PowerShell module PRTGAPI to make all Ping sensors the master sensor for parent.
Here is the command to use to modify all the Ping sensors at once (provided by the module):
You will find the GitHub page as well as documentation of PRTGAPI below: https://github.com/lordmilko/PrtgAPI https://github.com/lordmilko/PrtgAPI/wiki
Regarding the "automation" of that setting, when a device is added by an auto-discovery the Ping sensor is automatically configured as master for parent. However, when you add a new device manually you need to define that setting.
Regards.
Sep, 2021 - Permalink