Can I run Python to create Plugin Monitors ?


Can I use Python to create plugin monitor script?


Yes, you can run basic Python scripts. They run natively for GNU/Linux  but if you run it in Windows you have to run it through a wrapper batch file.

Here is the example code:

@echo off

rem This will create the drive, path and filename variable (e.g "C:\Program Files (x86)\Traverse\plugin\monitors\filecheck\")

rem We run the script
c:\Python27\python.exe "%script%" %* 2> c:\users\public\dump


Replace '' for the right script name.


Attached the same example code.


For more information about custom plugin please review:

TCP connections plugin monitor


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Article is closed for comments.