I know this will not be the best solution but it should work, zenbatchload would be a better solution.
All on ONE line and replace what is between <*> with what you need. wget -q 'http://<zenoss login-name>:<zenoss users [EMAIL PROTECTED]:8080/zport/dmd/DeviceLoader/loadDevice?priority=3&productionState=1000&locationPath=/Locations/<some location>&tag=<tag>&discoverProto=none&statusMonitors =localhost&deviceName=<device name>&performanceMonitor=localhost&devicePath=/Devices/Ping&' -O /tmp/add.out You should be able to put the above in a shells (Bash, sh, KSH, ..) while loop to get all your systems added. You can even look for a line in /tmp/add.out that contains "zen.DeviceLoader" and then look for loaded on that same line to test if the device was loaded. Hope the above helps. -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=23445#23445 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
