Displaying 20 results from an estimated 5000 matches similar to: "Managing dynamic instances with puppet"
2011 Oct 05
1
Opsview puppet module - purging hosts from opsview
Hi all,
I''m using the opsview module and the Opsviewmonitored type and it''s working
just fine, I''m now trying to purge unused hosts from the Opsview monitoring
(I have several hosts that dynamically go up and down). The problem is that
it seems like the destroy function for opsview was not really implemented
and therefore I can''t really delete hosts from
2013 Apr 10
5
Managing multiple nagios servers with puppet and virtual resources
Hi,
For several years, we have @work had a puppet environment where when we add
a new host/node, some basic monitoring is fed through to a nagios server
using virtual resources and an old nagios class which either someone here
wrote themselves, or found on the internet at the time.
We are trying to move away from the existing puppet environment for a
number of reasons, and using this as an
2009 Dec 08
5
Cleaning Out Stored Configs
Hi,
We''re using thin stored configs heavily to manage things like Munin
and Nagios and we''re currently wondering what to do when nodes go
away, or change considerably.
If we get rid of a server then all it''s stored config is still present
in the database, as well as it''s nagios and munin configurations.
We created a script that iterates through the database
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",
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
Hello !
I''m trying to implement a Nagios solution based on David Schmitt''s
Complete Config. But I the following error when running puppetd -t -
v :
notice: Starting catalog run
err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/
_host.cfg]/ensure: change from absent to present failed: Could not set
present on ensure: No such file or directory - /conf.d/
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {
2009 Feb 13
10
Nagios: Error: Service check command ... not defined anywhere!
Hello CentOS users,
I have problems posting the question below
to the Nagios mailing list (my subscription is
not accepted for some reason). Has anybody
of you already had this probably frequent
problem with Nagios in CentOS? I can''t use
check_squid from command-plugins.cfg (s. below)
Thank you for any hints
Alex
---------- Forwarded message ----------
To: nagios-users at
2009 Jun 20
1
Fw: RE:Nagios under *[solved]
Hi Steve
Thanks for all your help, i followed your answers and found on that nagios was being run as user nagios....and if i executed the last command it asked for a password [i tried nagios password,root password etc] but it did not work..it the end i opened nagios.cfg and changed the NAGIOS_USER to root and changed the ownership permissons on the script also to root..I now get the correct
2011 Feb 28
1
Nagios monitoring with example42 modules
Folks:
I''ve started to play around with the comprehensive integrated module set
from example42 (http://www.example42.com/).
Following the instructions, I set up one node as a nagios server, with
''include nagios''. I set up another node to be monitored via nagios, with
''include nagios::target". I set $monitor=true for the base node, which is
inherited by
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
2011 Aug 11
6
need urgent help with including Ruby DSL class from puppet manifests
Hi,
I have a Ruby class in "nagios" module - it''s located in nagios/
manifests/ssa_nagios_checks.rb
and looks like this
hostclass :ssa_nagios_checks do
...
end
In nagios/manifests/init.pp I have
class nagios::server {
...
include ssa_nagios_checks
...
}
And I get the following error
....
debug: importing ''/etc/puppet/modules/nagios/manifests/
2013 Oct 21
3
Resource file copy files recurse in existing directory with existing files
Hi,
I have a file resource that brings files in the diretory
"/usr/local/nagios/libexec" from source1 and I have a second resource file
that should bring file in that same directory but from an other source.
But the result is that only the files from file {
"/usr/local/nagios/libexec": do exit in the directory. I tried remote and
true. The resource file {
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
2012 Sep 05
1
Nagios and www-data users.
I''m sure people have hit this problem before. In my nagios module, the
nagios command pipe file at /var/lib/nagios3/rw/nagios.cmd is owned by
the nagios user, but needs to be written to by the www-data user.
Adding the www-user to the nagios group is one solution, but that
requires that the nagios module potentially modify the www-data user,
which seems bad.
What''s the best way
2010 Nov 05
1
Nagios installation problem
Hello,
Has anyone managed a successful installation of Nagios using
the RPMForge packages on CentOS 5.5?
It looks like it should have worked, I followed the guides for Fedora
and CentOS here (with appropriate path adjustments):
http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html
http://wiki.centos.org/HowTos/Nagios
The SELinux policies look fine (I tend to ignore instructions to
2011 Oct 26
8
bug: recursive directory copy that re-copies nightly
I''m seeing a recurring, nightly copy of files which are not changing. I get the following message every night from tagmail.
1. It happens once per day (not every 30 minutes)
2. The files haven''t changed in months
3. The files aren''t changing -- there''s only one md5 in the clientbucket for each file
4. There''s no schedule on the resource
5. The files
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 -
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 =>
2012 Sep 10
5
Nagios purge deleted items and notify nagios service problem
I am using stored configs to manage my nagios host and services checks and
I have run into a problem that I have been unable to solve. When the
stored configs are purged from puppet the nagios server correctly removes
them from the services and hosts file but does not notify the nagios
service and instead throws an error. So the entries are still there and
nagios still reports on them until
2008 Apr 17
4
looking for a way to remove module interdependencies
Hello List,
i''m running into an issue with puppet where I don''t know how to solve
correctly.
We''re managing applications and our monitoring (nagios) using puppet
using the following schema:
class nagios {
// ensure nrpe ist installed
// export a host definition
nagios::check { ''ping'': }
nagios::check { ''load'': }
...