I'm facing a strange problem while using REST call. I'm using following REST call....
wget --http-user=<userid> --http-password=<password> --auth-no-challenge --ignore-length -E --delete-after -nc 'http://MYDEVICE/zport/dmd/Devices/Server/Linux/devices/127.0.0.1/setZenProperty?propname=zDeviceTemplates&propvalue=Java'
I'm using this command to bind a template named Java with device 127.0.0.1. But somehow I get the following output. The template name string gets truncated.
Is this a bug??
Please help asap....
Thanks for the reply, but this isn't working. I tried the following...
Can you explain in detail?
Thanks a lot for your answer and now I've managed to do the same using follwing script. (I'm using zendmd here)
I was interested to do the same with a REST call, but it still fails for LINES data type. I guess I'll proceed in the zendmd way..