Item monitoring directory/Monitor symlink

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Hi, as i have posted before in a different topic, i would like to know if you could implement an item which could monitor the existence of a folder not file, tried with vfs.file.exists, but nothing seems to happen, to check if the request file exists, since im doing some huge backups moving old servers to new hosts, im required to check if the backup goes accordingly so far i managed to pull a vfs.file.time[path/to/file, modify] for the specfic folder, my problem here it comes , if the backup fails it creates a folder inprogress which will keep till it finishes the previous backup,even tough it created an current folder which is symlinked it waits till the previous one is done. 

       

      What i want is to check if "inprogress" folder exists and do a boolean "and" between this and a vfs.file.time of the folder containing the backup so it will fire a trigger if problems pop up.

      So far i couldn't manage to unite the two conditions, since the vfs.file.exists doesnt get the requested value, any other help would be appreciated, but itt will be useful to have such an item.

       

      Or a better solution would be to implement an item which would track the symlink between files. Tried different solution the one from above would be the one i managed to implement since the others didnt resolve around the needed values, im only allowed to make these checks/monitor from zabbix interface, since we have difficulties with internet connection and so the server would be unresponding sometimes. I've posted in support isssues and zabbix forum, on the forum they suggested the above implementation which i tried to implement unsuccessful.

      ATM i'm using rsync for backing up the files/folders and they remain at their old time so i couldnt track the vfs.file.time of their change since it doesnt change.

      If i can provide any additional info let me know.

      Thanks for all the support and your time. For other tips or suggestions im open. Thanks again.

            Assignee:
            Unassigned
            Reporter:
            Horea Alexandru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: