prtg

Powershell invoke-webrequest not working

柔情痞子 提交于 2020-01-23 08:20:52
问题 I have a Powershell script that is supposed to run an Invoke-WebRequest against a site. I want to use this script with PRTG Network Monitor to ensure that a web server is up and running properly. Currently, the script works running from my local machine as well as running with my domain credentials on the probe server. However, it doesn't run when logged in with the local admin credentials which is what PRTG uses. I've narrowed it down to a single line, Invoke-WebRequest $uri -Method POST

Get the cumulative bytes sent and received from a NIC

南楼画角 提交于 2020-01-01 17:09:13
问题 Is there any easy way (via a script perhaps) to get the cumulative bytes sent and received from a NIC on Windows 2008 Server? For example, the NIC currently shows around 18 MB of sent data and 765 MB of received data. Since my server provider does not provide an easy way to see the monthly bandwidth usage, getting the NIC data seems to be the most reliable one. I know I can use PRTG to get the current usage data via SNMP but it will only be an average since the sensor checks every 60 seconds.

Deserialize JSON from API response

匆匆过客 提交于 2019-12-11 13:05:38
问题 I am using an API called "PRTG" that is a server monitoring service. After making a call for all sensors on a device, I get this response in Fiddler: { "prtg-version": "14.2.10.2114", "treesize": 6, "sensors": [ { "objid": 6277, "probe": "Koneo Kalmar AB", "group": "Koneo Kalmar home", "device": "bl0615.systempartner.local", "sensor": "Disk Space", "status": "Up", "status_raw": 3, "message": "<div class=\"status\">OK<div class=\"moreicon\"></div></div>", "message_raw": "OK", "lastvalue": "21

Powershell invoke-webrequest not working

心已入冬 提交于 2019-12-05 18:17:47
I have a Powershell script that is supposed to run an Invoke-WebRequest against a site. I want to use this script with PRTG Network Monitor to ensure that a web server is up and running properly. Currently, the script works running from my local machine as well as running with my domain credentials on the probe server. However, it doesn't run when logged in with the local admin credentials which is what PRTG uses. I've narrowed it down to a single line, Invoke-WebRequest $uri -Method POST -Body $body -TimeoutSec 10 It appears that for whatever reason, when using this account, Invoke-WebRequest

Configure Netflow on network devices for PRTG Netflow Monitoring

 ̄綄美尐妖づ 提交于 2019-11-26 16:24:35
Netflow is a feature first introduced into Cisco routers and switches and then flow concept has been widely accepted by other network product vendors. Basically the network devices which support xflow feature can collect IP traffic statistics on the interfaces where xFlow is enabled, and export those statistics as xFlow records to remote defined xFlow collector. PRTG can use this NetFlow feature for detailed bandwidth usage monitoring and it also shows you: where your bandwidth is used who is using it how it is being used why it is being used It lets you see which specific applications are