Jump to content

smoke detector with nagios


luca219

Recommended Posts

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

Link zu diesem Kommentar
Share on other sites

Join the conversation

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

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...