So its running how I like it
Paul Weaver
paul.weaver at bbc.co.uk
Wed Feb 18 15:51:06 CET 2009
We use an ubuntu based PXE builder, but the same principle. We've
deployed half a dozen nagios instances so far, another dozen to do by
the end of the year.
The config is stored in subversion, installing nagios hasn't been
streamlined, as to be honest we rarely need to install from scratch.
(standard ubuntu-server build, with a few additions like ssh and snmpd)
apt-get install subversion apache2 expect libbit-vector-perl
libcalendar-simple-perl libcarp-clan-perl libconfig-inihash-perl
libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl
libdigest-hmac-perl libdigest-sha1-perl libgd-gd2-perl
libgraphics-magick-perl libhash-case-perl libhash-withdefaults-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
libio-stringy-perl liblocale-gettext-perl libnagios-object-perl
libnet-daemon-perl libnet-dns-perl libnet-ip-perl
libnet-ping-external-perl libnet-snmp-perl libnet-socks-perl
libnet-telnet-perl libnumber-format-perl libpcre3 libperl5.8
libplrpc-perl librpc-xml-perl librrds-perl libterm-readkey-perl
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
libtimedate-perl liburi-perl libwww-mechanize-perl libwww-perl
libxml-libxml-common-perl libxml-libxml-perl
libxml-namespacesupport-perl libxml-parser-perl libxml-sax-perl
libxml-simple-perl sqsh
su -
cd /
wget --user=username --password=pass
http://svn/config/nagios/nagios-base.tar.gz
tar -zxvf nagios-base.tar.gz
rm nagios-base.tar.gz
cd /usr/local/nagios
svn --username username --password username co
http://svn/config/nagios/libexec
svn co http://svn/config/bristol etc
addgroup --system nagios
adduser --system --home /usr/local/nagios --shell /bin/false
--no-create-home nagios
usermod -a -G nagios npf
usermod -a -G nagios www-data
chown -R nagios:nagios /usr/local/nagios
chmod -R g+rwX /usr/local/nagios
ln /usr/local/nagios/etc/apacheconfig
/etc/apache2/sites-available/nagios
ln /usr/local/nagios/etc/init.d.nagios /etc/init.d/nagios
ln -s /etc/apache2/sites-available/nagios /etc/apache2/sites-enabled/
ln -s /usr/lib/libgd.so.2.0.0 /usr/lib/libgd.so.1
/etc/init.d/apache2 reload
update-rc.d nagios defaults
cd /usr/local/nagios/var
> comments.dat
> downtime.dat
> nagios.log
> objects.cache
> retention.dat
> status.dat
--
Paul Weaver
Systems Development Engineer
News Production Facilities, BBC News
Work: 020 822 58109
Room 1244 Television Centre,
Wood Lane, London, W12 7RJ
> -----Original Message-----
> From: James Pratt [mailto:jpratt at norwich.edu]
> Sent: 17 February 2009 23:58
> To: Martyn; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] So its running how I like it
>
>
>
> > -----Original Message-----
> > From: Martyn [mailto:martyn at chetnet.co.uk]
> > Sent: Tuesday, February 17, 2009 4:46 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] So its running how I like it
> >
> > But how can I make an install ISO that will allow me to
> install afresh
> to a new server,
> > ask for username, password IP address and so on.
> >
> > Then once the install is complete a I a running Nagios Server.
> >
> > Thanks
> >
> > Martyn
>
> Martyn, no real clue on what you are talking about , but it
> sounds like you want to build a linux system using kickstart.(?)..
>
> (it's a red hat linux thing, AFAIK)
>
> http://www.google.com/search?q=redhat+kickstart
>
> cheers,
> jamie
>
>
> --------------------------------------------------------------
> ----------------
> 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
>
------------------------------------------------------------------------------
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
More information about the Users
mailing list