An update.  I would like to propose a change to the 
/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py file. In VIM, 
if you do a "/not found" search you will find this code snippet


Code:
log.warn('attribute %s not found on object %s',
                              attname, obj.id)



I have changed it to this on my local machine:


Code:
log.warn('attribute %s not found on object %s on device %s',
                              attname, obj.id, device.id)



Now when the error occurs in the zenhub log, I get the device name too.  That 
is way better than the old error.  I don't know how to produce a patch file.  
Can someone help me get this into the next version/patch for ZenOss?




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=31505#31505

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to