When I'm troubleshooting transforms, I usually just throw them into a simple 
script and set things manually and see what happens:


Code:
#!/usr/bin/python
from socket import *

bigipNotifyObjNode = "74.125.45.100"
bigipNotifyObjPort = "2"
component = "Node: %s:%s" % (gethostbyaddr(bigipNotifyObjNode), 
bigipNotifyObjPort)

print component



Looks okay to me... but it seems like a lot of info to me? I would use that 
info in evt.summary and simply do 
Code:
evt.component = bigipNotifyObjPort

 for the component...




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

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

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



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

Reply via email to