Last Updated:

Daily alerts from log.nsf based on keywords

HCL Domino

I, once, used GSX Monitor. Before it was killed by Martello.

I did like to receive daily alerts based on some keywords we choose.

As it is deprecated, and based on licensed code, I have made a short script to mimic the functionality.

Because I can, and because I can play with Domino Restyle for the fun.


Step one: Install HCL Designer + Notes 14.5

Why? To use the new functionality of Domino RESTYLE who allow you to create the basic structure of a Notes Database.

https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0121294 

The new HCL Notes Client allows you as well to search easily a HCL Notes Database who appears hilighted (replacing my own OpenNTF plugin made for this purpose).

 

Step 2: Create a basic HCL Notes database with Domino RESTYLE

https://help.hcl-software.com/notes/14.5.0/client/restyle_custom_application_builder.html 

Select theme: Choose the UI

Define Data: Enter Data about the basic form using the wizard or a CSV

Create IconConfiguracion

Result

 

Step 3: Create a schedule lotuscript agent calling a JAVA agent

It will go into the Events view, and for each Events document, search the ( list of ) string (given by the Configuration document) and add it to the global report.

I add keywords to avoid within the match.
I catch a configurable number line of log to retrieve before and after the match.

A link to the Notes documentis included.

The report can be mailed to the IT Team.

And -because I can- the search can be done on any HCL Database, Any view, Any form, for any list of keywords.

It works with as many configuration documents as we want, and we can run the reports on demand.

The report runs on the current server for the database based on that server.
The configuration itself accepts either a list of servers (used with replicas) or any server using the * character.