PythonScript
Loads and processes internal Python scripts
Enable module
To enable this module and and allow using the commands you need to ass PythonScript = enabled to the [/modules] section in nsclient.ini:
[/modules]
PythonScript = enabled
Configuration
| Path / Section | Description |
|---|---|
| /settings/python | |
| /settings/python/scripts | Python scripts |
/settings/python
| Key | Default Value | Description |
|---|---|---|
| python cache | Python cache |
#
[/settings/python]
Python cache
Override python cache folder.
| Key | Description |
|---|---|
| Path: | /settings/python |
| Key: | python cache |
| Default value: | N/A |
Sample:
[/settings/python]
# Python cache
python cache=
Python scripts
A list of scripts available to run from the PythonScript module.
This is a section of objects. This means that you will create objects below this point by adding sections which all look the same.