So I have been in past adding devices via pretty basic PERL script that calls wget commands to zenoss in order to add a set of devices.
I've started recently adding the devices back in after having to dump a set of devices. I will start loading the devices then at some point devices stop loading, as in they do not create their file structure under $ZENHOME/perf/Devices. Zenoss thinks that the devices load and I can see it status as well as interfaces, however as the RRD file structure is not there, no graphs get generated. I had suspected that the issue was due to my script however no errors occur on the returned information from the wget that and adding a device after this point does the same thing until something gets reset and thing start working. My script basically does three calls: (names changed to protect the stupid) 1) loads the device Code: wget -qO- 'http://admin:[EMAIL PROTECTED]:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=10.34.X.X&zSnmpCommunity=public&devicePath=/SOMEPATH' 2) rename the device to the MAC address of the ethernet interface. I do have to get the device name from the first wget as the devices get named something from the snmp information or stick with the IP address. Code: wget -qO- 'http://admin:[EMAIL PROTECTED]:8080/zport/dmd/Devices/SOMEPATH/devices/10.34.X.X/renameDevice?newId=0000.ca3a.XXXX' 3) remodel device (this was added after intially loaded with steps 1 and 2 for a while) Code: wget -qO- 'http://admin:[EMAIL PROTECTED]:8080/zport/dmd/Devices/SOMEPATH/devices/0000.ca3a.XXXX/collectDevice' I do get errors on the devices that do not load but can't see what config the error message refers to. Code: 2008-02-27 14:42:10 WARNING zen.zenperfsnmp: Error loading config for devices ['00a0.73b0.faed', '0000.cac9.58a5'] 2008-02-27 14:42:10 WARNING zen.zenperfsnmp: Error loading config for devices ['00a0.7373.db9c'] 2008-02-27 14:42:10 INFO zen.zenperfsnmp: Configured 21 of 117 devices The only other thing of interest about my description is that the path does include a custom performance template. However I have used a different path with no customization and can get the same result. Any ideas? -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=16694#16694 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
