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.
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%'