Ad Widget

Collapse

Any quicker way to change trigger settings etc.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newbie01.oracle
    Junior Member
    • Feb 2010
    • 18

    #1

    Any quicker way to change trigger settings etc.

    Hi all,

    At the moment, am doing point and click to change the trigger settings or add new items for Zabbix monitoring, for example, if a new filesystem/s is created.

    Is there a quicker alternative to this? For example, can I just do all these work via a XML file that I can edit using an editor and then re-import the changes instead of pointing and clicking which is a bit time consuming and also error prone in some cases.

    If I can do this via editing a XML file, any recommended editor to use, preferably free ... :-) At the moment, using PSPad and Notepad++

    Any advice on this will be very much appreciated. Thanks in advance.
  • danrog
    Senior Member
    • Sep 2009
    • 164

    #2
    There are a few ways.
    1. Export/Import of templates (then you can edit them in notepad)
    2. API (probably the better option if you are doing it at a host level)
    3. Use 1 to add them to a base template and then disable items that are "Not Supported"
    4. a script to drive the GUI.

    I would personally use the API for this (it works well for this sort of thing).

    If you would rather have a quick and dirty solution (Option #3), you could try adding them to a base template, wait a little while and then do a search for all items that are not supported (using the filter in Config->Hosts->Items), select ALL and disable (or delete).

    Comment

    • zabbix_zen
      Senior Member
      • Jul 2009
      • 426

      #3
      http://www.zabbix.com/wiki/doc/api

      Comment

      Working...