Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: jahlewis on January 24, 2008, 07:37:49 PM

Title: nagios config examples?
Post by: jahlewis on January 24, 2008, 07:37:49 PM
I've just installed the nagios contribs, and was hoping someone had some existing service configs for monitoring a host (local) smeserver, as well as configs for using the nrpe plugin to monitor remote smeservers.  The default configs are very shallow, and from what I'm reading, it is a lot of work to set up what I'm considering (defining each service type (both local and nrpe).

I'd be happy to amend the documentation with what I discover etc.

Thanks.
Title: Re: nagios config examples?
Post by: m on January 25, 2008, 03:44:31 PM
jahlewis,

a nrpe.conf file was already in the Nagios contrib directory. I now have added a sample configuration ' nagios-central-config-sample1.tar.gz (http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/nagios/packages/nagios-central-config-sample1.tar.gz)' for a central Nagios server for monitoring remote hosts (2 SME and 2 Temp. sensors, commands, templates, contacts etc.) via NRPE. A status map screenshot is included, too.

Hint: You can monitor the local services also by connecting to the NRPE service on localhost. This saves you the work to create a  local config as you can re-use the NRPE config of a remote SME server.
Title: Re: nagios config examples?
Post by: beakersloco on January 26, 2008, 04:31:12 AM
Okay so how do you connect to the local nrpe service on the local host ?
Title: Re: nagios config examples?
Post by: m on January 26, 2008, 06:12:19 AM
Okay so how do you connect to the local nrpe service on the local host ?

e.g.
[root@nagios ~]# /usr/lib/nagios/plugins/check_nrpe -H localhost -c check_linux_raid     
LINUX_RAID OK - 2 raid devices found, all OK
Title: Re: nagios config examples?
Post by: Bud on February 11, 2009, 05:13:18 AM
mweinber thanks for the example file.

please excuse me i'm a noob  :grin: with nagios. i'm using nagios 3.6 on sme 7.4

i have 3 remote sme servers (they are connected to routers) that i need to monitor. i cannot ping the remote routers (firewalled) but i believe that i can use snmp. how and where in nagios do i set this up? i also have quite a few xp computers that use services from the sme servers. i have installed the nsclient++ on the xp computers but how do i monitor them remotely?

any help greatly appreciated
Title: Re: nagios config examples?
Post by: Stefano on February 11, 2009, 08:54:01 AM
i cannot ping the remote routers (firewalled) but i believe that i can use snmp.

if remote servers are firewalled, I think you can't use snmp..

ciao
Stefano
Title: Re: nagios config examples?
Post by: Bud on February 11, 2009, 10:56:07 AM
oops, now what? how do i ping my sme servers?  :shock: