#4583 [HHQ-4528] HQApi: When using excludeTypeIds recovery alert c

Bug
open
Hyperic Team
None
5
2013-01-23
2010-12-23
Hyperic Team
No

http://jira.hyperic.com/browse/HHQ-4528
Problem:



Can not reload in to another HQ server machine due to "Recovery alert" not found. Is there a way to force the order and get these to load correctly? (Both machiens are running 4.5.1 and using hqapi1-client-4.1.0.M1) Also it looks like some of the alert definitions did work, including ones with recovery definitions! And only about 30 alerts loaded before it hit the "recovery" alert issue. The recovery for 'Disk at 100%' is the next section in the XML file.



Steps taken...


On the original machine i used this to export:


 $ /opt/hyperic/hqapi/bin/hqapi.sh alertdefinition list -typeAlerts -excludeTypeIds > TYPE.xml



Then on new machine I did the following...



$ /opt/hyperic/hqapi/bin/hqapi.sh alertdefinition sync < TYPE.xml


Syncing 119 alert definitions


Error running command: Unable to find recovery with name 'Disk at 100%'

Discussion


Anonymous


Cancel   Add attachments