Ad Widget

Collapse

"Not supported" fire a trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gpostaire
    Junior Member
    • Nov 2006
    • 20

    #1

    "Not supported" fire a trigger

    hi,
    I monitor the cksum of a file. I need to fire an alert when the file doesn't exist. This check is not supported on windows with agent 1.1.2.

    I try with nodata(180), but it doesn't seem to consider "not supported" as nodata.

    How can i activate a trigger when the item is not supported ?
    Thanks
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Use vfs.file.exists[/your/file].
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • gpostaire
      Junior Member
      • Nov 2006
      • 20

      #3
      I get a not supported with "vfs.file.exists[X:\xxxxx\xXxx.XXX]".

      I use the 1.1.2 agent for windows with NSIS install found on this forum.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        It is not supported under Windows yet. We will fix it...
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • gpostaire
          Junior Member
          • Nov 2006
          • 20

          #5
          Thanks for your quick reply.

          I use a workaround with UserParameter with bash because we use cygwin and i am more fluent in bash than in vb.

          UserParameter=XXXXX.XXXXX,X:\cygwin\bin\bash.exe -c "[ -f /cygdrive/c/XXX/XXXXX/xxxXxx.XXX ] && echo 1 || echo 0"

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            Windows Agent has been improved. It will be supported starting from 1.1.5 and 1.3.3.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • gpostaire
              Junior Member
              • Nov 2006
              • 20

              #7
              Great job !!
              Thanks.

              Comment

              Working...