Ad Widget

Collapse

Disk usage alert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yatta
    Member
    • Feb 2022
    • 82

    #1

    Disk usage alert

    Hi,
    I'm using Zabbix 6.0 and trying to create an alert for disk usage "/"

    The problem is, if I'm trying to create a trigger on "configuration->hosts" page, it'll only create the trigger for a host.

    I guess we need to create a generic trigger on "configuration->template" page.

    So I need to use "vfs.fs.size[/,pused]" item.

    I added "Linux filesystems by Zabbix agent" template to an host and I can see the graphs.

    Click image for larger version

Name:	Capture.jpg
Views:	3033
Size:	16.6 KB
ID:	442301


    But if I'm trying to create a trigger, I don't see any item for this template like below;

    Click image for larger version

Name:	Capture.jpg
Views:	2876
Size:	108.1 KB
ID:	442302


    Even if I'm trying to create a new item for "vfs.fs.size[/,pused]", Zabbix gives error and says the host already has the item.

    Any idea how can create a disk usage trigger/alert for all hosts?

    Thanks!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    That template has a discovery, which has item and trigger prototypes (and graph prototypes). You do not have to see anything in that circled place. If you click on "Discvoery" link there, you should see prototypes...
    If you go to Configuration-> hosts, then you should see all items for particular host (created by discovery).

    Comment

    • yatta
      Member
      • Feb 2022
      • 82

      #3
      Thanks for your reply but I really don't get the logic here.
      What is the difference between "items" and "prototypes"? I mean I just created a CPU alert from an "item", but for disk alert I can't use same logic?

      Comment

      • yatta
        Member
        • Feb 2022
        • 82

        #4
        I just created a trigger from prototype page, and now I'm searching for it but I can't find.

        Also, I search that "discovery trigger" on "configurations--> trigger actions" page, but I can't find the trigger that I just created. How can I create trigger action for that item?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5


          Prototypes help you to customize your monitoring automatically. Create items and triggers for only existing FS-es, for example. Each host can contain different filesystems. With the help of discovery you can create items for each of them, or ignore certain ones. Items are created based on prototypes.

          If we talk about CPU data, then usually its one set of items, so you can get away without discovery ... unless you are really interested per core data. Then you should use discovery, so you can create similar items per core, as number of cores can change from host to host, and you don't want to create items manually for each core...

          Comment

          • yatta
            Member
            • Feb 2022
            • 82

            #6
            Hello again!

            Just created a prototype trigger like below and saved it.

            Click image for larger version

Name:	Capture.jpg
Views:	2961
Size:	142.3 KB
ID:	442377


            But if I want to create a trigger action and send alert, I can't find that trigger on the list?


            Click image for larger version

Name:	Capture.jpg
Views:	2877
Size:	87.5 KB
ID:	442378


            Comment

            • yatta
              Member
              • Feb 2022
              • 82

              #7
              Any help how to create a basic disk usage appreciated. Still not working.

              Comment

              Working...