monitor

  • 12 Nov

    Change Notify network folders usage optimization

    Change Notify Network folders usage optimization (v2023.11.11.0) [*]

    In this version we optimized the code for network folders. We added a watchdog in case something goes wrong with the connection to the network folder. It will show you the necessary error information in the log and also we linked the ‘On No File Found’ event to the case when the watchdog is triggered. You could use this event to get an email notification when something goes wrong with the Change Notify monitoring of a (network) folder.

    limagito file mover rule events

    limagito file mover on no file found event

     

    Change Notify, Force scan after error recovery (v2023.11.12.0) [+]

    New option ‘Force single scan after error recovery’ was added. If due to some reason the connection to the network share is lost and repaired afterwards by the new Watchdog option, you have the possibility to do a full scan of the source folder.

    limagito file mover chnage notify network folders

     

    #filetransfer #filemanagement

    If you need any help with this ‘Change Notify network folders’ option, please let us know.

    Best Regards,

    Limagito Team

  • 23 Oct

    How do I use Zabbix to monitor the status of my tasks

    Q: How do I use Zabbix to monitor the status of my tasks.

    What: We are looking to monitor some of our Limagito tasks inside Zabbix using the rule event in Limagito.

    Why: Example, we have an SLA for a specific service, we monitor the hardware services etc in Zabbix

    Some of those services depends on file being moved by LIMAGITO.

    How: I need to execute a CMD with parameter on event success and on event fail so I can communicate to my Zabbix server.

    Could you give me some assistance as to how I can run an .exe with parameters whenever a task is successful/unsuccessful?

    A: In version v2023.10.23.0 we added our ‘Command Line’ option to the Rule Events. This should make it possible to use any Command Line tool like the one from Zabbix (zabbix_sender.exe).
    limagito file mover rule events
    Example for the ‘On Success’ event. We have no idea about the zabbix_sender Command Line tool parameters, this is just an example from their website.
    You’ll need to enable the ‘On Error’ event too and add the Command Setup for this event also (with other zabbix_sender parameters).
    We have set the ‘Max Time After Beginning’ to 30 seconds. This prevents the command from hanging in case there is an issue with the command Line tool.
    limagito file mover use Zabbix to monitor the status
    Maybe it is a good idea to enable ‘Success event memory’ and ‘Error event Memory’. This way the event will only be triggered when the status changes between Success  <> Error and not with every Success and Error event.
    limagito file mover rule events setup

    #zabbix #cmd #filetransfer #filemanagement

    If you need any help with this ‘use Zabbix to monitor the status’ request, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Command Events , ,
  • 09 Jan

    Q&A 40: Is it possible to create a file timestamp monitor job

    Q: Is it possible to create a file timestamp monitor job. I mean, is there a way to setup a job that states that if there has not been a file with a timestamp of less than say 2 hours to send an alarm?

    A: Yes this is possible. We added some screenshots to get you started.

    • Be sure the Function is set to ‘Copy Files’ (which is default).

    Limagito File Mover Function Setup

    • Please add the directory you want to monitor as WIN Source. In our example we’ll use ‘C:\Test\In\’.

    Limagito File Mover Source Selection

    • We are going to monitor .pdf files in this example so we added  *.pdf  as Filename Include Filter.

    Limagito File Mover Filename Filter Setup

    • Our goal is to check if there are files available younger than 2 hours:

    Limagito File Mover Filedate Filter Setup

    • As Destination we added a simple Pascal Script to give us some information:

    Limagito File Mover Destination Selection

    Begin
      psExitCode:= 1;
      // ... add your code here
      psLogWrite(1, '', 'File Found: ' + psFilePath + psFileName);
    End.

    Limagito File Mover Pascal Script

    • Next step is to setup the ‘On No File Found’ Rule Event:
      • Enable ‘On No File Found’ Rule Event
      • Enable Mail
      • Setup Mail Message
      • Setup Common SMTP (Server which will send the Mail Message)

    Limagito File Mover Rule Events

      • Mail Message Setup

    Limagito File Mover Email Setup

      • Setup Common SMTP (Server which will send the Mail Message). We are using the Google SMTP to send the Mail Message.

    Limagito File Mover SMTP Server Setup

    • We added a Pascal Script which will add information in the log when the event is triggered.
    Begin
      // ... add your code here
      psLogWrite(1, '', 'We did not find any file younger than 2 hours');
    End.

    Limagito File Mover Rule event Pascal Script

    • If you don’t want to send the email event ‘On No File Found’ with each scan then please enable ‘Error event Memory’ in the Options Tab. When this option is enable AND ‘No File Was Found’ then we’ll send the email only once. The ‘Error Event Memory’ will reset itself when a file was found again.

    • RunTime Log Result when no file younger than 2 hours was found:

    Limagito File Mover RunTime Log Result

    • Email Result when no file younger than 2 hours was found:

    Limagito File Mover Email Message

    If you need any help with this ‘file timestamp monitor’ request, please let us know.

    Best Regards,

    Limagito Team

    By Limagito-Team Q&A WIN ,
1 2
SEARCH