Hi! I'm trying to find workaround for 30 seconds for external scripts limitation by running my python script as daemon process, the script utilizes python-daemon module and is trivial:
however Zabbix (2.0.9) recieves only empty string from it.
Why does it happen? Did anyone anything similar? Please share your experience.
Thanks in advance!
Code:
import time
import daemon
if __name__ == '__main__':
print "ok"
with daemon.DaemonContext():
time.sleep(31)
print "done"
Why does it happen? Did anyone anything similar? Please share your experience.
Thanks in advance!