8 |
# e.g. sap.monitor -s 20 will scan only hosts with sysnr == 20 |
# e.g. sap.monitor -s 20 will scan only hosts with sysnr == 20 |
9 |
# sap.monitor -S 20 will scan only hosts with sysnr != 20 |
# sap.monitor -S 20 will scan only hosts with sysnr != 20 |
10 |
|
|
11 |
|
# configuration file in /usr/local/etc/sap-mon.conf describes which |
12 |
|
# hosts (ashost) and systems (sysnr) you want to check. |
13 |
|
# |
14 |
|
# format of line is: |
15 |
|
# |
16 |
|
# ashost [tab|space] sysnr # optional comment |
17 |
|
# |
18 |
|
# you can spacify host as hostname (sap01) or with sap routers in-between |
19 |
|
# to test routers too (/H/saprtr/H/sap01) |
20 |
|
|
21 |
use strict; |
use strict; |
22 |
use Getopt::Std; |
use Getopt::Std; |
23 |
|
|