4 Replies Latest reply on Jul 18, 2018 9:48 AM by Maurizio Bollino

    How log msend unsent events

    Maurizio Bollino

      Hi gurus

      is there a way to log msend unsent events in order to re-issue msend later (like it is suggested for ibrsd in this thread Re: Resending events to ITSM )?

      Thank you

      Maurizio

        • 1. Re: How log msend unsent events
          merouane agar

          Hello,

           

          The solution is to use the msend with the buffer mode

           

          Eg : msend -n <CELL> -j /var/tmp/buffer_cell  file.baroc

           

          Regards,

          Merouane AGAR

          • 2. Re: How log msend unsent events
            Maurizio Bollino

            HI merouane agar

            I tried to use msend as you suggested (I used this syntax: msend -n cell_name -a Abnormality -j C:\tmp\msend_cache -m "Prova numero 4") but it always generate a persist.dat file which is not in baroc format. More, it logs every msend generated event, even the ones correctly sent.

             

            Later on, if I issue:

                msend -n cell_name persist.dat

            it obviously fails because it has not a baroc syntax.

             

            Please can you send me the syntax you used in your environment?

            Thanks,

            Maurizio

            • 3. Re: How log msend unsent events
              merouane agar

              Hello Maurizio,

               

              It's normal, the file persist.dat is not in the baroc format, the mode "-j" of the msend allows to have a single connection to the cell and to transmit the events, and to store the events which do not it can not be sent in case of unavailability of the cell and rebroadcasting automatically as soon as the cell is operational

               

              Regards,

              Merouane AGAR

              3 of 3 people found this helpful
              • 4. Re: How log msend unsent events
                Maurizio Bollino

                Hi merouane

                perfect! I successfully tested it and it worked fine. It works even if cell is not active (this is my customer situation).

                I simulated a block in comunication by mean of firewall rule, and as soon as I re-established the comunication, unsent events were automatically re-sent.

                Thank you for your precious help

                Maurizio

                1 of 1 people found this helpful