Previous Topic: NIS/NIS+ TestsNext Topic: Ping Tests


NNTP Tests

The NNTP test monitors the amount of time required to connect to an NNTP server and perform a simple transaction.

Options and Arguments

NNTP 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 monitors the amount of time required to connect to the NNTP service at new.yourdomain and to perform a simple transaction. This example tests the server once every 3600 seconds (1 hour) and waits up to 10 seconds for a successful response. It calculates response time and availability statistics over the last 86400 seconds (1 day).

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 NNTP.
  3. In the Description field, specify NewsTest.
  4. In the Test Name field, specify News Test.
  5. In the Test Interval field, specify 3600.
  6. In the Test Timeout field, specify 10.
  7. In the Samples Per Interval field, specify 1.
  8. In the Statistics Window field, specify 86400.
  9. In the NNTP Server field, specify news.yourdomain.com.
  10. In the NNTP Port field, accept the default port of 119.
  11. Accept defaults for all other fields.
  12. Click Save Test.

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

{ 
index=41 
type=nntp
desc="NewsTest" 
dest="news.yourdomain.com" 
args=" " 
interval=3600 
samples=1 
timeout=10 
window=86400 
tos=0 
limit=0 
status=active 
name="News Test"
class=""
context=""
flags="1"
loglevel=1
}

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