Hi All,
Sorry for all the questions! I hope these help others too!
I am trying to add a ping only device with:
curl -v -X POST 'http://<SERVER>:8080/spectrum/restful/model?landscapeid=0x100000&mtypehandle=0x10290&ipaddress=<IPADDRESS>&attr=0x1006e&val=<MODEL_NAME>&parentmh=0x30031a'
But get this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><create-model-response xmlns="http://www.ca.com/spectrum/restful/schema/response" error-message="Error discovering the device at <IPADDRESS>.<br><br>This device has responded to an ICMP ping request, but not to an SNMP request.<br><br>Probable causes for SNMP failure:<ul><li>The device may not be responding to SNMP requests. If the device is busy with network traffic, SNMP requests could be ignored.</li><li>Timeout and Retry values could be too low. Increase and try again.</li><li>SNMP community string "public" may be incorrect. SNMP devices will not respond to SNMP requests if the SNMP community string is not valid for the device.</li><li>Agent port number "161" may be incorrect. SNMP devices will not respond to SNMP requests if the agent port number is incorrect.</li><li>Check the device for Access Lists. If the device has an Access List, your machine will have to be added to receive SNMP requests.</li></ul>" error="Failure"/>
I'm not sure why it's trying to discover it using snmp if I specify the modeltypestring of 0x10290 (Pingable) I would expect it not to try discover.
Has anyone been able to add a new ping only device into Spectrum in this way?
Regards,
Frank