Ad Widget

Collapse

zabbix alert when a folder has been unmounted and show resolved when it is mounted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SebIT15
    Junior Member
    • May 2024
    • 4

    #1

    zabbix alert when a folder has been unmounted and show resolved when it is mounted


    Hi, I'm new to Zabbix. I currently have version 6.4 and I am trying to configure a trigger which will alert when a folder has been unmounted and show resolved when it is remounted.

    In this case I am working with the Red Hat Enterprise linux server. I am working with vfs.file.exists function. At the moment I have only managed to be able to alert when a folder has been unmounted, however when I remount it does not show me the resolved message on the zabbix problems dashboard.

    In the images you can see the configuration of the item, trigger and the alert that is shown when the folder is unmounted, what I want to know is why it does not show resolved when I mount it again on my Linux server.

    I hope for some recommendation or I don't know what I'm doing wrong.


    Click image for larger version

Name:	image.png
Views:	263
Size:	32.6 KB
ID:	483438

    Click image for larger version

Name:	image.png
Views:	203
Size:	36.4 KB
ID:	483439

    Click image for larger version

Name:	image.png
Views:	206
Size:	8.4 KB
ID:	483440
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Remove that recovery expression... You do not need it.
    if /appweb is a directory, you should also specify, that you are looking for a directory... vfs.file.exists[/appweb,dir]

    Comment

    Working...