code:trigger_scripts
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
code:trigger_scripts [2008/08/30 02:48] – created pkubanek | code:trigger_scripts [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== State ====== | ||
+ | |||
+ | Most of the functionality implemented in rts2-xmlrpcd. | ||
+ | |||
====== What is it? ====== | ====== What is it? ====== | ||
- | Currently, RTS2 has only one way how to notify external user if something happens - preprogrammed emails can be send. Those are currently | + | Currently, RTS2 has only one way to notify external user if something happens - preprogrammed emails can be sent. Those are currently |
It is clear that this approach was far overcome in current RTS2 use. More robust, configurable and modular approach is needed. It is also clear that sending of an warning email can be easily handled by **bash** scripts, or any other scripts, and must not necessary reside inside RTS2. | It is clear that this approach was far overcome in current RTS2 use. More robust, configurable and modular approach is needed. It is also clear that sending of an warning email can be easily handled by **bash** scripts, or any other scripts, and must not necessary reside inside RTS2. | ||
Line 41: | Line 45: | ||
===== Advantages and disadvantages ===== | ===== Advantages and disadvantages ===== | ||
- | First form is more compact, distribute text string generation and processing of generated string. | + | First form is more compact, distribute text string generation and processing of generated string. |
Second form allow better changes, and also single script can be used to send an email and send SMS through other programm with different text in SMS. | Second form allow better changes, and also single script can be used to send an email and send SMS through other programm with different text in SMS. | ||
+ | |||
+ | First option is better if we decide to implement RTS2-Jabber server, which will distribute messages to Jabber - as text will be generated inside RTS2. If we use second approach, we can still achive that by having a small programm which will connect to rts2-jabber server and stream a message inside it. rts2-jabber server is envisioned as it might work as interface for distributing triggers through world and using something faster then email. | ||
I am more happy with the second options, but would like to see comments before making final decision. | I am more happy with the second options, but would like to see comments before making final decision. |
code/trigger_scripts.1220057280.txt.gz · Last modified: 2008/09/06 00:00 (external edit)