When I add a policy, the Instance Name field is predefined with something like <name><number>, where the number is automatically increased against the latest number of a instance that have the same name. E.g. EscalationPolicy1, EscalationPolicy2, etc.
The following scenario should work, but it does not (note, that the predefined instance name was not changed in steps 1 and 2):
1) Add EscalationPolicy1 2) Add EscalationPolicy2 3) Delete EscalationPolicy1 4) Add EscalationPolicy1 (manually changed predefined ExcalationPolicy3 to EscalationPolicy1) 5) it results in the "Policy with the same name" error, but it should not since EscalationPolicy1 does not exist after step 3)
Verified that after step 3), EscalationPolicy1 is not present in database. So there must be an issue in the name verification.
I found a problem with a custom alarm view. When an alarm is raised/cleared the list of alarms is not updated until user presses F5 key. But when I click "Show All" button, the alarms from all the monitored systems/networks are listed and the list is updated automatically when any alarm change happen. This may be very confusing for users.
In the code, there I created a custom alarm view as follows:
Properties prop = new Properties();
prop.put("PANEL_NAME","AlertApplet");
prop.put("GROUPNAME",mo.getName());
Event event = new Event(this, NmsPanel.CHANGE_PANEL_EVENT, prop);