README
1NSCA Tests
2==========
3Originally contributed by Ton Voon/Altinity 01/26/2007.
4
5These tests are designed to make sure that the Nagios daemon can start up
6and accept messages by comparing the output in the dummy nagios.cmd file with
7the sent data.
8
9There are 3 tests at the moment:
10
11 * basic - just sends a few passive checks and makes sure that the nagios.cmd file receives them
12
13 * multiple - runs the same as basic, but several times to check the daemon can handle multiple requests
14
15 * simultaneous - runs lots of send_nscas at the same time (well, nearly). Uses Parallel::Forker to setup all the sends then executes them all at once. Expect about 200 extra processes to hit your server!
16
17
18Requirements
19------------
20You will need to have the following CPAN modules installed:
21
22Test::More
23Class::Struct
24Clone
25Parallel::Forker
26
27
28Running the Tests
29-----------------
301. Run the NSCA configure script and compile the NSCA binaries
31
322. Run the tests from this directory by running the following command:
33
34 ./runtests
35
36
37
38
39