auto-detecting of new hosts, routers etc...

Tedman Eng teng at dataway.com
Tue Oct 24 22:52:34 CEST 2006


There's a wrapper for nmap which diff's successive network scans.
http://pbnj.sourceforge.net/

Perhaps turning this into a nagios plugin would be a useful solution what's
being discussed here.


> -----Original Message-----
> From: Matthew Joyce [mailto:MJoyce at ccia.unsw.edu.au]
> Sent: Monday, October 23, 2006 3:34 PM
> To: Curt Shaffer; Nagios Users mailinglist
> Subject: Re: [Nagios-users] auto-detecting of new hosts, 
> routers etc...
> 
> 
> 
> One way would be to define the entire IP range as hosts and 
> have a check
> which checks they are not responding (unless they are authorised
> devices)
> If a new device come on the lan, this check would fail and send an
> alert.
> 
> If you're not comfortable having the existing config altered by a
> script, why not have nagios scan a folder for CFGs.
> A script could add/alter individual CFGs (archive older versins), and
> send you the result of a `nagios -v`, ready for you to bounce the
> service.
> 
> 
> Matthew Joyce
> 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute
> Australia for Medical Research
> 
> 
>  
> 
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net 
> > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> > Of Curt Shaffer
> > Sent: Sunday, 22 October 2006 5:01 AM
> > To: Nagios Users mailinglist
> > Subject: Re: [Nagios-users] auto-detecting of new hosts, 
> > routers etc...
> > 
> > On Sat, 2006-10-21 at 18:19 +0200, Hugo van der Kooij wrote:
> > > On Sat, 21 Oct 2006, root root wrote:
> > > 
> > > > Can Nagios gather information from my network 
> > automatically in order 
> > > > to add it to hosts.cfg file by itself, not by nagios 
> > administrator?
> > > 
> > > No. There are tools to detect hosts and write updated 
> > config files out 
> > > there.
> > > 
> > > But someone installed equipment in your network and it must have 
> > > passed a couple of checks before you installed it. Right? 
> > Then what is 
> > > the problem of adding it to your config as part of these checks?
> > > 
> > > If someone installed something in your network without your 
> > knowledge 
> > > then why do you need to monitor it?
> > > 
> > > The only automatic tool I would use is one that triggers an 
> > alert if a 
> > > new device was added to the network. So you can go on a 
> search and 
> > > destroy mission.
> > > 
> > > Hugo.
> > > 
> > 
> > I have used nmap to Nagios with some success. I have been 
> > thinking about how to automate this but I keep seeing 
> > potential issues like rogue devices or adding services that I 
> > don't care to monitor. Plus I just don't like the idea of a 
> > program overwriting my configs without my concent when it 
> > comes to this. I'm looking at modifying how it works to be a 
> > bit more functional for this need. One thing that a lot of 
> > new monitoring systems have is auto discovery and I think it 
> > will be a good addition to Nagios to keep it as one of the 
> > best. It may work fine for you so give it a look.
> > 
> > http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netn
> > agext_pi1[p_view]=147&tx_netnagext_pi1[page]=10%3A10
> > 
> > HTH
> > 
> > Curt
> > 
> > 
> > --------------------------------------------------------------
> > -----------
> > Using Tomcat but need to do more? Need to support web 
> > services, security?
> > Get stuff done quickly with pre-integrated technology to make 
> > your job easier Download IBM WebSphere Application Server 
> > v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
> > dat=121642
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS 
> > when reporting any issue. 
> > ::: Messages without supporting info will risk being sent 
> to /dev/null
> > 
> 
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list