search cancel

What is the function of "runprofile" callback in Logmon probe?

book

Article ID: 215578

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

This article provides some details about the "runprofile" callback, present in Logmon probe.

Environment

Component : UIM LOGMON

Resolution

The "runprofile" callback, that is part of Logmon probe, is responsible for testing of a profile, to get the number of matches in a particular profile and watcher.

Running this callback will not publish any QoS/Alarm. 

You can simply try running this "runprofile" callback from the probe utility also. It simply returns the number of times a particular text is found in the log file or text.  

Like for example, In the below profile count of occurrence of text "cryptkey" is 1 in robot.cfg file:

 

Attachments