Ad Widget

Collapse

Method to remove node from database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xs-
    Senior Member
    Zabbix Certified Specialist
    • Dec 2007
    • 393

    #1

    Method to remove node from database

    Hi all,

    We're using a distributed setup with 1 master and 2 remote nodes.
    When the last node was added, we found out about the 'template linkage bug' in the xml export, so naturally we tried to start over. We removed one of the nodes (on the master), re-create its database and add it again. Then weird stuff happened, master started sending 'old' config and everything was screwed up again.

    So my idea was to make a set of SQL queries to completely clean out a remote node from the master's database.

    Ive been looking at the database and understand how it works (node-id prefixing and such), but i would be verry happy if such a set of queries already exists.
    Can anyone provide me with this? Perhaps the developpers have such a thing?

    Kind regards,

    PS,
    its for the 1.4.4 version of the database
Working...