Hello, I have just made a sensor by script python who works perfectly by indicating in the script the hostname of the equipment. But if I want to put this sensor on other equipements, I should create a script for every equipment. Which is not good. During the addition of the sensor I noticed the line "Additionnal parameters" which seems to be able to help me get back the hostname of the équiment on which I place the sensor. In this line I put -host %"host" but how to get back this value in my script python? Thank you
add new sensor by script python
Votes:
0
1 Reply
Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Add comment