Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th September 2005, 03:26 PM
thasyndicate Offline
Registered User
 
Join Date: Aug 2005
Posts: 4
Nagios Install Guide for Fedora??????

Does anyone have or know of a good install document specifically for Fedora? I've tried to install on Fedora core 3 twice using the Nagios install guide, and yes I read it from cover to cover. Also tried a 3rd time using the RPM install of Nagios and the plugins but no luck with that either. If someone has a better guide for installing on Fedora I would really appreciate it.

Thanks!
Reply With Quote
  #2  
Old 16th November 2006, 08:00 PM
doboy408 Offline
Registered User
 
Join Date: Jan 2006
Posts: 22
YES please a nagios guide would be great
I have also tried plenty of times

manual install is a pain in the you know what

i find yum install alot easier...but the problem is that yum install puts files in different places from the instructions of the manually install.

really need a good fc5 yum install instructions of nagios
Reply With Quote
  #3  
Old 17th November 2006, 01:26 AM
spence Offline
Registered User
 
Join Date: Sep 2005
Posts: 20
I have installed nagios on Fedora Core 4 without too much trouble.

Just download the source code and (i put it under /app)
./configure --prefix=/app/nagios
make
make install

Then download the source code for the nagios plugins
./configure --prefix=/app/nagios
make
make install

Simple as that.
If it complains about libraries when configuring/making then install the appropriate library using yum.
If it can't find it then set your LD_LIBRARY_PATH variable in the shell before runing the configure or make
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
Reply With Quote
  #4  
Old 14th December 2006, 10:58 AM
mwhidby Offline
Registered User
 
Join Date: Apr 2005
Posts: 18
If you want to install from the RPMs via yum then this worked for me on FC6:-

To install:-

yum install nagios nagios-plugins nagios-plugins-all

If apache is not already running:-

/sbin/chkconfig --levels 345 httpd on
/sbin/service httpd start (or restart if already running)

Create a nagios administrative user:-
htpasswd -c /etc/nagios/passwd nagios-admin (enter password)
(NB nagios-admin is used in localhost.cfg but nagiosadmin is used in cgi.cfg though
commented out. The online documentation uses nagiosadmin)

Check with web browser:- http://localhost/nagios/ (must have trailing slash)

Make some configuration files from the supplied samples:-

cd /etc/nagios
for f in *-sample; do cp $f `basename $f -sample`; done
cd /etc/nagios/private
for f in *-sample; do cp $f `basename $f -sample`; done

The samples run 5 checks for the localhost.

(Optional: add an email alias for nagios in /etc/aliases
and run /usr/bin/newaliases. See /etc/nagios/nagios.cfg)

Start up nagios:-

/sbin/chkconfig --levels 345 nagios on
/sbin/service nagios start

Have another look at the web browser - click on 'Service Detail' at the
left hand side - it should show the 5 local tests as either 'OK' or 'PENDING'.
They should all eventually turn 'OK' (unless one is actually failing).

You can then configure checks for the hosts you eventually want to monitor.

I hope this is useful to at least one person!
Reply With Quote
  #5  
Old 6th January 2007, 04:21 PM
maartenweijer Offline
Registered User
 
Join Date: Feb 2005
Posts: 29
This looks very promising! I will give it a try :-)
Reply With Quote
  #6  
Old 6th January 2007, 04:32 PM
maartenweijer Offline
Registered User
 
Join Date: Feb 2005
Posts: 29
Works like a charm :-) Now let' s take a look in the configuration files. Thanks a lot! Very simple and good guide!
Reply With Quote
  #7  
Old 12th September 2007, 07:29 PM
andy11261 Offline
Registered User
 
Join Date: Aug 2007
Posts: 9
Smile Nagios RPM on Fedore 7

Hi mwhiby,

I wanted to thank you for the information, regarding the configuration steps for getting nagios running on Fedora from a RPM package. I loaded the nagios 2.9.1-fc7 RPM, using yumex, on Fedora 7 (x86_64 architecture), and followed your instructions. It seems to be working great. I'll be modifying the configuration file and trying some of the plugins next.

I was wondering, where did you find out how do the steps you posted?

Thanks,
Andy

Quote:
Originally Posted by mwhidby
If you want to install from the RPMs via yum then this worked for me on FC6:-

To install:-

yum install nagios nagios-plugins nagios-plugins-all

If apache is not already running:-

/sbin/chkconfig --levels 345 httpd on
/sbin/service httpd start (or restart if already running)

Create a nagios administrative user:-
htpasswd -c /etc/nagios/passwd nagios-admin (enter password)
(NB nagios-admin is used in localhost.cfg but nagiosadmin is used in cgi.cfg though
commented out. The online documentation uses nagiosadmin)

Check with web browser:- http://localhost/nagios/ (must have trailing slash)

Make some configuration files from the supplied samples:-

cd /etc/nagios
for f in *-sample; do cp $f `basename $f -sample`; done
cd /etc/nagios/private
for f in *-sample; do cp $f `basename $f -sample`; done

The samples run 5 checks for the localhost.

(Optional: add an email alias for nagios in /etc/aliases
and run /usr/bin/newaliases. See /etc/nagios/nagios.cfg)

Start up nagios:-

/sbin/chkconfig --levels 345 nagios on
/sbin/service nagios start

Have another look at the web browser - click on 'Service Detail' at the
left hand side - it should show the 5 local tests as either 'OK' or 'PENDING'.
They should all eventually turn 'OK' (unless one is actually failing).

You can then configure checks for the hosts you eventually want to monitor.

I hope this is useful to at least one person!
Reply With Quote
  #8  
Old 12th September 2007, 09:15 PM
mwhidby Offline
Registered User
 
Join Date: Apr 2005
Posts: 18
Really I only installed the RPMs and worked out from the nagios documentation (http://nagios.sourceforge.net/docs/2_0/installing.html) what had been done and what remained to be configured. I'm happy you found it useful.
Reply With Quote
Reply

Tags
fedora, guide, install, nagios

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios F11 You don't have permission to access /nagios/ on this server. BWDRKR2 Using Fedora 2 4th March 2010 11:06 PM
Install Nagios on Fedora 8 MheAd Using Fedora 7 1st September 2008 09:58 AM
Simple guide to install or update java for Fedora 6 jonathonp Guides & Solutions (No Questions) 1 27th May 2007 03:13 PM
A fresh install Fedora Core 2 Guide for Novices linuxzouk Guides & Solutions (No Questions) 6 1st June 2004 07:56 PM


Current GMT-time: 05:35 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat