How can i monitor the speed of my Networkcard? Example: if the speed fallback from 10GB to 1GB i Need an alert.
Which sensor are the right one? (Targets are Windows Server 2012 R2)
regards, Ralf
Article Comments
Hi Ralf,
In addition to the previous answer, the speed could be monitored with your own custom script. The PowerShell command
Get-WmiObject -ComputerName 'servername' -Class Win32_NetworkAdapter | ` Where-Object { $_.Speed -ne $null -and $_.MACAddress -ne $null } | ` Format-Table -Property SystemName,Name,NetConnectionID,Speed
will list all adapters including the speed of the interface. The required syntax is documented on the Setup > PRTG API > Custom Sensors page.
Best regards, Felix
Mar, 2016 - Permalink
Thanks
maybe i'm wrong, but the Network Card Sensor shows me not the connected speed of my networkcard. (like 10gb or 1 gb).
The second answer with WMI helps me to solve my Problem:
wql-File with: SELECT Speed FROM Win32_NetworkAdapter WHERE NetConnectionID ='<#PH1>'
<#PH1> = NetConnectionID (Show WMI-Script from Felix)
Thanks at all, regards, Ralf
Mar, 2016 - Permalink
Did you already have a look at the Windows Network Card Sensor ?
Mar, 2016 - Permalink