Finding Unbound Devices
If you need to find all devices not currently bound to a Location, Group or System you can query the system to find these unbound devices. 1) First find all the devices and remove those with a set...
View Articlezendmd script to dump hardware and software info
Greetings, I recently had the need to rip all server information(Linux and Windows) out of the Zenoss Zope DB so that i could do other stuff with it(like insert into SQL tables). Here is a copy of my...
View ArticleMigrate Devices from 2.3.0 to 2.5.1
We have about 250 devices monitoring in a Zenoss Core 2.3.0. Now we decided to move the 2.5.1. The information we want to migrate from 2.3.0 is the devices, device group and device production state....
View ArticleFix Processes KeyError issues with ZenDMD
We would occasionally have problems with our Processes which resulted in a 'KeyError' error. Usually running the following commands via the zendmd command would fix these errors: > reindex()>...
View ArticleTwo useful zendmd commands on Events Management
1. dmd.ZenEventManager.getEventList()This command can get a full list of active events objects 2.dmd.Events.manage_ackEvents()This command can acknoledge a event, with the evid provided. An example to...
View ArticleReset Bindings on all devices
Handy zendmd scripts for automating tasks Zendmd is a powerful python shell that interacts with Zenoss. Here are some handy scripts to perform tasks. To use, just save the text to file and execute this...
View ArticleCopy a template/Lock Filesystems
Do you already know what the zendmd is? This is far the most advanced part of zenoss. Let me give you some tips to enhance zenoss.IntroDo you already know what the zendmd is? This is far the most...
View ArticleDevice Add / View zProperties tips
This page is for collecting up various zendmd tips, tricks, and examples. Links to other zendmd pagesuse a zendmd script as standalone program Scott Haskell's Useful Tips and Tricks Wouter...
View ArticleDisplaying System count per Group organizer
I had a request recently to provide a count of devices assigned to a particular System organizer, per Group organizer. An example: Group1 has 2 Routers that are each in the System organizer of...
View Articlezendmd copy templates,gui is error
zenoss 3.0.3centos 5.4 zendmd:source_device = find("192.168.254.1")template = getattr(source_device.rrdTemplates, 'Juniper')source_device.JuniperInt._getOb('254')._setObject(template.id,...
View Article