Home Internet Mail Server Proxy Server Virus Windows Windows Server

Tuesday, January 24, 2017

How to Get Report Inactive Users on IBM Lotus Notes



  • Edit notes.ini:
Modify the servertasks= line by adding: event, stats, collect
  • With Lotus Notes client, open the Monitoring configuration (events4.nsf) database located on IBM Domino server
Click menu "Create > Event Generators > Database" then Event Generators document should open
  • In basics tab, enter file name "*.nsf" (without quotes), select "all domain or server you want to monitor, mark "Monitor for user inactivity" box
In "User Inactivity" tab mark "Monthly"checkbox and 0 (zero) to "Minimum Sessions" fieldIn "other" tab select "Warning (low)"
In "other" tab select "Warning (low)"
Then "Save & close" Event generator
  • Open just created event generator. It will have "*.nsf" name
In "other" press "Create a new event handler for this event" button. "Event handler wizard" will appear

In "event handler wizard" first page press "Next"

On the second page select "Mail" and press "Next"

On the third page select user that will receive notification mails (I will use "db_administrator" name for this user below)

On fourth page press "next" and "finish" on the fifth
  • Close Event Generator
  • Restart event, stats and collect tasks using console commands
tell event q
tell stats q
tell collect q
load event
load stats
load collect
  • If you check db_administrator mail database you will see messages which subjects contains database names that were not opened by the user during one month
There should be some system databases because usually nobody open them. Please be accurate and not delete system databases

Better to create mail rules in db_administrator mail database to separate really unused databases from system databases. You may create special folders for this rules
It will shown on your mail:

Monthly activity for database - mtdata\mtstore.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - help\lsxlc.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - iNotes\Forms85.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - iNotes\help85_iwa_ar.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - domcfg.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - help\decsdoc.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]
Monthly activity for database - help\lccon.nsf on server servername/AAA/AAA is 0. [MADN-A9FCR6]

Each mail contain

Originating Server: servername/AAA/AAA
Event Severity: Warning (low)
Event Type: DataBase
Event Time: 01/23/2017 10:24:20 PM

0 comments:

Post a Comment

Home Photography
Copyright © 2017 Xiu's Blog | All Rights Reserved.