[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting Issue with Cloned machines and "host_monitid_unique" key

From: Mital Vora
Subject: Getting Issue with Cloned machines and "host_monitid_unique" key
Date: Wed, 4 Dec 2013 17:14:34 +0530

Hi All,

I am trying to get multiple instances of same machine started up in the VMWare VCenter client (Cloned machines from the template of one using VMWare.

I am able to successfully add server1 and it shows up correctly in the mmonit screen.

I am getting following error messages in mmonit logs when I try to add server2

2013-12-04 05:24:40 SQLException: ERROR:  duplicate key value violates unique constraint "host_monitid_unique"
 raised in PostgresqlPreparedStatement_execute at src/db/postgresql/PostgresqlPreparedStatement.c:184 when processing URL /collector

It seems that monit is using something from the system which are not different in the cloned machines and so I am getting above errors and the sever2 is not getting added correctly.

My Question is: What does monit use as unique Id ?
Can we manually provide unique ID for monit ? if yes how ?


Mital Vora.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]