IBM Support

ITM Agent Insights: Tivoli Log File Agent (KLO) fails to locate the source files

Technical Blog Post


Abstract

ITM Agent Insights: Tivoli Log File Agent (KLO) fails to locate the source files

Body

Tivoli Log File Agent fails to locate the source file and displays following entries under the "Data Collection Status" workspace.
File Type = UNKNOWN
File Status = FILE DOES NOT EXIST


NOTE: This error typically occurs on Windows servers.

 

image

KLO instance log shows the following messages at ERROR trace level:

Example: <hostname>_lo_<instance>_kloagent_<timestamp>-1.log

(531E2AA0.0019-C08:kumpfile.c,84,"KUMP_FileServer") >>>>> DP file server ThreadID C08 started for pipe  \\.\pipe\KLO_KLO_PRU_LogfileEvents_evl(Application)

(531E2AA2.0000-F0C:kumpwfrm.c,288,"KUMP_WaitFileReadyForMonitor") local file  C:/Tivoli/tivoli.log does not exist. Monitoring delayed for application <LO_KLO_PRU> attribute group <LogfileEvents>, waiting for file creation...

(531E2AA2.0001-CB4:kumpwfrm.c,288,"KUMP_WaitFileReadyForMonitor") local file  C:/TEMP/saurab.txt does not exist. Monitoring delayed for application <LO_KLO_PRU> attribute group <LogfileEvents>, waiting for file creation...

 

The root cause of this issue is the incorrect file extension on the source files.

 

Example: 

C:/Tivoli/tivoli.log.txt 

C:/TEMP/saurab.txt.txt

 

1) On Windows, make sure the following option is UNCHECKED "Tools > Folder Options > (View) > Hide extensions for known file types"

 

2) By default the above option is checked on Windows servers. If a source file is named as <filename>.txt the extension gets saved as <filename>.txt.txt

This is visible if the "Hide extensions for known file types" is unchecked.

 

Saving the source file with the correct extension will resolve the issue. Once this is in effect the source files are monitored for exceptions. "Data Collection Status" workspace displays the following entries. 

File Type = REGULAR FILE
File Status = OK

 

image

 

Additional ITM Agent Insights series of IBM Tivoli Monitoring Agent blogs are indexed under ITM Agent Insights: Introduction.

 

Tutorials Point

Subscribe and follow us for all the latest information directly on your social feeds:

 

imageimageimage

Check out all our other posts and updates:

Academy Blogs
Academy Videos
Academy Google+
Academy Twitter

image

 

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

UID

ibm11084815