Re: python script as event handler won't write to file
Posted: Tue Feb 07, 2017 10:50 am
I'll verify with our developers, but it may just be used for Nagios related files.
Digging through some other documentation here - https://assets.nagios.com/downloads/nag ... e-3-en.pdf - I did find a mention that to call to it, you need to pass $TEMPPATH$ through somewhere.
Code: Select all
Format: temp_path=<dir_name>
Example: temp_path=/tmp
This is a directory that Nagios can use as scratch space for creating temporary files used during the monitoring process. You should run tmpwatch, or a similiar utility, on this directory occassionally to delete files older than 24 hours.
Code: Select all
$TEMPPATH$ The directory specified by the temp path variable.