Previous Topic: MAPI TestsNext Topic: NNTP Tests


NIS/NIS+ Tests

The NIS/NIS+ test monitors the amount of time required to log into the specified NIS or NIS+ server and request a specific map file. You can also choose to download the map file.

Options and Arguments

NIS/NIS+ tests require the following specific options and arguments:

Specify these options and arguments when you create or modify tests.

Example

Use this example to create a test that downloads the hosts map file from the Test domain at nisserver.yourdomain once every 300 seconds. The test waits up to 20 seconds for a successful response and calculates response time and availability statistics over the last 7200 seconds (2 hours).

To create a new test in a policy

  1. Click + (New) on the Test Monitors toolbar.

    The New test pane appears.

  2. From the Test Type list, select NIS.
  3. In the Description field, specify NIS_Test.
  4. In the Test Name field, specify NIS-Test.
  5. In the Test Interval field, specify 300.
  6. In the Test Timeout field, specify 20.
  7. In the Samples Per Interval field, specify 1.
  8. In the Statistics Window field, specify 7200.
  9. In the NIS Domain field, enter Test.com.
  10. In the NIS Server field, enter nisserver.yourdomain.com.
  11. In the NIS Map field, accept the default of hosts.
  12. In the Download NIS Map? field, select Yes.
  13. Accept defaults for all other fields.
  14. Click Save Test.

When you commit your changes, SRM adds an entry similar to the following to the svcrsp.cf file:

{ 
index=63 
type=nis
desc="NIS-Test" 
dest="nisserver.yourdomain" 
args="domain=Test.com&map=hosts&download=true" 
interval=300 
samples=1 
timeout=20 
window=7200 
tos=0 
limit=0 
status=active 
name="NIS-Test"
class=""
context=""
flags="1"
loglevel=1
}

For information about errors you may encounter when running NIS or NIS+ tests, see NIS Test Error Codes.