• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-Jul-2007-

var/H03-Jul-2007-43

NSCATest.pmH A D30-Jan-20071.8 KiB9362

READMEH A D30-Jan-20071 KiB3922

basic.tH A D30-Jan-20071 KiB4122

multiple.tH A D30-Jan-2007893 5127

nsca_basic.cfgH A D30-Jan-20075.2 KiB191136

runtestsH A D30-Jan-200722 51

send_basic.cfgH A D30-Jan-20071.6 KiB6355

simultaneous.tH A D30-Jan-20071.9 KiB7546

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