Is it possible to stop monitoring / exclude a particular Java Request Type so that it does not send alarms?
Subject: ORMI: MBeanServerEjb_RemoteProxy_XXX.ping(): Request Response Time Trend Normal
Message: The trend of the response time for the request "ORMI: MBeanServerEjb_RemoteProxy_XXX.ping()" on Process "YYYY" is normal.
The rule is "Request Execution Time Trend"
For JavaEE cartridge version 5.9.x:
Request filtering configuration can be modify in Nexus Recording settings. The Nexus Recording settings can be located in the Foglight Management Server (FMS) Console: Application Servers | Administration | Application Servers Administration | Nexus Administration | Recording Settings tab.
Example
Single Request: exclude /medrec/loginPatient.action
RegEx can also be used to exclude a set of requests.
The FilteringRules section should look like:
1. exclude \.(gif|GIF|Gif)$ REGEX
2. exclude \.(jpg|jpeg|JPG|JPEG|Jpg|Jpeg)$ REGEX
3. exclude \.(png|PNG|Png)$ REGEX
4. exclude \.(css|CSS|Css)$ REGEX
5. exclude \.(js|JS|Js)$ REGEX
6. exclude \.(ico|ICO|Ico)$ REGEX
7. exclude /medrec/loginPatient.action
8. include ^(GET|POST|DELETE|HEAD|OPTIONS|PUT|TRACE) REGEX
9. exclude :: REGEX
Note: Changes take effect immediately.
For JavaEE cartridge version Pre-5.9.x:
Requests filtering is possible in JavaEE cartridge, the details can be found under the "Filtering Rules" section in the recording.config file.
In this section it is possible to exclude certain Requests. Excluding this request would mean that no *new* data will be gathered for that particular request.
The recording.config file can be located in the FMS Console: Administration | Agents | Agent Properties | JavaEE-Cartridge. There are a few examples given in the config file that would help set the request to false.
Example
/ORMI: MBeanServerEjb_RemoteProxy_XXX.ping()/ : false
RegEx can also be used to exclude a set of requests.
[1] Please note that any modifications to the FilteringRules Section should be made before the last two lines in that section. i.e all modifications should be put in before the following lines
/^(GET|POST|DELETE|HEAD|OPTIONS|PUT|TRACE)/ : true,
/:/ : true,
[2] The FilteringRules section should look like:
FilteringRules = {
/\.(gif|GIF|Gif)$/ : false,
/\.(jpg|jpeg|JPG|JPEG|Jpg|Jpeg)$/ : false,
/\.(png|PNG|Png)$/ : false,
/\.(css|CSS|Css)$/ : false,
/\.(js|JS|Js)$/ : false,
/\.(ico|ICO|Ico)$/ : false,
/ORMI: MBeanServerEjb_RemoteProxy_XXX.ping()/ : false,
/^(GET|POST|DELETE|HEAD|OPTIONS|PUT|TRACE)/ : true,
/:/ : true,
};
[3] After making the change, save the config file and also ensure that no errors are seen in the logs.
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy