djmuk wrote:
> I think I had worked out that was the relevant file!!
> 
> I did wonder if it was possible to do 'IF devicename already exists in 
> database then use IP address'...
> 
> Time to learn Python I think!
> 
> Does that affect devices with more than one IP address - do they get split 
> into multiple devices?
> 
> 
> Thanks


It may be possible to do a check and see if devicename already exists in DB but 
it seems a really hard way to do it. i think the option of ignoring snmpname or 
always use ip as name would be better. 

My code addition did not change the way devices modeled just the name they 
used. Basically because I set the deviceName variable to the IP before it 
checks to see if it is empty, the code that uses the SNMP name never gets run, 
as well as the code that does reverse lookups on the ip. With the devices I 
have modeled, it has not had any noticeable impact, even with devices with 
multiple IPs. 

I also filed a enhancement request it is ticket #2815 
http://dev.zenoss.com/trac/ticket/2815




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

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

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



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

Reply via email to