Hello, good morning, I have a question .. It is possible to get a report of how many sensors and what type are installed in the prtg console, for example snmp type sensors I have 100, wmi type sensors I have 45 etc. It's possible?


Article Comments

This can be done using PRTGapi and PowerShell:

Get-Sensor | Select Id,Name,Type | Group-Object -Property Type The output will look something like this:

PS C:\Users\steph> Get-Sensor | Select Id,Name,Type | Group-Object -Property Type

Count Name                      Group                                                                                                                                                                                 
----- ----                      -----                                                                                                                                                                                 
    1 Sensor (clusterstate)     {@{Id=31; Name=Cluster-Zustand; Type=Sensor (clusterstate)}}                                                                                                                          
    2 Sensor (systemstate)      {@{Id=1001; Name=Systemzustand; Type=Sensor (systemstate)}, @{Id=18484; Name=Systemzustand; Type=Sensor (systemstate)}}                                                               
    2 Sensor (corestate)        {@{Id=1002; Name=Serverzustand; Type=Sensor (corestate)}, @{Id=18485; Name=Serverzustand; Type=Sensor (corestate)}}                                                                   

With kind regards,
Stephan Linke, Technical Support Team


Dec, 2020 - Permalink