PARAgent SNMP - 'ExcludedLogMessagesFilterRegexp' is filtering out relevant warnings and errors
123
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:00 PM
Symptom
Some Warning ITA and PADR Messages are not sent to the SNMP Server although they should be
For Example:
ITATS006E Station is suspended for user <User name>
PADR0034E Cyber-Ark Disaster Recovery is not licensed.
Environment
v7.0;v7.1;v7.2;v7.5;v7.6;v8.0;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6 Privileged Access Manager (PAM, self-hosted) Vault
Cause
The default value for the ExcludedLogMessagesFilterRegexp parameter is:
(ITA|PARE|PADR|CAS).*I
This Regular expression is too general and catches the above messages although they are Errors and warnings and not information and just filters them out (meaning they are not sent to the SNMP Server)
For example:
ITATS006E Station is suspended for user <User name>
ITATS006E Station is suspended for user <User name>
Resolution
We can refine the Regular Expression with a much more optimized, more accurate regular expression:
^\[{0,1}\d{2}\/\d{2}\/\d{4}\s{1,}\d{2}:\d{2}:\d{2}(?:\.\d{0,}\]\s{0,}::\s{0,}|\s{0,})(ITA|PARE|PADR|CAS)[A-Z0-9]{4,5}I\s
This regular expression will filter out only the informational messages from both the ITA log and the PADR log
If you need to Exclude more messages, for example specific Warning or Error messages you can modify the regular expression like this:
^\[{0,1}\d{2}\/\d{2}\/\d{4}\s{1,}\d{2}:\d{2}:\d{2}(?:\.\d{0,}\]\s{0,}::\s{0,}|\s{0,})((ITA|PARE|PADR|CAS)[A-Z0-9]{4,5}I|ITATS528E|ITATS701E|ITAUI407W)\s
Additional Information
Details
SYMPTOM:
Some Warning ITA and PADR Messages are not sent to the SNMP Server although they should be
For Example:
ITATS006E Station is suspended for user <User name>
PADR0034E Cyber-Ark Disaster Recovery is not licensed.
PROBLEM:
The default value for the ExcludedLogMessagesFilterRegexp parameter is:
(ITA|PARE|PADR|CAS).*I
This Regular expression is too general and catches the above messages although they are Errors and warnings and not information and just filters them out (meaning they are not sent to the SNMP Server)
For example:
ITATS006E Station is suspended for user <User name>
ITATS006E Station is suspended for user <User name>
SOLUTION:
We can refine the Regular Expression with a much more optimized, more accurate regular expression:
^\[{0,1}\d{2}\/\d{2}\/\d{4}\s{1,}\d{2}:\d{2}:\d{2}(?:\.\d{0,}\]\s{0,}::\s{0,}|\s{0,})(ITA|PARE|PADR|CAS)[A-Z0-9]{4,5}I\s
This regular expression will filter out only the informational messages from both the ITA log and the PADR log
If you need to Exclude more messages, for example specific Warning or Error messages you can modify the regular expression like this:
^\[{0,1}\d{2}\/\d{2}\/\d{4}\s{1,}\d{2}:\d{2}:\d{2}(?:\.\d{0,}\]\s{0,}::\s{0,}|\s{0,})((ITA|PARE|PADR|CAS)[A-Z0-9]{4,5}I|ITATS528E|ITATS701E|ITAUI407W)\s