How to use Notification plugin?

Forum Home Forums Understanding the Software How to use Notification plugin?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #7333
    kcks66
    Participant

    Hi Mikhail,

    I downloaded trial Notification plugin. However, I couldn’t understand how to configure it.

    I successfully configured an input channel to show Alarm High. The input channel number is 612.

    https://ibb.co/zh2QkFF

    The Notification plugin xml file:

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <PlgNotification>
    <GeneralOptions>
    <EvPeriod>1</EvPeriod>
    <DispNotifCnt>100</DispNotifCnt>
    </GeneralOptions>
    <NotifOptions>
    <InfoCondition>
    <Statuses>612</Statuses>
    <ParamIDs>11</ParamIDs>
    </InfoCondition>
    <WarningCondition>
    <Statuses>612</Statuses>
    <ParamIDs>11</ParamIDs>
    </WarningCondition>
    <ErrorCondition>
    <Statuses>612</Statuses>
    <ParamIDs>11</ParamIDs>
    </ErrorCondition>
    </NotifOptions>
    <Tips>
    <Tip>
    <TipCondition>
    <Statuses>13</Statuses>
    <ParamIDs></ParamIDs>
    </TipCondition>
    <Link url=”http://rapidscada.org&#8221; />
    </Tip>
    <Tip>
    <TipCondition>
    <Statuses>12, 14</Statuses>
    <ParamIDs></ParamIDs>
    </TipCondition>
    <Html>
    <p>Possible actions:</p>

    • Action 1
    • Action 2

    </Html>
    </Tip>
    <Tip>
    <Html>
    Contact your system administrator.
    </Html>
    </Tip>
    </Tips>
    </PlgNotification>

    #7336
    Mikhail
    Moderator

    The manual.

    <Statuses>612</Statuses> – you should put statuses there, not channel numbers. Look for the existing statuses in the Event types table.

    <ParamIDs>11</ParamIDs> – may be it’s better to set empty string inside.

    #7341
    kcks66
    Participant

    Hi Mikhail,

    Thanks for your correction. I got notifications already.

    Now I am getting non-stop of notification from the same input channel, what should I configure to get just one time of the alarm high event?

    https://ibb.co/XkVGQCg

    #7343
    Mikhail
    Moderator

    Hi,
    The notifications are based on the events in the archive.
    Probably, you should untick the “Event on Change” property of the input channel.

    #7349
    kcks66
    Participant

    Hi Mikhail,

    It is worked fine now. Thank you.

    Now I am further explore the way for an user to key in their comments/remarks on the events. Is there any way for this?

    #7353
    Mikhail
    Moderator

    Hi,

    Adding custom text to events requires additional development. It’s better to implement this feature in Rapid SCADA 6 in the next year. However, we can do it earlier in the version 5 according to a contract.

    #7358
    kcks66
    Participant

    Hi Mikhail,

    I think I shall wait for Rapid SCADA 6 in the next year.
    Thank you.

    #9267
    JW
    Participant

    Hi Mikhail, I am trying out this module

    what’s the function of <ParamIDs></ParamIDs> tag? couldn’t understand the description of this tag.

    Is it possible to limit the notification to certain channels only? e.g. I have 100 channels that cloud generated events. but I only want the notification module to make sound according to 3 channels.

    Is is possible to have event on status 4 changed?

    #9269
    Mikhail
    Moderator

    Hi,

    what’s the function of tag?

    IDs of the quantities to show in the notification panel.

    Is it possible to limit the notification to certain channels only?

    No, only the filters presented in the configuration file.

    Is is possible to have event on status 4 changed?

    Could you explain this question?

    Note: Notification plugin does not work on Linux because of Mono bug. The web app hangs.

    #9272
    JW
    Participant

    For an event triggered by “Event on change”, the alarm message will be “Changed: #Vlaues”, this type of event won’t be in notifications.

    I was just going ask about the crash on Linux server, is there any hope of fixing it or work around it?

    error log of apache, for reference

    [Fri Jul 16 20:42:33.128172 2021] [mpm_event:notice] [pid 4658:tid 140639949528128] AH00489: Apache/2.4.41 (Ubuntu) mod_mono/3.13 configured -- resuming normal operations
    [Fri Jul 16 20:42:33.128242 2021] [core:notice] [pid 4658:tid 140639949528128] AH00094: Command line: '/usr/sbin/apache2'
    [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The namespace '' is not defined.
    Parameter name: namespaceUri
      at System.Xml.XmlBaseWriter.GetQualifiedNamePrefix (System.String namespaceUri, System.Xml.XmlDictionaryString xNs) [0x0003c] in <f996495ece6841e5bb72faf597645519>:0 
      at System.Xml.XmlBaseWriter.WriteQualifiedName (System.String localName, System.String namespaceUri) [0x0004d] in <f996495ece6841e5bb72faf597645519>:0 
      at System.ServiceModel.Channels.MessageFault.WriteFaultCode (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.EnvelopeVersion version, System.ServiceModel.FaultCode code, System.Boolean sub) [0x000d4] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.MessageFault.WriteTo (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.EnvelopeVersion version) [0x0001a] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.MessageFaultBodyWriter.OnWriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x00012] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.BodyWriter.WriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x00000] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.SimpleMessage.OnWriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x00000] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.Message.WriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x0001e] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.Message.WriteBody (System.Xml.XmlDictionaryWriter writer) [0x00019] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.Message.OnWriteMessage (System.Xml.XmlDictionaryWriter writer) [0x00059] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.Message.WriteMessage (System.Xml.XmlDictionaryWriter writer) [0x00023] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.Message.WriteMessage (System.Xml.XmlWriter writer) [0x00007] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.WebMessageEncoder.WriteMessage (System.ServiceModel.Channels.Message message, System.IO.Stream stream) [0x000b1] in <5e7508d802c343d7b5ac28643e57b1dd>:0 
      at System.ServiceModel.Channels.Http.HttpRequestContext.InternalReply (System.ServiceModel.Channels.Message msg, System.TimeSpan timeout) [0x0003c] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.Http.HttpRequestContext.Reply (System.ServiceModel.Channels.Message msg, System.TimeSpan timeout) [0x00000] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Channels.Http.HttpRequestContext.Reply (System.ServiceModel.Channels.Message msg) [0x0000d] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Dispatcher.ListenerLoopManager.ProcessRequest (System.ServiceModel.Channels.IReplyChannel reply, System.ServiceModel.Channels.RequestContext rc) [0x0004b] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at System.ServiceModel.Dispatcher.ListenerLoopManager.TryReceiveRequestDone (System.IAsyncResult result) [0x00017] in <9513a2bb927146ddaa343ddc8a95d9c0>:0 
      at (wrapper managed-to-native) System.Runtime.Remoting.Messaging.AsyncResult.Invoke(System.Runtime.Remoting.Messaging.AsyncResult)
      at System.Runtime.Remoting.Messaging.AsyncResult.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <533173d24dae460899d2b10975534bb0>:0 
      at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <533173d24dae460899d2b10975534bb0>:0 
      at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <533173d24dae460899d2b10975534bb0>:0 
    [Fri Jul 16 20:42:40.322492 2021] [:error] [pid 4663:tid 140639836563200] (70014)End of file found: read_data failed
    [Fri Jul 16 20:42:40.322532 2021] [:error] [pid 4663:tid 140639836563200] Command stream corrupted, last command was 1
    [Fri Jul 16 20:42:40.340810 2021] [:error] [pid 4664:tid 140639929997056] (70014)End of file found: read_data failed
    [Fri Jul 16 20:42:40.340854 2021] [:error] [pid 4664:tid 140639929997056] Command stream corrupted, last command was 1
    [Fri Jul 16 20:42:40.340888 2021] [:error] [pid 4664:tid 140639836563200] (104)Connection reset by peer: read_data failed
    [Fri Jul 16 20:42:40.340922 2021] [:error] [pid 4664:tid 140639836563200] Command stream corrupted, last command was -1
    
    #9275
    Mikhail
    Moderator

    If you mean the crash caused by Notification Plugin, it will be fixed only in v6, because it’s something deep in the Mono framework.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.