* TCP and UDP (Generic)

chkNmapScanCustom.pl

Description:

A plugin to parse data returned from a nmap scan

Current Version

0.0.4

Last Release Date

2015-03-06

Compatible With

  • Nagios 3.x

License

GPL


Project Files
Project Notes
USAGE EXAMPLES: Alowed ports are NULL: script -n /usr/bin/nmap -i 192.168.1.1 -p e More regular usage (allowed port is SSH: 22 and HTTP: 445): script -n /usr/bin/nmap -i 192.168.1.1 -p 22,445 Add custom parameters (allowed port is SSH: 22 and HTTP: 445) and exclude ports 40000-45000 from scanning: script -n /usr/bin/nmap -i 192.168.1.1 -p 22,445 -c '--exclude-ports 40000-45000'
Reviews (1) Add a Review
Suggestion
by lmiltchev, September 30, 2022
It worked as expected. The output looks a bit weird though. I would suggest that you add a blank line at the end of it.

Maybe add:

print "
";

to line 103 and 140?

Thanks!
Helpful? Yes  No 
Project Stats
Rating
5 (1)
Favorites
0
Views
9,986