Hi,
I am running HQ 4.2.0 build #1260 on RHEL 5 that connects to MySQL on the same box, with agent agent-4.2.0-1260 also running on the same box. Agent java version is 1.5.0_12-b04. Server is using java version 1.6.0_16.
I am also using API version 2.2 (but I also tried this with 2.5),
When using a command identical to this sample:
./bin/hqapi.sh resource createPlatform --host=localhost --port=7080 --user=hqadmin --password=mypass--prototype="Cisco IOS" --agentId=10100 --ip=10.0.18.11 --name="mtgalbnyr01" --fqdn=myrouter01.my.com -- interface.index=ifDescr snmpIp=10.0.18.11 snmpPort=161 snmpVersion=v1 snmpCommunity=mystring'
The platform is created successfully but there are no services created for the interfaces on the device. If I create the device through the GUI, the services are created successfully.
I am running HQ 4.2.0 build #1260 on RHEL 5 that connects to MySQL on the same box, with agent agent-4.2.0-1260 also running on the same box. Agent java version is 1.5.0_12-b04. Server is using java version 1.6.0_16.
I am also using API version 2.2 (but I also tried this with 2.5),
When using a command identical to this sample:
./bin/hqapi.sh resource createPlatform --host=localhost --port=7080 --user=hqadmin --password=mypass--prototype="Cisco IOS" --agentId=10100 --ip=10.0.18.11 --name="mtgalbnyr01" --fqdn=myrouter01.my.com -- interface.index=ifDescr snmpIp=10.0.18.11 snmpPort=161 snmpVersion=v1 snmpCommunity=mystring'
The platform is created successfully but there are no services created for the interfaces on the device. If I create the device through the GUI, the services are created successfully.