Adding hosts to new installation

Assaf Flatto assaf.flatto at ssp-intl.com
Tue Mar 10 17:04:24 CET 2009


There is a utility that is accompanying nagios called nmap2nagios

http://nagioswiki.com/wiki/index.php/Autocreating_Nagios_Configuration_with_Nmap_and_Nmap2Nagios.pl

http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1606.html;d=1

try that and it might help you .

Assaf

On Monday 09 March 2009 17:34:50 Victor Lee wrote:
> Assaf
>
> Thanks, I did do that. I was able to add more hosts by editing the
> switch.cfg file. It seems less than intuitive and certainly not a good way
> to populate the network if there are many devices. I have 200+ switches and
> even more servers. I was hoping there would be a more efficient manner
> inwhich Nagios would be told what to monitor.
>
> Thanks
> Victor
>
> On Mon, Mar 9, 2009 at 12:50 PM, Assaf Flatto <assaf.flatto at ssp-intl.com>wrote:
> > Hello
> >
> > you might want to take a look here
> > http://nagios.sourceforge.net/docs/3_0/config.html
> >
> > read the way nagios is configured and you'll understand how to add hosts
> > and services.
> >
> > Assaf
> >
> > On Monday 09 March 2009 16:33:53 Victor Lee wrote:
> > > I'm pretty new at this. I just installed Nagios 3.X on Ubuntu 8.10. I
> >
> > have
> >
> > > my first host (Cisco 6509) being polled. The quick start guide worked
> >
> > fine
> >
> > > and I followed the instructions on monitoring routers and switches.
> >
> > However
> >
> > > how do I get Nagios to monitor other switches? Do I just keep adding
> >
> > lines
> >
> > > to the switch.cfg template?
> >
> > --
> > Assaf Flatto
> > SSP Ops Team
> > Linux System Administrator
> > 169 Euston Road, London, NW1 2AE
> >
> >
> >
> >
> >
> > IMPORTANT . this email and the information in it may be confidential,
> > legally
> > privileged and/or protected by law. It is intended solely for the use of
> > the
> > person to whom it is addressed. If you are not the intended recipient,
> > please
> > notify the sender immediately and do not disclose the contents to any
> > other person, use it for any purpose, or store or copy the information in
> > any medium.
> > Please also delete all copies of this email and any attachments from your
> > system.
> >
> > We cannot guarantee the security or confidentiality of email
> > communications. We
> > do not accept any liability for losses or damages that you may suffer as
> > a result of your receipt of this email including but not limited to
> > computer service or system failure, access delays or interruption, data
> > non-delivery or
> > mis-delivery, computer viruses or other harmful components.
> >
> > Copyright in this email and any attachments belong to Select Service
> > Partner UK
> > Limited. Should you communicate with anyone at Select Service Partner UK
> > Limited by
> > email, you consent to us monitoring and reading any such correspondence.
> >
> > Nothing in this email shall be taken or read as suggesting, proposing or
> > relating to any agreement concerted practice or other practice that could
> > infringe UK or EC competition legislation.
> >
> > Select Service Partner UK Limited is a company registered in England and
> > Wales
> > (company number 05687183) whose registered office is at 1 The Heights,
> > Brooklands, Weybridge. Surrey. KT13 0NY
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> >----- Open Source Business Conference (OSBC), March 24-25, 2009, San
> > Francisco, CA
> > -OSBC tackles the biggest issue in open source: Open Sourcing the
> > Enterprise
> > -Strategies to boost innovation and cut costs with open source
> > participation
> > -Receive a $600 discount off the registration fee with the source code:
> > SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> > _______________________________________________
> > 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



-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------------
_______________________________________________
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