Quantcast
Channel: Zenoss Community: Message List
Viewing all articles
Browse latest Browse all 1097

Re: Put devices in location with zendmd

$
0
0

I had a problem with my script too :

 

"i.getIpAddress()" don't give a string so I have add this :

 

ipSearch = i.getIpAddress()

if ipSearch:

     ipSearch=ipSearch.split('/')

     if ipSearch == ip[0]:

 

And that works.

 

Thank you for your help, the function is good.


Viewing all articles
Browse latest Browse all 1097

Trending Articles