hobbsh / icinga2-autod

Basic auto discovery for Icinga2
GNU General Public License v2.0
25 stars 9 forks source link

Nmap #2

Closed c4ndies closed 8 years ago

c4ndies commented 8 years ago

new version of nmap seems to not be compatible with you script. Which latest version of nmap do you use? Thanks

hobbsh commented 8 years ago

Can you please post some debug output? Thanks

hobbsh commented 8 years ago

What is the output of nmap --version?

Also, what is the output of the script run with -d True (debug)

hobbsh commented 8 years ago

I realize there's probably a language barrier but if you want help can you please fully understand my questions/requests and post the appropriate output? Thank you.

Je me rends compte qu'il ya probablement une barrière de la langue , mais si vous voulez de l'aide pouvez-vous s'il vous plaît comprendre mes questions / demandes et après la sortie appropriée ?

c4ndies commented 8 years ago

Ok, I've just realised that I was sending you screenshots of outputs via email when answering to your requests but it doesn't appears on git... capture

hobbsh commented 8 years ago

No problem, sorry for the misunderstanding. Thanks for posting your output. You need to use CIDR notation when specifying the network to scan. So your command should be:

./icinga-autod.py -n 192.168.1.0/24

c4ndies commented 8 years ago

Thanks for the fast answer! I was putting a spacebar between ip address and mask... Sorry for wasting your time.

hobbsh commented 8 years ago

Happy to help and glad you have a use for icinga-autod! Thanks for using it!