Webb16 juli 2024 · The script outputs XML suitable for PRTG's advanced sensor types. It can be used with the SSH Script Advanced sensor or the HTTP Push Data Advanced sensor (with the help of the prtg_push_advanced ). The units you want to monitor can be specified staticly inside the script, for example: units= (sshd httpd firewalld) Webb9 jan. 2024 · Example shell script This example script will run on the target host and check if a service on a specific port is running. Change it to your liking. #!/bin/bash port="80" …
5 Helpful Scripts For PRTG You Should Know - Paessler
Webb28 juli 2024 · The Start-Process has two parameters you’ll need to use in this example; Name and Wait. In this below example, you’ll see that Start-Process is invoking the msiexec.exe utility by using the Name parameter and waiting ( Wait) for the process to finish before releasing control back to the console. Webb25 juli 2024 · The prtg_push.ps1 script does not accept the three-part output from custom ssh scripts. Full details on the command line options are available in each script's help. (Run get-help .\prtg_push.ps1 [for example] to view help, or read the script file.) sushi doylestown pa
PRTG Custom Sensor to monitor NoSpamProxy Message Flow
Webb10 mars 2024 · PRTG uses the following ways to receive monitoring data from target devices: a) Poll or query sensor data: PRTG can consume and collect sensor data based on interfaces with, for example, HTTP or HTTPS requests, port checks, email checks, File Transfer Protocol (FTP) downloads, and database requests. b) Listen for or receive … Webb13 nov. 2009 · Acknowledging the original question referenced Bash, here's an example for anyone looking to accomplish this in Fish shell: ping -q -c 1 bogus.local; and echo "pinging the host worked"; or echo "pinging the host didn't work" Share Improve this answer Follow answered Nov 8, 2024 at 21:36 Paul Wenzel 1,816 2 15 15 Add a comment 0 WebbPRTG is an industry-standard system monitoring solution. Examples The script takes no additional attributes and is called by the PRTG probe. To verify your setup, you quickly execute the PowerShell script. It returns an XML result. sushi dragon wallpaper