The result: Zenoss Error View Error Details Type: BadRequest Value: <table border="0" width="100%"> <tr valign="top"> <td width="10%" align="center"> </td> <td width="90%"> <h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Invalid request</strong></p> The parameter, <em>deviceName</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</p> <hr noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource may be incorrect.</li> <li>A resource that this resource relies on may be encountering an error.</li> </ul> <p>For more detailed information about the error, please refer to error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p> </td></tr> </table> Traceback (innermost last):
* Module ZPublisher.Publish, line 114, in publish * Module ZPublisher.mapply, line 83, in mapply * Module ZPublisher.Publish, line 45, in missing_name * Module ZPublisher.HTTPResponse, line 667, in badRequestError BadRequest: <table border="0" width="100%"> <tr valign="top"> <td width="10%" align="center"> </td> <td width="90%"> <h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Invalid request</strong></p> The parameter, <em>deviceName</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</p> <hr noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource may be incorrect.</li> <li>A resource that this resource relies on may be encountering an error.</li> </ul> <p>For more detailed information about the error, please refer to error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p> </td></tr> </table> An error was encountered while publishing this resource. Please use the form below to submit details of this error to Zenoss, Inc. This information helps us identify and fix issues with the software, though we are unable to respond individually to all submissions. The Zenoss community forums<http://community.zenoss.com/forums/> are very active and a good resource for solving problems and answering questions. Zenoss also provides commercial services and support packages<http://zenoss.com/support/>. Top of Form The following fields are optional. This information will only be used to contact you if further information is needed regarding this error. Bottom of Form :( From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chet Luther Sent: 2008. július 31. 16:27 To: General discussion of using zenoss system Subject: Re: [zenoss-users] Rest Call command On Jul 31, 2008, at 6:44 AM, Gyurik, Csaba wrote: I need to add huge number of the devices. I found this kind of possibilities: [EMAIL PROTECTED] $] wget 'http://admin:[EMAIL PROTECTED]:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=NEWDEVICE&devicePath=/Server/Linux' Unfortunatelly it is not success. This is the right command to run. Try entering it in your web browser instead of through wget to see what kind of response you get. It is possible that the device isn't being added because Zenoss can't reach it using SNMP. ________________________________ NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. Local registered entity: MSCI KFT Metropolitan Court acting as the Court of Registry Registered office: 1138 Budapest, Népfürdo utca 22, Hungary Registration No. 01-09-885383
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
