Jump to content

smoke detector with nagios


Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...