IBM Domino: Collect statistics from a Domino Server using HTTP: Difference between revisions

From Wiki
(Criou nova página com 'We will write to a file the output of domino console command "show stat". After this you can get this file by your monitoring tool. = How it works = Run the following c...')
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 20: Line 20:




 
'''IMPORTANT:
* ''' There is no space After '''>''' and the filename
* Add '''!''' to avoid output to be recorded at log.nsf


= Putting in Production =
= Putting in Production =
Line 49: Line 51:
Command line:
Command line:
|
|
'''-c "Show Stat >/dominodata/domino/html/stats.txt"'''
'''-c "!Show Stat >/dominodata/domino/html/stats.txt"'''
|
|
Run at times:
Run at times:
Line 76: Line 78:
== Ver também ==  
== Ver também ==  


* [[Lotus Domino: Redirecionando Output para um arquivo e executando um shell]]
* [[Lotus Domino: Redirect Console Output to file and run a shell]]





Latest revision as of 13:10, 30 November 2016

We will write to a file the output of domino console command "show stat". After this you can get this file by your monitoring tool.

How it works

Run the following command into Domino console:

Windows:

> Show Stat >C:\IBM\Domino\data\domino\html\stats.txt

Linux/Unix:

> Show Stat >/dominodata/domino/html/stats.txt

The output will be write to stats.txt file.

With a browser, you can get this files with this URL:

http://<servidor_domino>/stats.txt


IMPORTANT:
  • There is no space After > and the filename
  • Add ! to avoid output to be recorded at log.nsf

Putting in Production

Create a Program Document, like :

Basics

-

Schedule

-

Program name:

server

Enabled/disabled:

Enabled

Command line:

-c "!Show Stat >/dominodata/domino/html/stats.txt"

Run at times:

00:00 - 23:59 each day

Server to run on:

notes2/Company

Repeat interval of:

5 minutes

Comments:

Days of week:

Sun, Mon, Tue, Wed, Thu, Fri, Sat


Ver também