Nmap network scan graph

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
captwest
Posts: 2
Joined: Thu Dec 23, 2010 7:10 am

Nmap network scan graph

Post by captwest »

Hi. It's my first graph template. Don't know if it does exist equal solutions on this, But heres mine.

The nmaplist.sh does a ping latency scan on 255 ip's and report back the number of ip's whic have a latency aka "online NIC".



-Captwest
Attachments
graph_image_online_nic.png
graph_image_online_nic.png (31.51 KiB) Viewed 2538 times
Cacti_graph_online_nic.zip
(29.74 KiB) Downloaded 175 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Nmap network scan graph

Post by gandalf »

I'm not aware of any nmap templates right now. Please consider publishing your work, perhaps along with some words, at the 4th link of my sig which points to the official cacti template repository
R.
captwest
Posts: 2
Joined: Thu Dec 23, 2010 7:10 am

Re: Nmap network scan graph

Post by captwest »

Could you explain what i need to share and how. Ain't it all in the attached .zip file?
inc0
Posts: 2
Joined: Wed Jan 12, 2011 9:01 am
Contact:

Re: Nmap network scan graph

Post by inc0 »

If you're only looking for online pcs, IMHO, you can use a bash script that executes ping and doesn't require nmap. Something like this should work just fine:

Code: Select all

#!/bin/bash

is_alive()
{
  ping -W 1 -c 1 $1 > /dev/null
  [ $? -eq 0 ] && let COUNT+=1
}

# MAIN
COUNT=0
for i in 192.168.0.{1..254}
do
        is_alive $i
done
echo $COUNT
Against stupidity the gods themselves contend in vain.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests