This repository has been archived by the owner on Aug 31, 2019. It is now read-only.
/
nmap.cfg
320 lines (270 loc) · 6.86 KB
/
nmap.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
###############################################################################################
# hosts.cfg file for Nagios v?.?.? generated by nmap2nagios.pl
#
# nmap2nagios information:
# Version: v0.1.2
# Args: nmap2nagios.pl -v -r nmap.xml -o newcfg
# Generated: 11/30/2003 19:58:01
#
# nmap information:
# Version: 3.48
# Args: nmap -sS -O -oX nmap.xml kirby pixie lugh culain dslrouter
#
# Duration: 00:03:19
# Start: 11/30/2003 19:35:13
# Finish: 11/30/2003 19:38:32
#
# Hosts: 5
# Up: 5
# Down: 0
#
###############################################################################################
# templates
define host{
name generic-host
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
check_command check-host-alive
max_check_attempts 10
checks_enabled 1
notification_interval 1800
notification_period 24x7
notification_options d,u,r
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
register 0
}
define service{
name generic-service
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
check_period 24x7
notification_interval 1800
notification_period 24x7
notification_options c,r
contact_groups admin
register 0
}
#
# Begin HostGroup 'Linux Servers' (linux)
#
define hostgroup {
hostgroup_name linux
alias Linux Servers
contact_groups admin
members culain.madstop.com
}
# culain.madstop.com - Linux Kernel 2.4.0 - 2.5.20
define host {
use generic-host
host_name culain.madstop.com
alias culain
address 192.168.0.3
}
define service {
use generic-service
host_name culain.madstop.com
service_description SSH
check_command check_ssh
}
#
# End HostGroup 'Linux Servers' (linux)
#
#
# Begin HostGroup 'Solaris Servers' (solaris)
#
define hostgroup {
hostgroup_name solaris
alias Solaris Servers
contact_groups admin
members kirby.madstop.com,lugh.madstop.com,pixie
}
# kirby.madstop.com - Sun Solaris 8 early access beta through actual release
define host {
use generic-host
host_name kirby.madstop.com
alias kirby
address 192.168.0.5
}
define service {
use generic-service
host_name kirby.madstop.com
service_description FTP
check_command check_ftp
}
define service {
use generic-service
host_name kirby.madstop.com
service_description SSH
check_command check_ssh
}
define service {
use generic-service
host_name kirby.madstop.com
service_description DNS
check_command check_dns
}
define service {
use generic-service
host_name kirby.madstop.com
service_description ldap-tcp-389
check_command check_ldap
}
define service {
use generic-service
host_name kirby.madstop.com
service_description nfs-tcp-2049
check_command check_tcp!2049
}
define service {
use generic-service
host_name kirby.madstop.com
service_description lockd-tcp-4045
check_command check_tcp!4045
}
define service {
use generic-service
host_name kirby.madstop.com
service_description cfengine-tcp-5308
check_command check_tcp!5308
}
# lugh.madstop.com - Sun Solaris 8 early access beta through actual release
define host {
use generic-host
host_name lugh.madstop.com
alias lugh
address 192.168.0.1
}
define service {
use generic-service
host_name lugh.madstop.com
service_description SSH
check_command check_ssh
}
# pixie - Sun Solaris 8 early access beta through actual release
define host {
use generic-host
host_name pixie
alias pixie
address 192.168.0.9
}
define service {
use generic-service
host_name pixie
service_description SSH
check_command check_ssh
}
define service {
use generic-service
host_name pixie
service_description SMTP
check_command check_smtp
}
define service {
use generic-service
host_name pixie
service_description HTTP
check_command check_http
}
define service {
use generic-service
host_name pixie
service_description https-tcp-443
check_command check_tcp!443
}
define service {
use generic-service
host_name pixie
service_description imaps-tcp-993
check_command check_tcp!993
}
#
# End HostGroup 'Solaris Servers' (solaris)
#
#
# Begin HostGroup 'Default' (default)
#
define hostgroup {
hostgroup_name default
alias Default
contact_groups admin
members dsl093-249-001.chi3.dsl.speakeasy.net,airport,printer
}
# dsl093-249-001.chi3.dsl.speakeasy.net - Redback SMS500 Redback Networks router AOS Release 5.0.4.0
define host {
use generic-host
host_name dsl093-249-001.chi3.dsl.speakeasy.net
alias dslrouter
address 66.93.249.1
}
define service {
use generic-service
host_name dsl093-249-001.chi3.dsl.speakeasy.net
service_description PING
check_command check_ping
}
# airport
define host {
use generic-host
host_name airport
alias airport
address 192.168.1.2
}
define service {
use generic-service
host_name airport
service_description PING
check_command check_ping
}
#
# printer
define host {
use generic-host
host_name printer
alias printer
address 192.168.0.6
}
define service {
use generic-service
host_name printer
service_description PING
check_command check_ping
}
define service {
use generic-service
host_name printer
service_description HTTP
check_command check_http
}
define service {
use generic-service
host_name printer
service_description https-tcp-280
check_command check_tcp!280
}
define service {
use generic-service
host_name printer
service_description https-tcp-631
check_command check_tcp!631
}
#
# End HostGroup 'Default' (default)
#