Ad Widget

Collapse

PATCH: recursive add/update/delete on templated items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • philipp
    Junior Member
    • Jan 2005
    • 9

    #1

    PATCH: recursive add/update/delete on templated items

    Hi,

    please find a patch attached, which adds recursive add/update/delete on templated items.

    This allows one to have ie.

    Template.basicHost
    Template.Unix
    Template.FreeBSD
    Hosts.myhost

    where myhost is linked to FreeBsd, which is linked to Unix, which is linked to basicHost

    and have changes in basicHost replicated all the way down to myhost.

    AWARE: the patch does not have any functionality for detection of endless recursion (ie. if FreeBSD would be linked to Unix and myhost, the script would go into an endless loop - i think )

    Alexei, can this functionality be included into the main source?
    Also, can you think of anything else, which I have forgotten
    Attached Files
  • YuriV
    Junior Member
    • Feb 2006
    • 16

    #2
    Do you happen to have one for Beta1.6 I tried manually patching but alas, it does not work. If i was a programmer i could probably figure it out..

    Thanks in advance.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Philipp,Thanks for your patch. Unfortunately I cannot include it into ZABBIX base code because currently we work on a better implementation for templating. Items has already been implemented (CVS), triggers and graph are coming very soon.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...