Ad Widget

Collapse

Trigger on free hard disk space excluding server name?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sebasjuh
    Junior Member
    • Sep 2016
    • 8

    #1

    Trigger on free hard disk space excluding server name?

    Hello,

    I have created a trigger on my servers to check how the E partition are on the servers, with the following code:
    Code:
    {Template Free Hard Disk Space:vfs.fs.size[E:,pfree].last(0)}<10
    But I want to exclude a server named: SD-Veeam
    How can I exclude a servername in the trigger?

    I found out that you can add a servername exclusion in the action page so you won't get an email but you will see the error on the dashboard page of the Zabbix webinterface. And I doesn't even want to see the error of that particular server.

    Is that possible to exclude a selected server name?
    I tried it with:
    Code:
    {Template Free Hard Disk Space:vfs.fs.size[E:,pfree].last(0)}<10 AND {HOSTNAME} <> "SD-Veeam"
    But this gave an error while saving.
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    Just disable this trigger on host SD-Veeam.

    Comment

    • sebasjuh
      Junior Member
      • Sep 2016
      • 8

      #3
      No that's not what I want to do because in the Template check harddisk space I check the C/D and E partition (when available).
      When I disable it on the server I also don't get the warning from the C and D partition.

      The E-partition on that server is added when the backup is running but that partition is not relevant to get a warning from.

      Comment

      • Semiadmin
        Senior Member
        • Oct 2014
        • 1625

        #4
        In your example there is a trigger for disk e: exactly, if you disable this trigger on the host your triggers for other disks of this host remain enabled.

        Comment

        • sebasjuh
          Junior Member
          • Sep 2016
          • 8

          #5
          Didn't know that was possible.
          But I disabled the E partition trigger on that specific server and now it's also gone on the dashboard on the web interface. Just like I wanted.

          Thanks for your help!

          Comment

          Working...