Logs

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #16807
    rapidscadaaks
    Participant

    Hi
    I am using ACM for various jobs one of which is to send a notification using telegram if any any of multichannel trigger values get triggered.

    For purposes of troubleshooting I need to view the log to be able to understand which channel caused the Trigger. On going through the various logs I found entries Command with ID [ABCD] sent to ….. I need to review ABCD to know which channel caused the issue.

    Please assist.

    Thanks

    #16808
    rapidscadaaks
    Participant

    ID starts with 7537….

    #16809
    manjey73
    Participant

    Please show me the screenshots of what exactly do you want to see?

    #16810
    rapidscadaaks
    Participant

    https://ibb.co/6cx1CvYD
    https://ibb.co/YBMb0Prq

    Hi
    Above links contain images for ACM Trigger and Logs
    In the Logs there are lines Command with ID ….
    I need to see the details of the ID to know which of the Triggers failed.

    Basically, I need to troubleshoot to know which of the triggers in the multichannel trigger caused the command to be sent.

    Thanks

    • This reply was modified 2 days, 10 hours ago by Mikhail.
    #16811
    manjey73
    Participant

    And where do these screenshots come from? from which application?

    Well, the actual question is, what exactly do you want to see, is it not entirely clear from the words?

    #16812
    rapidscadaaks
    Participant

    Hi
    The screenshot having various Command lines is from the log file
    The screenshot having Trigger configuration is from Automatic Control Module (“ACM”) page

    I am trying to rephrase my issue :

    There is a multichannel trigger configured in the ACM which checks status of various channels and if the value of any of the channels is 1, alert is sent using Telegram.
    What I need to know is which channel returned the value 1 causing the alert to be sent.

    I hope my above explanation is better

    Thanks

    #16813
    manjey73
    Participant

    Try adding commands to the messages that ACM understands. For example {CnlNum} and others

    https://rapidscada.net/docs/en/latest/modules/mod-auto-control

    #16815
    Mikhail
    Moderator

    Hi,
    The module writes to its own log file.
    Open Administrator – Instances – Default – Server – Logs, then set the log filter to modules.

    #16817
    rapidscadaaks
    Participant

    Hi Mikhail

    I found the module log. The log however does not show which channel in the multi channel trigger caused the command to get fired (there are six channels with “OR” option and if any of the six returns 1 as a value, command gets fired). Please suggest.

    Thanks

    #16823
    Mikhail
    Moderator

    Hi,
    May be you could setup generating events for those channels to control when they change.

    #16825
    rapidscadaaks
    Participant

    Hi Mikhail
    Thank you for indicating the solution.
    I am basically tracking status of individual devices on each of the Communication Lines and when any of the devices returns Status as 1, I receive a Telegram notification informing issue in the particular Communication Line. In this setup I do not know which device had the issue.
    As you have suggested, generating events for the individual devices would be helpful. In Rapidscada Channel configuration, there is “Event Mask”. If I set this to “Channel Status Has Changed”, some event would possible get logged when the Status changes to 1 which I can later review. Please assist / guide.

    Thanks

    #16836
    Mikhail
    Moderator

    Hi,

    If I set this to “Channel Status Has Changed”, some event would possible get logged when the Status changes to 1 which I can later review.

    Try “Channel Data Has Changed” or “Channel Status Has Changed”. Play with it.

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