Forum Discussion
Shankar_Gandhi_
Mar 17, 2011Nimbostratus
Health Monitor to check content after logging in
I was wondering if there is a way to have a monitor for the pool members in way that, this health monitor needs to login and check the content of the poolmember URL and if the content matches after lo...
George_Watkins_
Mar 17, 2011Historic F5 Account
Hi Shankar,
It may be difficult to get a monitor to 'login'. I had a similar request in the past where I needed to monitor a page that is visible only after a user logs in. We were using a cookie to track users' sessions, so we just created a cookie that had an indefinite session length and built a custom HTTP monitor to provide this cookie. The monitor send string would look something like this:
GET /somepage.php HTTP/1.1\r\nHost: mysite.example.com\r\nCookie: user_session_id=\r\nConnection: Close\r\n\r\n
That is assuming that your application is using cookies for user session persistence. If you're doing something else, you might have to get a bit more crafty.
On the email bit, I wouldn't use the LTM to send notifications. I'd look into Nagios, Opsview, Zabbix, etc. There are bunch of great monitoring solutions that do this very well.
Hope this helps,
George
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects