107 | | The following sections describes configuration of optional publisher modules, namely XMPP and SMTP. In case of !QosCosGrid, the presented modules are required when the instance of QCG-Notification cooperates with QCG-Broker. This means that you can skip this section when you are installing QCG-Notification to work with the QCG-Computing component only. |
108 | | === XMPP Publisher module configuration === |
109 | | If needed, the module for publishing notifications via XMPP protocol may be installed and enabled in the service's configuration. To install the plugin invoke: |
110 | | {{{ |
111 | | #!div style="font-size: 90%" |
112 | | {{{ |
113 | | yum install qcg-ntf-xmpp-publisher-plugin |
114 | | }}} |
115 | | }}} |
116 | | |
117 | | The relevant part of QCG-Notification configuration file should be uncommented and adjusted to the real situation. For instance, the integration with the PL-Grid XMPP server, assuming that the XMPP account equals 'someaccount' and password is 'somepass', requires the following settings: |
118 | | |
119 | | {{{ |
120 | | #!div style="font-size: 90%" |
121 | | {{{#!xml |
122 | | <sm:Module xsi:type="smn:ntf-publisher-xmpp"> |
123 | | <smn:JID>someaccount@plgrid.pl/qcg-ntf</smn:JID> |
124 | | <smn:Password>somepass</smn:Password> |
125 | | <smn:Encryption>TLS</smn:Encryption> |
126 | | <smn:CertFingerprint>7B55E421B023D4358BD9CE29F091D91C</smn:CertFingerprint> |
127 | | </sm:Module> |
128 | | }}} |
129 | | }}} |
130 | | |
131 | | |
132 | | === SMTP Publisher module configuration === |
133 | | |
134 | | Sending notifications through e-mails is possible with QCG-Notification SMTP publisher module. To install the module use: |
135 | | {{{ |
136 | | #!div style="font-size: 90%" |
137 | | {{{ |
138 | | yum install qcg-ntf-smtp-publisher-plugin |
139 | | }}} |
140 | | }}} |
141 | | |
142 | | The SMTP module can be enabled in the QCG-Notification configuration file by uncommenting and adjusting the relevant 'Module' element. The sample XML fragment presented below is sufficient to distribute e-mails via the locally running SMTP server (eg. Postfix). |
143 | | |
144 | | {{{ |
145 | | #!div style="font-size: 90%" |
146 | | {{{#!xml |
147 | | <sm:Module xsi:type="smn:ntf-publisher-smtp"> |
148 | | <smn:ServerURL>smtp://localhost:25</smn:ServerURL> |
149 | | </sm:Module> |
150 | | }}} |
151 | | }}} |
| 107 | The optional publisher modules, namely XMPP and SMTP, may be configured for QCG-Notification: [[http://www.qoscosgrid.org/trac/qcg-notification/wiki/Configuration#PublisherModules|instruction]] |
| 108 | |
| 109 | In case of !QosCosGrid, the presented modules are required when the instance of QCG-Notification cooperates with QCG-Broker. This means that you can skip this section when you are installing QCG-Notification to work with the QCG-Computing component only. |
| 110 | |