Ad Widget

Collapse

Patch to filter triggers by description

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicodvb
    Junior Member
    • Apr 2018
    • 7

    #1

    Patch to filter triggers by description

    HI, I prepared a small patch for the frontend to filter triggers by their descriptions. I find it very useful for mass delete/enable/disable/update.
    Sometimes it happens to have hundreds or thousands of triggers that you don't really want.

  • nicodvb
    Junior Member
    • Apr 2018
    • 7

    #2
    I didn't realize that the patch wasn't attached. Here it is.
    Attached Files

    Comment


    • cadi455
      cadi455 commented
      Editing a comment
      Hi, Thank you for this patch, but how to add this patch in zabbix??
  • nicodvb
    Junior Member
    • Apr 2018
    • 7

    #3
    Cadi455, just go cd to the directory containing the php files of zabbix-frontend and run
    $ patch --dry-run -p1 < triggers.txt #simulation
    verify that there are no errors and then run
    $ patch -p1 < triggers.txt

    Comment

    Working...