Hello I am evaluating the latest version of the opensource HypericHQ and I am currently trying to add new platforms to the system via the command line API tools. I am getting the error message below.
"Error running command: The given object already exists"
The command I am executing from the localhost which is also running the agent and hyperic-hq server. I can setup and use the ICMP Ping fine when I do it all via the web gui and it monitors just fine and collects the metrics but when I try and add another new unique host I get the error message.
/hqapi.sh resource createPlatform --prototype="ICMP Ping" --agentId=10001 --fqdn=dallas33.xxxx.net --ip=208.xxx.xxx.xx2 --name=dallas33.xxxx.net --host="127.0.0.1" --user="hqadmin" --password="hqadmin" --port="8080"
Note I have the gui listening on port 8080 instead of the default 8070 and I am not 100% sure I am using the correct agentId number for the single agent I am running. Could anyone assist me in finding out which portion of the above object already exists and secondly how can I properly identify the agentID number? Also is there a way to get a more verbose output from the hqapi.sh CLI commands.