Nagios Install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MarkDome
Posts: 4
Joined: Thu Oct 21, 2010 6:20 am

Nagios Install

Post 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...
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagios Install

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
MarkDome
Posts: 4
Joined: Thu Oct 21, 2010 6:20 am

Re: Nagios Install

Post 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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagios Install

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
MarkDome
Posts: 4
Joined: Thu Oct 21, 2010 6:20 am

Re: Nagios Install

Post by MarkDome »

so i don't need to install nrpe and that stuff like they said at:
http://www.thegeekstuff.com/2008/06/how ... 30/#more-8

only need to install Nagios with
http://nagios.sourceforge.net/docs/3_0/ ... edora.html
and than
http://nagios.sourceforge.net/docs/3_0/ ... vices.html
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagios Install

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
MarkDome
Posts: 4
Joined: Thu Oct 21, 2010 6:20 am

Re: Nagios Install

Post 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 :(
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagios Install

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked