PRTG is an extensible network monitoring product from Paessler AG. This tag should be used primarily for the API side of this product and programming custom-built sensors, rather than question about the product itself.
Questions tagged [prtg]
48 questions
1
vote
2 answers
Monitoring connectivity for Slack and PagerDuty
We are using PRTG to monitor a number of internal resources, and we have set it up to alert us on a Slack channel and/or via PagerDuty (depending on severity) using their respective APIs. Considering that Slack and PagerDuty are external to us, we…

Paul Karlin
- 840
- 7
- 21
1
vote
1 answer
How do I convert a JSON file into a list of dicts?
So I have a JSON file with the following contents:
{"prtg-version":"17.1.29.1531","treesize":8,"probes":
[
{"objid":1,"name":"ASHBURN CORE"},
{"objid":30201,"name":"GRAND RAPIDS PROBE"},
{"objid":2,"name":"Cluster…

ruckarucka
- 41
- 2
- 11
1
vote
2 answers
Deleting files with PowerShell script
I have a script in PowerShell that scans a directory of folders that are named with the following convention: yyyymmdd. It scans the directory and finds all the folders that are current and up to one week old, then copies them over to another…

William Zawisa
- 25
- 6
1
vote
1 answer
URL object json NAGIOS
I have a question, I work with many monitoring web, if you know PRTG you can make a URL that returns the status of the various sensors and alarm messages, and process this information in different web graphic pages; Now I have been asked to do the…

Diana Pérez
- 101
- 8
1
vote
1 answer
PRTG custom script returns valid XML but dashboard complains
I have a PRTG custom script in the EXEXML directory which has been configured within the PRTG dashboard.
When I run it manually, I get the following output which, as far as I'm aware, is perfectly valid:
…

paxdiablo
- 854,327
- 234
- 1,573
- 1,953
1
vote
1 answer
Returning strings from a PRTG custom sensor
I'm trying to develop a custom VBScript sensor for the PRTG monitoring tool and the interface seems fairly simple, returning just a 32-bit integral value and a status string such as with:
WScript.echo "0:January 23, 2015"
However, only the integer…

paxdiablo
- 854,327
- 234
- 1,573
- 1,953
1
vote
1 answer
Deserialize JSON from API response
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,
…

Martin Johansson
- 773
- 1
- 11
- 27
1
vote
1 answer
SELECT PercentTimeinGC FROM Win32_PerfRawData_NETFramework_NETCLRMemory
hope you are well.
Goal: extract WMI data FROM Win32_PerfRawData_NETFramework_NETCLRMemory PercentTimeinGC, like shown in perfmon = ".NET CLR Memory / % Time in GC"
Enviroment IIS 7, Worker process Garden (4) (ASP .NET4.0 app pools) (4xw3wp.exe…

Mike
- 11
- 2
1
vote
1 answer
Is NServiceBus monitoring agnostic to the transport layer?
We want to use NServiceBus monitoring feature, but we are using SQL Server on the transport layer instead of MSMQ. I was wondering if NServiceBus monitoring would still work ?
http://docs.particular.net/nservicebus/monitoring-nservicebus-endpoints…

Owais F
- 221
- 3
- 10
0
votes
0 answers
MySQL DB size query does not show the correct size of the DB
I have set up a central syslog that stores the logs of 6 servers in a DB. After that I set a MySQL sensor, in PRTG, for the size of the DB. Although data is written to the database every second, the sensor has been showing the same size, 672 MB, for…

harryIT
- 25
- 4
0
votes
1 answer
One device can be pinged but an exact same other can't?
In need of some common sense. I searched the net about below described issue but I couldn't get any clear or related information to solve it myself, so I reach out to this community, hopefully not bothering you with yet another question about…

Aad Dijksman
- 13
- 3
0
votes
0 answers
Python Advance script sensor PRTG ssh connection
I'm developing a project, it's about using the advance script sensors of PRTG. Testing the ssh connection in visual studio works fine but when I use the script in the sensor doesn't. I think I have to pass the authentication params in the sensor and…
0
votes
1 answer
Monitoring Rundeck jobs using PRTG
I have a Debian machine running Rundeck v4.11.0 and multiple jobs. I also have a Windows machine running PRTG v23.1.82.2175, monitoring various aspects of the Rundeck machine, like CPU, Memory, Disk etc. There is no agent installed on the Rundeck…

aristosv
- 75
- 1
- 15
0
votes
0 answers
Get instance of class with private constructor for test
during testing I need an instance of the following class public class WmiServiceTarget : SensorTarget that has the following constructor:
private WmiServiceTarget(string raw): base(raw)
{
DisplayName = components[1];
…
user14389193
0
votes
1 answer
I need help creating a shell script to tell me if a process is up and running so I can monitor that process in PRTG
I'm using a monitoring system called PRTG to monitor our environment. PRTG KB suggested using a script to monitor processes called SSH Script. The script needs to be stored in /var/prtg/scripts.
I found a script that someone used for…

Justin Powers
- 1
- 1