Forum Discussion

RGill_76849's avatar
RGill_76849
Icon for Nimbostratus rankNimbostratus
Jun 11, 2009

iRule assistance required for monitoring on 2 different servers

Dear All,

 

Im pretty new to irules and to devcentral, so any assistance would be appreciated.

 

I have the following query:

 

I have a pool defined on BIGIP and I have a monitor IRULE that monitors that pool.

 

The IRULE currently looks like this:

 

when HTTP_REQUEST {

 

if { [HTTP::uri] contains "/test/test"} {

 

pool test-pool

 

}else {

 

discard

 

}

 

}

 

This is essentially monitoring a URI. I need this to monitor the same URI, but on two different server IP’s. these are

 

192.168.1.1

 

192.168.1.2

 

The node should be marked as ‘UP’ if the node is up, otherwise if the node is down, the response back should be ‘down’.

 

Could someone help with this?

 

Regards

 

R
No RepliesBe the first to reply