APM

How to Create Event Alert for Missing File Using Monitored Logs Feature in APM 831

By Kristen Meren posted Tue October 15, 2019 02:22 AM

  

by Gregor Kovacic

Since IBM monitoring 8 is new to all of as I decided to create blog how to In this blog I will show how to create Situation using Threshold manager for Missing file using Monitored Logs feature.

To create instance I used simple conf file with only LogSources=

 

To create Situation open APM console and navigate to Threshold Manager where you click on + icon:

image

After that you will directed to Threshold Editor. In this blog I created situation with Name FileMissing, Severity Critical, Interval 1min.Under Data set select Klz Log File Status which will below let you choose available attributes for this Data set:

image

 

To create condition which will create Event when file is missing click on + sing as shown below screen capture:

image

New window will open where you create needed condition. In my case File_Status=FILE_DOES_NOT_EXIST:

image

 

Assign Situation to your Linux systems and confirm settings with button Save:

image

 

When above steps are done and confirmed with Save button situation is started. I have navigated to Monitored logs Dashboard where can be seen that File Status = OK

image

 

I have moved my test.log to another location so agent could not find this file and more. After sampling interval I received following alerts in my Dashboard:

Screen Capture1:

image

 

Screen Capture2:

image

 

Screen Capture3:

image

Hope this blog is helpful to get basic picture how to create Situations using IBM Monitoring 8.

 

0 comments
2 views

Permalink