Displaying 20 results from an estimated 6000 matches similar to: "Cleaning Out Stored Configs"
2008 Feb 11
9
Storeconfigs purge Perl
Here''s some happy-fun Perl to make your storeconfig/virtual resources day better. I probably should have written this in Ruby, but perl comes naturally :)
#!/usr/bin/perl
#
# Perl DBI to remove all related entries from Puppet''s storeconfigs database.
# Use when a host is removed from the Puppet network forcibly
# Alternatives: run puppet on host to be removed with a blank
2007 Dec 18
5
resource collection error
I''m seeing these in my logs on my puppetmaster:
puppetmasterd[4111]: Could not store configs: SQLite3::SQLException: SQL
logic error or missing database: DELETE FROM fact_values
WHERE "id" = 8
currently this is 0.24.0
relect from some previously collected resource that wasn''t cleaned up?
upgrade issue?
nothing to worry about?
that''s the only
2008 Jul 09
1
Deleting an exported resource
I had a host that was exporting a resource to another host to trigger
backups. The first host has now gone away, but the second host is
still seeing the exported resource (because it still exists in the
puppetmaster''s database). I fixed the problem by going in to the
database and deleting all the rows I could find that related to the
absent host, but I''m wondering if
2009 Jul 10
6
Best practices for building a file from distributed data.
G''day.
I am wondering what the current best practice for building a single file out
of distributed fragments is with puppet. Specifically, my problem:
1. Install munin-node on arbitrary machines.
2. Install ''munin.conf'' as a single file on one machine, containing a
configuration stanza for every machine that munin-node is installed on.
The current best practice
2013 Oct 08
4
'puppet storeconfigs export' killed
Hi,
I currently have a MySQL database containing all Puppet storeconfigs. My
intention is to migrate to PuppetDB on a PostgreSQL server, so the first
step is to use the ''storeconfigs'' face to export all the DB to a file
PuppetDB can later consume. But the ''puppet storeconfigs export'' command
always ends up being killed, I suspect due to some sort of OOM
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 = ''''
) {
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 {
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
2010 Feb 01
8
monitoring a workstation
Hi,
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Regards.
__________________________
Ce message (et toutes ses pi?ces jointes ?ventuelles) est confidentiel et ?tabli ? l'intention exclusive de ses destinataires. Toute
2007 Nov 02
8
Custom reports in puppet
Does any one know or whether have someone done custom reports in puppet.
Which will show the status of the servers, disk, cpu, load, pkg list,
configs/files edited via puppet, how often a config file is updated,
etc..
--
Deepak
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Apr 12
14
how to make puppet a killer app
I''ve been thinking about how to make Puppet a killer app, and I think there
is one specific thing that could be done to help make that happen:
People using Puppet now to consistently state what they *really* wish Puppet
could do for them -- the recent thread around Puppet on Windows is in that
vein, but it''s not specific enough. For example, I''d like to know what
2009 Dec 22
8
NMS Opinions
A recent post that mentioned Zabbix inspired me to have a look at them again
while I was waiting on something as it?s been a while since I looked at them.
Currently, I was using Nagios but had to start using Munin to add some functionality
I needed and don?t want to continue down this road of supporting umpteen different
packages.
Between Zabbix, Pandora and HyperIQ, what would anyone familiar
2008 Jan 17
5
A function can always run when a client connect to the pupetmaster?
hello,all
I write a function. this function will write the client fqdn to a
file. But this function only run one time when the puppetmaster
recompile the configuration.
How can let this function run every time when a client connect to
the puppetmaster ? please help me.
--
Huang Mingyou
2007 Sep 11
25
Re: #786: exported resources not refreshed
Hello all,
what exactly is the "design decision" that is needed here?
We currently have the problem that 0.23.2-3 (debian package) does not
work when it comes to collecting exported resources. The resources are
saved in the database, so picking them up is the problem (db is Mysql5.x).
This is a major problem for us, since we are using this a lot for our
monitoring services. I
2010 Apr 26
9
System Resources Graphing
Is there a package I can get that will graph system resources such as
CPU and disk I/O to an html file or something?
Matt
2012 Dec 04
4
puppetlabs-firewall scope
Hello,
I can''t figure out how I can use the module puppetlabs-firewall only
for some targeted nodes.
If I put :
resources { "firewall": purge => true }
in top scope (i.e. site.pp),
then all the firewall rules on all my nodes are purged. Even for nodes
for which I don''t apply any module containing specific firewall { ...
} resources.
If I put it in a module
2013 May 09
4
monitoring Asterisk 1.8
Hello,
i'm looking for suggestions to monitor Asterisk Server? I installed Nagios
but no success, I do prefer not to install any web server on the server
running Asterisk.
Thanks in advance.
-Motty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130509/24815a66/attachment.htm>
2011 Sep 01
1
Managing dynamic instances with puppet
Hello,
My organization is currently running a complete production environment on
Amazon EC2, and I''m now trying to implement some automations and scaling
with puppet.
I have several instances which I want them to be almost automatic, meaning
that whenever is needed more instances will come up, and when they''re not
needed they will be stopped. This should eventually be
2013 May 24
6
Puppet/Nagios/PuppetDB slow performance
Hi all,
For months now I''ve been using Puppet with PuppetDB backend to manage my
Nagios configs. We now have 1200+ services being checked and including
servicedependency, host, hostdependency, command and other Nagios
resources being managed, that''s about 3000 resources in total.
Unfortunately this means the monitoring server takes about 8 minutes to
perform a Puppet run.
2011 May 20
3
PC EU feedback: ability to remove all unmanaged resources
http://projects.puppetlabs.com/issues/7600
I call this the "agent orange" option :)
This works, purging all unmanaged hosts entries:
resources { ''host'':
purge => true,
noop => true,
}
We should have a similar property for all (most?) types.
Please comment on the ticket or reply here, whichever you prefer.
Thanks!
r
P.S. This is in