IBM Domino: Collect statistics from a Domino Server using HTTP
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