logmon probe keep restarting with appfault

Document ID : KB000097216
Last Modified Date : 21/05/2018
Show Technical Document Details
Issue:
After adding the below profile and logmon probe keep restarting with crash - appfault.

<test01> 
     active = yes
     scanfile = nslookup %COMPUTERNAME%
     scanmode = command

Faulting application name: logmon.exe, version: 0.0.0.0, time stamp: 0x5a7853c6
Faulting module name: MSVCR90.dll, version: 9.0.30729.6161, time stamp: 0x4dace4e7
Exception code: 0xc0000417
Fault offset: 0x00000000000552d4

 
Environment:
logmon 3.92 on Windows Robot
Hub and Robot 7.93 
Cause:
In logmon probe string starting with % is reserved as time formatting primitives.

https://docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/alphabetical-probe-articles/logmon-log-monitoring/logmon-im-configuration/logmon-advanced-im-configuration#logmonAdvancedIMConfiguration-UseTimeFormattingPrimitives


 
Resolution:
If you want to use Windows environmental variable, you need to specify as follows.

<test01> 
     active = yes
     scanfile = nslookup %%COMPUTERNAME%%
     scanmode = command

https://docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/alphabetical-probe-articles/logmon-log-monitoring/logmon-im-configuration/logmon-advanced-im-configuration#logmonAdvancedIMConfiguration-UseTimeFormattingPrimitives
 
%%The percent signA literal '%' character