Koozali.org: home of the SME Server

nagios config examples?

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
nagios config examples?
« 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.
............

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: nagios config examples?
« Reply #1 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' 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.

Offline beakersloco

  • ****
  • 142
  • +0/-0
Re: nagios config examples?
« Reply #2 on: January 26, 2008, 04:31:12 AM »
Okay so how do you connect to the local nrpe service on the local host ?
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: nagios config examples?
« Reply #3 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

Offline Bud

  • *
  • 487
  • +0/-0
Re: nagios config examples?
« Reply #4 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

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: nagios config examples?
« Reply #5 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

Offline Bud

  • *
  • 487
  • +0/-0
Re: nagios config examples?
« Reply #6 on: February 11, 2009, 10:56:07 AM »
oops, now what? how do i ping my sme servers?  :shock: