Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk
You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."
Today's Topics:
1. Special LUG Meeting this Saturday! 24/01/15 (Sebastian)
2. NRPE/Nagios (Martin Moore)
3. Re: NRPE/Nagios (Richard Stearn)
4. Re: NRPE/Nagios (Martin Moore)
5. Re: NRPE/Nagios (David Corking)
6. Re: NRPE/Nagios (Shane McEwan)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Jan 2015 15:08:56 +0000
From: Sebastian <sebsebseb_mageia@gmx.com>
To: bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
sebastian <sebsebseb_mageia@gmx.com>
Subject: [bristol] Special LUG Meeting this Saturday! 24/01/15
Message-ID: <54BFC108.10105@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi
Yes it's nearly time again for yet another informal LUG meeting that is
the first one of 2015 as well at the Knight's Templar Pub in Temple Quay
near Temple Meads train station:
http://www.jdwetherspoon.co.uk/home/pubs/the-knights-templar However
this time it should be a special meeting, because of how I have arranged
for a suprise guest/newcomer to join us, and they should be there with
another guest/newcomer as well. If for some reason they don't turn up
though I'll still have a quite interseting tech device that I can show
with me :).
If you are new and would like to come along I suggest not turning up
until 2pm by the earliest when at least someone else is likely to be
there as well, and people tend to leave between 4pm to 5:30pm, sometimes
a bit later than that even. We sit on the lower level at the back when
entering the pub on the left by the plugs in the corner, or near there
instead if someone else is already there.
I hope to meet quite a few of you there this Saturday :) and I'll try to
get there for 2pm, but may get there a bit later instead.
Who is intending on being there as well and at what time?
Regards
Sebastian
------------------------------
Message: 2
Date: Thu, 22 Jan 2015 09:25:23 -0000
From: "Martin Moore" <martinm@it-helps.co.uk>
To: "'Bristol and Bath Linux User Group'" <bristol@mailman.lug.org.uk>
Subject: [bristol] NRPE/Nagios
Message-ID: <10a001d03625$5b680d20$12382760$@co.uk>
Content-Type: text/plain; charset="us-ascii"
Me again!
I've installed Nagios/NRPE on 3 boxes.
The Nagios server is on an Ubuntu box, the slaves are Centos.
With the default checks (current load, users, disk space, total processes)
all looks OK - except the disk space is the same on all of them, and is
reporting localhost values for both the remote units as well.
The correct server names are showing in the nagios page, so it looks like
the config is correct.
Current load is different on localhost but same on both remotes which is
suspicious.
I've tried stopping NRPE on the remotes to see if nagios starts complaining
(indicate it's trying the correct remote) but it fails. When rsestarted it's
not showing in in the process list either. Starting it reports success.
service nrpe stop
Shutting down Nagios NRPE daemon (nrpe): [FAILED]
/etc/init.d/nrpe stop
Shutting down Nagios NRPE daemon (nrpe): [FAILED]
ps aux | grep nrpe
root 5322 0.0 0.0 103252 836 pts/3 S+ 09:07 0:00 grep nrpe
Any clues?
Cheers,
Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20150122/05bb5419/attachment-0001.html>
------------------------------
Message: 3
Date: Thu, 22 Jan 2015 10:16:16 +0000
From: Richard Stearn <richard@rns-stearn.demon.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] NRPE/Nagios
Message-ID: <54C0CDF0.4090205@rns-stearn.demon.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Martin Moore wrote:
> Me again!
> I've installed Nagios/NRPE on 3 boxes.
Version numbers?
--
Regards
Richard
------------------------------
Message: 4
Date: Thu, 22 Jan 2015 10:54:09 -0000
From: "Martin Moore" <martinm@it-helps.co.uk>
To: "'Bristol and Bath Linux User Group'" <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] NRPE/Nagios
Message-ID: <10cc01d03631$c2414820$46c3d860$@co.uk>
Content-Type: text/plain; charset="us-ascii"
Nagios 3.2.0
NRPE v2.12
I've spotted that it's using
check_command check_procs!250!400
instead of
check_command check_remote_procs
which is what I've used in my last job.
However nagios fails to start with check_remote_procs
-----Original Message-----
From: bristol-bounces@mailman.lug.org.uk
[mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of Richard Stearn
Sent: 22 January 2015 10:16
To: Bristol and Bath Linux User Group
Subject: Re: [bristol] NRPE/Nagios
Martin Moore wrote:
> Me again!
> I've installed Nagios/NRPE on 3 boxes.
Version numbers?
--
Regards
Richard
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
------------------------------
Message: 5
Date: Thu, 22 Jan 2015 11:03:03 +0000
From: David Corking <lists@dcorking.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] NRPE/Nagios
Message-ID:
<CAG+Z5JfnG+vjGahQDz90GdDLR76wypVZ7C5H-tqZYgHSYg5F5Q@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Martin, CentOS and Ubuntu version numbers may help too, as well as
which package repo you got Nagios/NPRE from (IME init scripts vary
according to the tastes of the package maintainer.)
David
------------------------------
Message: 6
Date: Thu, 22 Jan 2015 11:53:59 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] NRPE/Nagios
Message-ID: <54C0E4D7.5020305@mcewan.id.au>
Content-Type: text/plain; charset=utf-8
On 22/01/15 09:25, Martin Moore wrote:
> I?ve installed Nagios/NRPE on 3 boxes.
>
>
>
> The Nagios server is on an Ubuntu box, the slaves are Centos.
NRPE might be running via xinetd so there might not be a process running
all the time. The best way to check is from the Nagios server run:
telnet nrpe_client_host 5666
If you get a connection then NRPE is probably OK. If you don't get a
connection then either NRPE isn't running, xinetd isn't configured
correctly (if it's using xinetd), the CentOS firewall is blocking it, or
something else. :-)
Also, on the Nagios host there should be a check_nrpe Nagios check
command (in the Nagios libexec directory, usually) that you can run:
/usr/local/nagios/libexec/check_nrpe -H nrpe_client_host
You can also use check_nrpe to check specific items:
/usr/local/nagios/libexec/check_nrpe -H nrpe_client_host -c check_load
When all that is working for you then you need to make sure your Nagios
config uses the check_nrpe command for each remote service, otherwise
you'll end up just checking the local machine:
define service{
use generic-service
host_name tecmint
service_description CPU Load
check_command check_nrpe!check_load
}
Or . . . do yourself a favour and install Zabbix. :-P
Shane.
------------------------------
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
End of Bristol Digest, Vol 586, Issue 4
***************************************
Tidak ada komentar:
Posting Komentar