Page 1 of 1
Nagios Install
Posted: Thu Oct 21, 2010 6:24 am
by MarkDome
I've download Nagios XI by doing the following things
cd /tmp
wget
http://assets.nagios.com/downloads/nagi ... est.tar.gz
wget
http://assets.nagios.com/downloads/nagi ... vel.tar.gz
tar xzf xi-latest.tar.gz
tar xzf xi-latest-devel.tar.gz
cd /tmp/nagiosxi
./0-yum
than the error:
epel-release 5.4 noarch.rpm
key id 2175
Can someone help me please?
I'm using Fedora 13
edit:
I had before this install the free version of nagios, nrpe was working, between the server and the nagios server. But if i went to the localhost/nagios i couldnt monitor the server...
Re: Nagios Install
Posted: Thu Oct 21, 2010 9:37 am
by tonyyarusso
First, pick one tarball, not both. Unless you have some particular reason to try the development code just use the first one. Second, please include a more complete paste of the error output so we can better tell what's going on. Third, I'm not sure what you mean by "But if i went to the localhost/nagios i couldnt monitor the server...", so if you'd care to clarify that it might be helpful.
Re: Nagios Install
Posted: Tue Oct 26, 2010 5:00 am
by MarkDome
"But if i went to the localhost/nagios i couldnt monitor the server..."
First i was trying to install and configure the normal, free version of Nagios.
I was following this guide, to complete the configure:
http://nagios.sourceforge.net/docs/3_0/ ... edora.html
after that it was correctly installed on mine nagios server (ip: 10.0.1.48)
With that server i want to monitor mine main server (ip: 10.0.1.1) and i used this guide for that:
http://www.thegeekstuff.com/2008/06/how ... 30/#more-8
Code: Select all
[remotehost]# /usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.12
was working
and also this was working:
Code: Select all
[nagios-server]#/usr/local/nagios/libexec/check_nrpe -H 10.0.1.1
NRPE v2.12
But than i went to the page, where i can monitor:
http://localhost/nagios
and i saw only the localhost, and not 10.0.1.1
Re: Nagios Install
Posted: Tue Oct 26, 2010 10:37 am
by tonyyarusso
It sounds like you hadn't actually gotten to the point of creating a service to run that check, only manually testing it on the command line. Take a look at
http://nagios.sourceforge.net/docs/3_0/ ... vices.html and
http://nagios.sourceforge.net/docs/3_0/ ... ml#service to get started on that.
Re: Nagios Install
Posted: Wed Oct 27, 2010 6:26 am
by MarkDome
Re: Nagios Install
Posted: Wed Oct 27, 2010 10:07 am
by tonyyarusso
No, you will need NRPE. You will make a service on the Nagios server that has check_nrpe as its check_command, and then on the host being checked within the NRPE config you will also define the nrpe command to translate to.
Re: Nagios Install
Posted: Thu Oct 28, 2010 7:21 am
by MarkDome
Thanks a lot, its working
Mine host is online with the following services:
cpu load
current users
http
ping
total processes
zombie processes
But if i PING from a client to the remote host, how can i see that in nagios, if i click on:
PING
view trends for this service
there's nothing to see

Re: Nagios Install
Posted: Thu Oct 28, 2010 10:48 am
by tonyyarusso
Could you clarify "nothing to see"? I suspect there won't be anything there until things have run for a little while, since you can't really have a trend from a very short time period.