Displaying 20 results from an estimated 4000 matches similar to: "I have a service that just wont restart."
2012 Apr 25
3
Exec and snmpd restart question
Hello Pros and users of Puppet.
I have two problems with the following modul setup:
My first problem that i tried every combination of
require,notify,subscribe for the mail sending exec but it runs every
single time when i run the module no matter if the files changed or
not.
Second problem that puppet reports that snmpd was refreshed by two
resource and restarted but actually it doesnt happen.
2007 May 25
18
services do not get restarted
Hello List,
We are using puppet to manage a growing number of Debian Etch based
servers (currently 70). Since upgrading to 0.22.4 we encountered
a problem when services do not restarted on puppets request.
For example the Nagios remote plugin executor daemon (nrpe). It''s running
daemonized and its confiugration is located in /etc/nagios/nrpe.cfg. This
file is managed through puppet
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
Hi
NRPE: Error receiving data from daemon
Seems as this is not a SSL Problem. Do you have a nagios user account? Cat
/etc/passwd
Am 01.05.2015 18:45 schrieb "Tim Dunphy" <bluethundr at gmail.com>:
> >
> > Oh my mistake. I mean nrpe without parameters. It should say something
> > about SSL/TLS aktiv or so.
> > You could test nrpe without SSL. Use nrpe -n -
2015 May 01
5
Could not complete SSL handshake to Amazon EC2 host
Hi Eric,
Thanks for your reply. I do have nrpe running under xinetd on the host I'm
trying to monitor.
And running the nrpe checl locally:
[root at ops:~] #/usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.15
[root at ops:~] #grep only_from /etc/xinetd.d/nrpe
only_from = 127.0.0.1 216.120.248.126
And I do have port 5666 open on the security group for this host.
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
> This is strange...
> Do you have SSL aktive on both systems? Run nrpr localy without parameters
> (this should return some nrpe stats) and check ldd for libssl.
I don't seem to have that command.
[root at monitor1:~] #find / -name "*nrpr" 2> /dev/null
[root at monitor1:~] #
And that's on either system.
And if I do an ldd on both, this is what I can tell:
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
Oh my mistake. I mean nrpe without parameters. It should say something
about SSL/TLS aktiv or so.
You could test nrpe without SSL. Use nrpe -n - H host
Am 01.05.2015 13:18 schrieb "Eero Volotinen" <eero.volotinen at iki.fi>:
> well. how about trying default setting and running nrped without xinetd.
>
> --
> Eero
>
> 2015-05-01 14:14 GMT+03:00 Tim Dunphy
2012 Jan 04
2
installing Nagios client with selinux enabled
Hi, I''m new to Puppet so may be going about this completely the wrong
way, or perhaps it is an selinux problem rather than a Puppet problem.
I have a problem copying a file and changing the seltype. I don''t
think it is Nagios specific. Code is something like:
file {
''/usr/sbin/nrpe'':
source =>
2015 May 01
8
Could not complete SSL handshake to Amazon EC2 host
Hello,
I am trying to monitor a host in the Amazon EC2 cloud.
Yet when I try to check NRPE from the monitoring host I am getting an SSL
handshake error:
[root at monitor1:~] #/usr/local/nagios/libexec/check_nrpe -H ops.jokefire.com
CHECK_NRPE: Error - Could not complete SSL handshake.
And if I telnet into the host on port 5666 to see if the FW port is open,
the connection closes right away:
2011 Jan 21
5
What the??? Failing dependancies and not sure why...
Observe the following code sniget:
user {
nagios :
comment => "Nagios Host Monitoring Service",
shell => "/bin/bash",
home => "/home/nagios",
ensure => present
}
file {
nagios-homedir :
path => "/home/nagios",
owner => "nagios",
2015 May 04
1
can't disable tcp6 on centos 7
On Sun, May 03, 2015 at 08:25:45PM -0400, Tim Dunphy wrote:
> Rather than a yum install. If I install the nrpe package from yum I don't
> find a check_nrpe script on the system for some reason!
That's because the 'check_nrpe' command isn't in the nrpe package.
It's in the nagios-plugins-nrpe package. The executable is installed,
along side all other nagios check
2011 Nov 30
1
Using facts from stored configs based on class
Hi,
Is it possible to use facts from external nodes via stored configs, based
on a filter such as class? To illustrate, I provide the following use case ;
class nagios::nrpe {
# No such resource "ip". I''d like to use "ip" fact of any node that is
assigned to class "nagios::server"
$nagios_servers = Ip <<| class="nagios::server"
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral
servers but have problem with one of them.
When I invoke:
root@www ~ # puppet agent --server puppetmaster.domain.ltd --test
notice: Ignoring --listen on onetime run
info: Caching catalog for puppetclient.domain.ltd
info: Applying configuration version ''1326444431''
notice: Finished catalog run in
2012 Sep 24
4
Overriding variables.
I am trying to override variables in a class that is defined in the default
node profile. I want parent class to be included in every single node, but
override its variables in others. I have tried it several different ways
now, and every single time the variables either become unset (undefined) or
are set to the value of the first if statement.
Here is my current iteration of failure.
2015 May 03
2
can't disable tcp6 on centos 7
>
> is it working on localhost or not???!!! it could be selinux problem also,
> if context is not correct.
It's working on localhost:
[root at puppet:~] #telnet localhost 5666
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
I notice if I stop the firewall on the puppet host (for no more than 2
seconds) and hit NRPE from the monitoring host it works:
2013 Feb 15
2
Nagios NRPE IPv6
On my network management server I have
Name : nagios-plugins-nrpe
Arch : x86_64
Version : 2.13
Release : 1.el6
Size : 38 k
Repo : installed
From repo : epel
To my dismay I noticed that this doesn't seem to support IPv6:
[ts at bombur ~]$ host galadriel.example.com
galadriel.example.com has IPv6 address 2001:db8:f004:8::32
[ts at bombur ~]$
2015 May 03
4
can't disable tcp6 on centos 7
>
> It's listening on both IPv6 and IPv4. Specifically, why is that a problem?
The central problem seems to be that the monitoring host can't hit nrpe on
port 5666 UDP.
[root at monitor1:~] #/usr/local/nagios/libexec/check_nrpe -H
puppet.mydomain.com
CHECK_NRPE: Socket timeout after 10 seconds.
It is listening on the puppet host on port 5666
[root at puppet:~] #lsof -i :5666
2006 Jun 20
2
yum install nagios, adding dag repository
Hi,
I'm running an Opteron 64 bit server, and in an effort to re-join it to my
nagios monitoring, I have tried the install nagios via Yum.
When I type:
yum install nagios, or nagios-nrpe, or nagios-plugins, I get:
"Nothing to do". as output.
In wanting to add the DAG repository to my machine, the documentation i've
come across seems vague.
Can someone advise me on either of
2011 Apr 01
4
if statement: 'true' from left operand of 'in' expression is not a string
Hi *,
using the following snippet of code ..
------------------------------------------------------------------------
[...]
7 if ! ($installplugins in [ true, false ]) {
8 fail("nrpe installplugins parameter must be true or false")
9 }
[...]
24 if $installplugins == true {
25 package { ["mypluginpackage",
26 ensure => installed }
27
2012 Jan 09
1
puppet-selinux
Hi all,
I''m having some problems working with puppet-selinux[1]
I''ve successfully deployed the module in nodes.pp and got it to set
various SELinux modes, by using
class { selinux: mode => ''permissive'' }
or
class { selinux: mode => ''enforcing'' }
Now I want to load a custom SELinux policy file. According to the docs,
the correct
2015 May 01
0
Could not complete SSL handshake to Amazon EC2 host
Hi Eric,
> NRPE: Error receiving data from daemon
> Seems as this is not a SSL Problem. Do you have a nagios user account? Cat
> /etc/passwd
Yep! Both hosts have nagios user accounts.
Demonstrating from the client:
[root at ops:~] #id nagios
uid=2002(nagios) gid=2002(nagios) groups=2002(nagios),2008(nagioscmd)
And this is from the monitoring server:
[root at monitor1:~] #id