Forum Discussion
geoffrey_112372
Nimbostratus
Dec 13, 2008How can I monitor CPU,HTTP,SQL request on a node?
Hi,
I'm looking for a way to monitor CPU, HTTP, FTP ,SQL requests on a node or a specific pool member and get extended informations like response time, success or fail, CPU usage, SQL s...
Tomasz_Radzisze
Nimbostratus
Jun 12, 2007I found out that it works after changing collect to unspecified length and adding TCP::release. Now the iRule looks as follows
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
if { [TCP::payload] contains "x" } {
TCP::release
log local0.debug "Calling notify request"
TCP::notify request
log local0.debug "Called notify request"
}
}
when USER_REQUEST {
log local0.debug "User request triggered"
}
Is this correct behaviour that USER_REQUEST doesn't work in my previous example?
- Erik_NovakFeb 02, 2021
Employee
You might be able to create an allowed URL exception in the policy for uploaded JSON content by creating an allowed URL and then not inspecting body content. Try this:
- Go to Security ›› Application Security : URLs : Allowed URLs : Allowed HTTP URLs and create/add the URL that is associated with the uploaded JSON data. This is will be your allowed URL.
- Change the view to Advanced, then uncheck the Staging checkbox.
- Click Header-Based Content Profile
- Request Header Name: Content-Type
- Request Header Value: json/text--the value appropriate for your app
- Request body handling: Do nothing.
Does that help?