ZABBIX Macros Support

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • How to use Context Macro support with ZABBIX and Low-level discovery rules, to specify different trigger thresholds to discovered entities
    ☕ In case if you want to support this content with coffee:
    ☕ www.buymeacoff...
    👋 SOCIAL MEDIA
    📹 TWITTER - @RealDeimons
    🔔 INSTAGRAM - / dmitrylambert
    📫 Sign Up For Newsletter And Don't Miss Out on Anything
    📫 tinyurl.com/4s...

Комментарии • 29

  • @zabbixtraining
    @zabbixtraining  3 года назад

    ► Grab your Monitoring Love Merchandise - teespring.com/stores/monitoring-it

  • @lanceeilers5061
    @lanceeilers5061 5 лет назад

    Wow I am blown away , especially now that I am playing around with expressions and triggers on templates / macros (Thank you for sharing that) , you have such an amazing way of explaining the content thank you once again for a stunning vid , I am currently looking at a nuisance trigger - the CPU trigger is above 75 % for 10 minutes (and the event lasts normally 18 min then stabilizes , but is when the house keeper starts ) and I having little trouble writing the correct expressions , I just need to do a lot more reading and understand what it is that I want to achieve as with your drawing (false positives verses false negatives), Have a great day and thanks again for your content :-) best regards Lance

  • @ITSecurityLabs
    @ITSecurityLabs 3 года назад

    Say i have a password that expires after 2 days, and i have a query on the server that updates it automatically, and saves it to a file ( via cron). Is there a way to read the file and set the password as a macro? and it keeps getting updated everytim the password changes? This is for an external webhook parameter in "Media Type".

  • @ganeshthoutam-o3z
    @ganeshthoutam-o3z 11 месяцев назад

    Thanks for sharing !! Great one

  • @zabbixtraining
    @zabbixtraining  4 года назад

    Books About Zabbix
    Amazon COM
    ► Zabbix 4 Network Monitoring 3rd Edition amzn.to/2Ra7XDE
    ► Zabbix Network Monitoring 2nd Edition amzn.to/2DQLWqI
    Amazon UK
    ► Zabbix 4 Network Monitoring amzn.to/2G7BCey
    ► Mastering Zabbix - Second Edition amzn.to/306Ru86
    Amazon DE
    ► Zabbix 4 Network Monitoring amzn.to/2FYg3NU
    ► Zabbix Cookbook amzn.to/3iXuqQK

  • @deepsdichu2725
    @deepsdichu2725 Год назад

    Hi,
    For C drive we will get alert for 60 and 20 as well right?

  • @deanchild9848
    @deanchild9848 5 лет назад

    Thank you been teching myself Zabbix for a while now and your lessons here are excellant. I have been trying this out and came across an issue I want to do Freespace Trigger so if c Drive is less than 1GB set off trigger but this issue I have is what units to put in Macro with % its easy it just % valve but with space it units are B and when I look at lateat data its in MB or GB so When i go to add a valve in {$LOWSPACE}= 1GB or 1024MB or 1073741824B not sure any advise?

    • @zabbixtraining
      @zabbixtraining  5 лет назад

      In bytes. Latest data shoes as mb gb etc because od units used in item. But units are used only for a visualization

  • @leag31
    @leag31 4 года назад

    Hello, is it possible to set one macro for several FS at once, example: {$MAXSIZE:[/opt|/tmp]} ?

  • @Its_Sachin_Bhosale
    @Its_Sachin_Bhosale 5 лет назад

    Please create video to import template for hp3par storage , Ms SQL monitoring and Zimbra email service monitoring in zabbix

  • @vanomel528
    @vanomel528 5 лет назад

    By the way it is not so clear for me why on 11:59 macros {$LOWSPACE: "D: "} will return 20? There is no such macros, why your expression will return (you say that) "default value"?

    • @zabbixtraining
      @zabbixtraining  5 лет назад

      because, there is no user macro {$LOWSPACE: "D: "} , and if there is no such value it will use value from user macro {$LOWSPACE}

    • @fredruicostamacedo4398
      @fredruicostamacedo4398 4 года назад

      @@zabbixtraining Hi, don't understand too on my side, the macro should be {$LOWSPACE: "D: "} and not {$LOWSPACE}, so this trigger doesn't work bc it doesn't exists?

  • @PaperTowelSauce
    @PaperTowelSauce 5 лет назад

    I want to create a LLD for windows processes (example: chrome.exe, explorer.exe, etc). How can this be done without manually adding each program?

    • @zabbixtraining
      @zabbixtraining  4 года назад

      Windows proceses, or services? For a second there is low level discovery rule in official windows monitoring template.

    • @PaperTowelSauce
      @PaperTowelSauce 4 года назад

      Dmitry Lambert processess

    • @zabbixtraining
      @zabbixtraining  4 года назад

      @@PaperTowelSauce It would require to write your own LLD rule, or create items manually.

  • @Fractal227
    @Fractal227 5 лет назад

    Can you use macros to find specific services such as Skype?

    • @zabbixtraining
      @zabbixtraining  4 года назад

      I don't think that that's the case for user macros.

  • @vanomel528
    @vanomel528 5 лет назад

    How can I create low level discovery which will create trigger for specific values of discovery elements and will not create it for others?

    • @zabbixtraining
      @zabbixtraining  5 лет назад

      Do you mean simply ignore some discovered entities and don't create triggers for them at all?

    • @vanomel528
      @vanomel528 5 лет назад

      @@zabbixtraining yes, ignore some and don't create trigger at all. I assume that I can create always negative expression for trigger, but this is a waste of power. So I have to create lots of similar LLD for this.

    • @zabbixtraining
      @zabbixtraining  5 лет назад +1

      There is Filter tab in LLD configuration, where u can filter discovered entities by regexp. As example {#FSNAME} matches C:|D:. LLD will process only for matched values. Anything else will be ignored

    • @vanomel528
      @vanomel528 5 лет назад

      I know this feature. Ok, I mean what if I want to discover all disks and create trigger only for disk C, but add all the metrics for another disks?

    • @zabbixtraining
      @zabbixtraining  5 лет назад

      There is no native feature for this. I would create two LLD rules. First to create items for everything, second to create triggers with Filter to exclude unwanted ones.

  • @reesv01
    @reesv01 5 лет назад

    Awesome :)