Further to my earlier post, I have also noted the following when modifying
ZenModel/UserSettings.py.
If I alter getPagerAddresses as follows, the self.email property is not
populated. This further suggests that the problem is in populating the object
(but only when creating an SMS alert).
Code:
def getPagerAddresses(self):
return [self.email]
Resulting in the following zenaction log message:
Code:
WARNING zen.ZenActions: SMS Recip: ['']
As noted earlier the following code snippets consistently return the correct
values:
Code:
def getEmailAddresses(self):
return [self.email]
def getEmailAddresses(self):
return [self.pager]
Whereas the following code snippets consistently fail to return values at all:
Code:
def getPagerAddresses(self):
return [self.email]
def getPagerAddresses(self):
return [self.pager]
Cheers,
Patrick Brennan
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=17075#17075
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users