hi all,
i followed this guide http://www.tinkerforge.com/en/doc/Kits/ServerRoomMonitoring/NagiosOrIcinga.html this http://www.tinkerforge.com/en/doc/Kits/HardwareHacking/SmokeDetector_HardwareSetup.html and http://www.tinkerforge.com/en/doc/Kits/HardwareHacking/SmokeDetector_Python.html
I adapted the First Script, I removed motion detector and add smoke detector.
Now if smoke detector is active, nagios detects the status!
but, if smoke detector start and stop before the time control nagios(5minutes) nogios not detects correct status.
I want add to script Step 4: Error handling and Logging of the third link.
But I have trouble, because i'm beginner of python.In attachments the script
can someone help me?
regards test_tf_smoke.py ste4.py