Firefox 16, a treat for developers http://t.co/cnd27CzT
How to install nagios in RHEL|Centos|Fedora
Nagios is the industry standard in enterprise-class monitoring for good reason. It allows you to gain insight into your network and fix problems before customers know they even exist. It’s stable, scalable, supported, and extensible.
Install Nagios
I First step :
Let me show you how to install nagios monitoring tool .
This installation has been tested by unixmen team in Fedora/Cenots/RHEL/ .
1- First install some tools : httpd, gcc, glib, glibc-common, gd and gd-devel
yum install httpd php
yum install gcc
yum install glibc glibc-common
yum install gd gd-devel
2- Create nagios user :
#/usr/sbin/useradd -m nagios
#passwd nagios
3- Add nagcmd group
/usr/sbin/groupadd nagcmd
/usr/sbin/usermod -a -G nagcmd nagios
/usr/sbin/usermod -a -G nagcmd apache
4- Now go to http://www.nagios.org download files .
nagios-3.1.0.tar.gz nagios-plugins-1.4.13.tar.gz nrpe-2.12.tar.gz
tar -zxvf nagios-3.1.0.tar.gz
cd nagios-3.1.0
./configure --with-command-group=nagcmd
#make all; make install; make install-init; make install-config; make install-commandmode; make install-webconf
5- Edit your email admin address :
Go to
vi /usr/local/nagios/etc/objects/contacts.cfg
6- Create a nagiosadmin account for logging into the Nagios web interfaceassign to this you’ll need it later.
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
enter the password.
7- Restart the httpd server :
#Service httpd restart
The second step : Extract and install plugins
1- Go to you downloaded nagios tools
tar -zxvf nagios-plugins-1.4.13.tar.gz
2- cd nagios-plugins
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make; make install
3- Now you have to add nagios to Chkconfig
chkconfig --add nagios
chkconfig nagios on
4- Verify if you have a good config of nagios with the command
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
5- Check if there are no errors displayed; then start nagios with command :
service nagios start
To simplify the procesure please disable the selinux and iptables and ip6tables
now open your browser and http://localhost/nagios orr http://ip/nagios


N.B : Please if you have questions about debian or ubuntu or othe unix system . we are here to help.
if ou have more questions abouth commands nrpe ? , how to add new client to the server ?Feel free to ask
Unixmen Team
{module user9-footer}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
http://enteryoursiteURL...
-
-
http://servertechz.com/?s=nagios
-
-
http://enteryoursiteURL...
-
http://enteryoursiteURL...
-
-
-
-
-
-
-
-
-
-
http://www.facebook.com/xavii87
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Unix/Linux File Recognition. Did You Know? : Did you know that Unix and Linux has no concept of a file extension? What is a file name extension?
...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Howto- Resolve nosound problem on Ubuntu 13.04 Raring Ringtail,12.10 and Older : Updated 05/04/2013 : One of the common issues facing Ubuntu users after installing or upgrading Ubun...1 comment(s) |
Recent Posts
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
- Getting Debian 7.0 ‘Wheezy’ Up and Running
Recent Comments



















Nova
| #
I wonder if there is a way to create your own themes.
Red Adaya
| #
Thank you! This worked for me!!!
SK
| #
Andrew look into your httpd.conf file at line no 350. There might be a syntax error.
andrew
| #
hello I have this error
[root@cloud html]# /etc/init.d/httpd restart
then this appears
Starting httpd: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: without matching section.
plz tell how to fix this.
Maximiliano Schultheis
| #
this was amazing, thank you so much! Tip 3 did the trick!