Moved testing and example files to testing-folder
This commit is contained in:
0
testing/dummy_checks/check_domain
Normal file
0
testing/dummy_checks/check_domain
Normal file
0
testing/dummy_checks/check_ftp
Normal file
0
testing/dummy_checks/check_ftp
Normal file
0
testing/dummy_checks/check_http
Normal file
0
testing/dummy_checks/check_http
Normal file
0
testing/dummy_checks/check_ssh
Normal file
0
testing/dummy_checks/check_ssh
Normal file
15
testing/sample.cfg
Normal file
15
testing/sample.cfg
Normal file
@@ -0,0 +1,15 @@
|
||||
define host {
|
||||
host_name labrat.example.com
|
||||
alias labrat
|
||||
address 192.168.0.27
|
||||
use generic-host
|
||||
}
|
||||
|
||||
define service {
|
||||
|
||||
use generic-service
|
||||
host_name labrat.example.com
|
||||
service_description HTTP
|
||||
check_command check_http
|
||||
}
|
||||
|
12
testing/sampleoutput.txt
Normal file
12
testing/sampleoutput.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
Starting Nmap 6.00 ( http://nmap.org ) at 2013-12-31 19:47 CET
|
||||
Nmap scan report for labrat.nixnet.jke (192.168.0.27)
|
||||
Host is up (0.026s latency).
|
||||
Not shown: 996 closed ports
|
||||
PORT STATE SERVICE
|
||||
22/tcp open ssh
|
||||
80/tcp open http
|
||||
111/tcp open rpcbind
|
||||
514/tcp open shell
|
||||
|
||||
Nmap done: 1 IP address (1 host up) scanned in 1.76 seconds
|
21
testing/testconf.cfg
Normal file
21
testing/testconf.cfg
Normal file
@@ -0,0 +1,21 @@
|
||||
define host {
|
||||
host_name labrat.nixnet.jke
|
||||
alias labrat
|
||||
ddress 192.168.0.27
|
||||
use generic-host
|
||||
}
|
||||
|
||||
define service {
|
||||
use generic-service
|
||||
host_name labrat.nixnet.jke
|
||||
service_description ssh
|
||||
check_command check_ssh
|
||||
}
|
||||
|
||||
define service {
|
||||
use generic-service
|
||||
host_name labrat.nixnet.jke
|
||||
service_description http
|
||||
check_command check_http
|
||||
}
|
||||
|
Reference in New Issue
Block a user