after an upgrade (1.1.7->1.4.1), hosts are not linked to according templates.
they can be relinked manually, but this happens by removing of existing items and creating them from the template.
unfortunately, it seems that also graphs created separately that include items from that host are deleted (that is, graphs are not linked to the template).
so, if we have a bunch of routers and a separate graph that includes items from them, and then relink any of the hosts, the graph gets deleted permanently.
an example (slightly modified):
Trigger 'Jau 3 min. {HOSTNAME} nav pieejams' deleted from host
'1'
Item '1:icmpping' deleted
Graph 'routers' deleted
Item '1:icmppingsec' deleted
Added new item 1:icmpping
Added new item 1:icmppingsec
Added trigger 'Jau 3 min. {HOSTNAME} nav pieejams' to host '1'
so, items and triggers are recreated, but graphs are not (though i'd say that graph should not have been deleted in the first place).
1.4.2 changelog lists "improved inheritance of template graphs", but that probably is not connected.
they can be relinked manually, but this happens by removing of existing items and creating them from the template.
unfortunately, it seems that also graphs created separately that include items from that host are deleted (that is, graphs are not linked to the template).
so, if we have a bunch of routers and a separate graph that includes items from them, and then relink any of the hosts, the graph gets deleted permanently.
an example (slightly modified):
Trigger 'Jau 3 min. {HOSTNAME} nav pieejams' deleted from host
'1'
Item '1:icmpping' deleted
Graph 'routers' deleted
Item '1:icmppingsec' deleted
Added new item 1:icmpping
Added new item 1:icmppingsec
Added trigger 'Jau 3 min. {HOSTNAME} nav pieejams' to host '1'
so, items and triggers are recreated, but graphs are not (though i'd say that graph should not have been deleted in the first place).
1.4.2 changelog lists "improved inheritance of template graphs", but that probably is not connected.
Comment