Forum Discussion
VernonWells
Jan 13, 2014Employee
Yes, the word member is required (I omitted it inadvertently on the second response). If you are matching a specific pool member, you will replace the "(.?):(.?)" with the pool member IP and port. So the text you provided is correct.
It appears that alertd uses egrep style matching (which, strictly speaking, means my use of the term "glob" isn't really correct). Thus, if your pool members are all in the same /24, you could do this:
Pool /Common/your_pool member 10.10.10.(.+):(.+?) monitor status down.
Alternatively, if you have a few IPs, you should be able to use the pipe:
Pool /Common/your_pool member (10.10.10.1|10.11.11.2):(.+?) monitor status down.
And if you have a constrained fourth octet:
Pool /Common/your_pool member 10.10.10.1[0-5]:(.+?) monitor status down.
The last one would match any IP between 10.10.10.10 and 10.10.10.15 (inclusive).