I would like to know more about Mini Probes. Do you provide application examples of the PRTG Mini Probe interface? Are there Mini Probe implementations that I can instantly use and that I just need to download?
This article applies to PRTG Network Monitor 19 or later
The PRTG Mini Probe Interface
Probes are the part of PRTG that run monitoring processes and deliver monitoring data back to the PRTG core server. The standard probes in PRTG are local probes and remote probes but you can create these “big” probes only on Windows systems. The PRTG Mini Probe API (Application Programming Interface) enables you to add probes to any device running on any operating system. This makes it possible to fulfill specific monitoring needs.
The following Mini Probes are available for free and ready to use:
- Python Mini Probe (open source), see How can I monitor Linux systems with a PRTG Mini Probe?
- JMX Mini Probe (open source), see How can I monitor Java applications via JMX with a PRTG Mini Probe?
- PRTG Mobile Probe for Android, see How can I monitor Android devices? Is there a mobile probe?
|Important: We do not further develop the currently available Mini Probe API because we plan major changes to the underlying API in PRTG. You can still use the Mini Probe API, for example, if the available HTTP push sensors are not sufficient for your needs.|
Agentless vs Agent-Based Monitoring
The focus of PRTG is to agentlessly monitor systems. This means that you do not need to install any software on the particular target systems. PRTG “big” probes connect to remote systems using, for example, SSH, WMI, or SNMP to retrieve data. This is the preferred monitoring method because this does not require any maintenance on your behalf.
However, there are situations where it can be a good idea to do it the other way around: You install a small piece of software on the remote system that connects to the PRTG server to deliver monitoring results.
Agent-Based Monitoring Options
PRTG offers two options for the agent-based monitoring approach:
- HTTP Push Data sensors:
- A program, for example, a script, cron job, or service on the remote system sends one value per request to a PRTG sensor using HTTP or HTTPS (this function is referred to as a webhook). Currently, PRTG provides four sensor types for this purpose: HTTP IoT Push Data Advanced sensor, HTTP Push Count sensor, HTTP Push Data sensor, and HTTP Push Data Advanced sensor.
- The PRTG Mini Probe API that uses the following monitoring approach:
- It is a small application running on the remote system.
- It connects to the PRTG core server using HTTPS.
- It announces the sensor types that it can monitor.
- It gets configuration from the server (that is, the monitored sensors).
- It schedules and runs the sensors by itself.
- It delivers the sensor results back to the core server.
After you have connected a Mini Probe to the PRTG core server, you can use it in the PRTG user interface like common “big” probes, that is, add sensors, review monitoring data, and perform other monitoring tasks. Mini Probes just have a smaller set of sensors, depending on what types you implement.
The Mini Probe API is publicly available, so you can create your own probes and corresponding sensors for any application scenario. This enables you to gather monitoring data from systems that do not run the supported Windows versions. For more information, see the Mini Probe API.
However, you do not have to start from scratch. You can simply extend our open source code for sample Mini Probe usages and add your own sensor types. See below for a list of Mini Probe applications that you can download for free.
PRTG Mini Probe: Proof of Concept
- Python Mini Probe (open source): The Python Mini Probe runs monitoring processes on Debian-based systems (for example, Linux, Raspbian). For details, see How can I monitor Linux systems with a PRTG Mini Probe?
- JMX Mini Probe (open source): The JMX Mini Probe can run on any Java Virtual Machine (JVM) to monitor your Java applications. For details, see How can I monitor Java applications via JMX with a PRTG Mini Probe?
- PRTG Mobile Probe for Android: The PRTG Mobile Probe for Android monitors your network from the mobile point of view. For details, see How can I monitor Android devices? Is there a mobile probe?
If you implement your own Mini Probe and want to share your work with other PRTG users, feel free to publish it in our Knowledge Base or contact us directly.
Note: Articles about Mini Probes are provided for your information only. All steps described in the respective Mini Probe articles have been thoroughly tested. However, we cannot offer deep technical support for customizing the proofs of concept nor for writing your own mini probes.
I have a Question , is there a Final Version planed ? The PRTG Mini Probe is "Prove of Concept" means Beta and it seams that since 3 Years the Project on Guthub was not updated ?
thank you for your KB-Post.
I'm afraid that no "final" version is planned. The github project not getting updated is indeed a confirmation that we're no longer actively working on this. We've since introduced new flexible sensors like the HTTP Data Advanced and specially the HTTP Push Data Advanced that sort of fill the demand for a mini-probe and are a lot easier to use/implement. In the end the mini-probe was more complexthan we've hoped for and we decided to go in a different direction (for example the HTTP Push sensors).
I wouldn't advise starting a new project based on the mini-probe API, the sensors above would be the "better way" to go for new projects.
Luciano Lingnau [Paessler Support]