Monitoring and detecting new connecting deviced to th network

Posted on 2011-02-23
Last Modified: 2012-05-11
hi guys
i am looking for an application that detect any new devices connecting to my network and alert me with a popup message or an email
many thanks
Question by:Engamt
  • 3
  • 2

Assisted Solution

BasementCat earned 150 total points
ID: 34967230
If you have a linux machine handy or some other unix-like OS around, you can do a quick and dirty cron job using nmap:
nmap -sP |grep "^Nmap scan report for" >devices1 && diff devices0 devices1 |grep "^>" && rm devices0 && mv devices1 devices0

Open in new window

cron can automatically email you when a command produces output, so in this case you would get a list of all new devices on the network that respond to an ICMP ping.

There probably is better software to do this, but this should work in a pinch

Assisted Solution

Rick_at_ptscinti earned 350 total points
ID: 34967333
depending the size of the network and how tightly you want to control it, you could simply restrict access by MAC address authentication on the network switches.

Author Comment

ID: 34978704
MR.BasementCat and MR.Rick_at_ptscinti's
thanks for your reply
i dont have linux or unix machine in my network but i can have VM in my network but hte problem is that i am not femilior with OSs other than Windows  and i need to know more about this command and how to use it in linux machine
about my network i have about 50 pcs and i dont have managed switshes and i want an application to notifiy me when a computer or mobile is connected to my network
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.


Accepted Solution

Rick_at_ptscinti earned 350 total points
ID: 34979633
You can do that with a script like BasementCat recommended or with monitoring software....The issue you are going to have is that unless your environment is extremely static (no laptops and people don't turn off their PCs) you will get so many alerts that your will won't have the time to investigate each and determine if it is a rogue machine, or just some restarting their device.

You can build as much logic into the script as you needed and reach your goal, but I just think you would be better off to buy some managed switches and be done.  (if security is truly that important then the customer will spend the money)

It's always a balancing act when it comes to asking people to spend money, but I look at it like this.  If it going to cost me more money (because of my time) than it's going to save the company then it's time to spend the money.

Author Comment

ID: 35034847
i found the solution by using Network Magic , thanks every one for your help

Author Comment

ID: 35034849
i found the solution by using Network Magic , thanks every one for your help

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question