![]() ![]() For an example script, please see More section below.ĭefine what kind of values your script file gives back. There, find detailed information the the "Custom Sensors" tab. ![]() For detailed information on the expected return format and on how to build custom sensors, please see the API documentation ( Application Programming Interface (API) Definition ). The exitcode will determine the sensor status. In order for the sensor to show the expected values and sensor status, your files must use the right format for the returned values (in this case, exitcode:value:message to stdout ). Please make sure the script has executable rights. In order for the files to appear in this list, please store them into this directory. The drop down menu will list all script files available in the /var/prtg/scripts directory on the target Linux/Unix system. The following settings for this sensor differ in the 'Add Sensor' dialog in comparison to the sensor's settings page: You can change all settings in the sensor's Settings tab later. ![]() Therefore, you will not see all setting fields in this dialog. It only shows the setting fields that are imperative for creating the sensor. The Add Sensor dialog appears when adding a new sensor on a device manually. Note: Not all Linux/Unix and Mac OS distributions can be supported by this sensor type.įor a general introduction to SSH monitoring, please see Monitoring via SSH section. Please make sure the script has executable rights.įor this sensor type credentials for Linux (SSH/WBEM) systems must be defined for the device you want to use the sensor on. Note: For security reasons, the script file must be stored on the target system. For details about the return value format please see the Application Programming Interface (API) Definition. The sensor shows the execution time, and can show one value returned by the executable file or script (in one channel only). The SSH Script sensor connects to a Linux/Unix system via Secure Shell (SSH) and executes a script file located on the target system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |