# HTTP Sensor repository

# Custom sensors

Giffits uses php-based custom http sensor scripts. They are located at gifham006 in /var/www/prtg_sensoren,
reachable as http://giffits.local.giffits.de/prtg_sensoren/....

Example: haproxy_statistics.php (opens new window)

GIT: ssh://git@gifham017.local.giffits.de:7999/in/prtg_sensors.git

# Custom actions

There's a Giffits specific action name globally defined in PRTG:
Call http service.
It calls the URL http://giffits.local.giffits.de/prtg_sensoren/actions/callActionFromSensor.php.

Actions are defined globally, so we need to pass sensor-specific data into the action. This is implemented with sensor tags:
The PRTG action adds the list of sensor tags as parameter to the http url. callActionFromSensor.php searches for tags of the format action:ACTIONNAME and tries to execute a script ACTIONNAME.php.

Example:

Page Info: Created by GitHub on Jun 9, 2023 (last updated a minute ago by GitHub)