Ad Widget

Collapse

Move global regular expressions between systems (export/import?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Linwood
    Senior Member
    • Dec 2013
    • 398

    #1

    Move global regular expressions between systems (export/import?)

    I have numerous clients and periodically try to synchronize what templates each has, which I have some routines to do (export template, differences, import where updates needed).

    One problem I am finding is significant changes to these templates that are implicit as they include Regular Expressions that are global (Administration, General, Regular Expressions).

    Is there any provision, that I may be missing, to migrate/update these?

    I thought about just moving it at the SQL level but because there is a separate expressionid and regexpid that are dependent on when they were created.

    I could wipe the whole table and move it but that's a bit scary as if moving from A to B, it's possible B has some that A lacks.

    It sure would be nice if these were part of templates and exported and imported with them like value maps?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    I am quite convinced, that those global expressions still exist only for backward compatibility... You can add macros to templates which values are regexes... Most of OOB tempaltes have that by now, used by discoveries.

    Comment

    Working...