Forum Discussion
Custom monitor using logical operators
We have a pool "xxx" and I need to create custom monitor to monitor this pool as the following
"Gateway_ICMP_Monitor" && "TCP_Monitor" && minimum of ("HTTP1_Monitor" && "HTTP2_Monitor")
Can you guide me to customize this monitor?
- MvdG
Cirrus
Hi,
Am not sure this is possible in the GUI. Maybe you can do something with a external monitor that combines HTTP1_monitor and HTTP2_monitor?
https://devcentral.f5.com/wiki/advdesignconfig.externalmonitor.ashx
Regards, Martijn.
- Leonardo_Souza
Cirrocumulus
Via GUI you can add multiple monitors to the pool, working like an "and". You can then define how many of those monitors need to be up at minimum, so the system marks the pool member up.
Looking your requirements, if an HTTP monitor is up, implies that you can talk with the server, so Gateway_ICMP_Monitor is redundant here. Similar thing in relation to TCP_Monitor, HTTP work on top of TCP, so this monitor is also redundant.
Assuming the HTTP monitors are different, you can add both to the pools. If you need both up, select availability for all. If you need just one of them up, select availability 1.
- MR_Freddy
Nimbostratus
@Martin, ok can you guide me to do that ?
- MvdG
Cirrus
Hi,
More information on external monitors can be found at:
https://devcentral.f5.com/wiki/advdesignconfig.externalmonitor.ashx
You need to know some scripting to write you own external monitor.
Maybe you discover an external monitor is not the solution for your problem, but you can have a look at it.
Regards,
Martijn.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com