Gibt es eine Möglichkeit, die IP-Adresse des Devices als Parameter des Scripts automatisch zu übergeben?


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

Guten Tag,

geht es um Custom Exe Sensoren? Dann können Sie das über folgende definitierte Platzhalter lösen:

Placeholder	Description
%sensorid	The ID of the EXE/Script sensor
%deviceid	The ID of the device the sensor is created on
%groupid	The ID of the group the sensor is created in
%probeid	The ID of the probe the sensor is created on
%host	The IP address/DNS name entry of the device the sensor is created on
%device	The name of the device the sensor is created on
%group	The name of the group the sensor is created in
%probe	The name of the probe the sensor is created on
%name or %sensor	The name of the EXE/Script sensor
%windowsdomain	The domain for Windows access (may be inherited from parent)
%windowsuser	The user name for Windows access (may be inherited from parent)
%windowspassword	The password for Windows access (may be inherited from parent)
%linuxuser	The user name for Linux access (may be inherited from parent)
%linuxpassword	The password for Linux access (may be inherited from parent)
%snmpcommunity	The community string for SNMP v1 (may be inherited from parent)

Die Details dazu finden Sie in Ihrem PRTG unter "Setup"->"PRTG API"->"Custom Sensors".

mfg.


Jun, 2014 - Permalink