similar to: Is there any ways to fetching custom fact after some resources setuped?

Displaying 20 results from an estimated 600 matches similar to: "Is there any ways to fetching custom fact after some resources setuped?"

2011 Sep 29
2
Naginator and Puppet on different hosts
We were using Naginator resources like nagios_host, etc. along with stored configurations and exported resources. Worked pretty well. However we have to separate the Puppet master and the Icinga (Nagios) server. They will be on different machines from now on. Are there any best practices for such a scenario? I already thought about some kind of ''rsync'' of the configuration from
2013 Aug 07
3
Nagios XI + Puppet?
Hi All, I currently make use of Icinga (nagios fork) + Puppet for fully automated monitoring. It''s worked great up to this point. I''ve recently been asked to integrate fine grained notifications support into icinga. I''m not entirely sure puppet manifests are the right place to manage contacts, contact groups, and their use within host and service definitions for
2012 Apr 25
4
[Bug 2000] New: when using ssh with ControlMaster/ControlPersist, one may get zombie processes
https://bugzilla.mindrot.org/show_bug.cgi?id=2000 Bug #: 2000 Summary: when using ssh with ControlMaster/ControlPersist, one may get zombie processes Classification: Unclassified Product: Portable OpenSSH Version: 5.9p1 Platform: All OS/Version: All Status: NEW Severity: major
2015 Jun 02
1
Pop3 service stops responding
Hi! I have problem with the pop3 service stops responding at random intervals on my server. We started to notice this problem as we're running icinga to check the imap & pop3 service. When icinga reports that the service is down. We try to telnet to the server on port 110 but it refuses the connection. I've checked the netstat during this time and it's listens on port 110. My
2017 Oct 25
2
[Gluster-devel] Gluster Health Report tool
Hi Aravinda, Very nice initiative, thank you very much! As as small recommendation it would be nice to have a "nagios/icinga" mode, maybe through a "-n" parameter which will do the health check and output the status ina nagios/icinga compatible format. As such this tool could be directly used by nagios for monitoring. Best, M. > -------- Original Message -------- >
2010 Jun 18
5
Migrating away from Nagios
I have to rebuild a new Nagios box and thought this might be a good time to migrate away. I use snmp mostly for everything but with the fork Nagios endured I wonder about putting any more effort into the project. I probably should look at OpenNMS again, but the other options I think might work are Icinga (Should be trivial to migrate) or Zenoss or maybe even Zabbix? Anyone have experience in
2012 Jun 15
3
Unsupported osfamily: Linux operatingsystem: Amazon
Hi all, just installed the puppetlabs-mysql module for puppet on my Puppet server which is an Amazon Linux (based on RedHat), but I get this error when I run puppet agent --test : *err: Could not retrieve catalog from remote server: Error 400 on SERVER: Unsupported osfamily: Linux operatingsystem: Amazon, module mysql only support osfamily RedHat and Debian at
2013 Sep 16
10
Unable to specify hierarchy for data-in-modules
Hello, I''m running Puppet agent stand-alone on Windows. I got data-in-modules working. However, no matter what I put into the module hiera.yaml, I can only override the defaults from common.yaml by osfamily (and not, e.g., by environment). In the setup below the following command outputs: >puppet apply --binder -e "notice lookup (''my_key'')"
2013 Feb 21
8
Facter & Puppet disagree on RHEL 6?
I''ve run into an odd one on one of my new RHEL 6 boxes. Puppet and Facter seem to disagree about the value of a fact. Puppet version: 2.7.9 Facter version: 1.6.4 Module: puppetlabs-apache apache::params falls through its if structure: if $::osfamily == ''redhat'' or $::operatingsystem == ''amazon'' { ... } elsif $::osfamily ==
2012 Sep 30
22
in-module data with hiera
hello, Till now hiera-puppet was the only way I know that allowed hiera data to be loaded from inside a module. The problem with this was that it was still subject to the site specific hierarchy which means a module author had a pretty hard time to store his data in a proper way in his module thus perpetuating the use of the params classes pattern. Now that Puppet 3 is out and it''s gem
2013 Mar 01
2
Puppet newbie
Hi I am new in Puppet and i have one error when i test Postgresql module in infrastructure mode. I''m using Puppet 3.1.0 in Debian squeeze or 6.0.7 i tape the next command puppetd -t -v and this is the error info: Retrieving plugin info: Loading facts in pe_version info: Loading facts in postgres_default_version info: Loading facts in iptables info: Loading facts in puppet_vardir
2012 Dec 07
6
Poll for thoughts on hierifying modules and OS default differences
Hello lovelies, Our team is deliberating a few different options for the hierification of our modules; and wanted to poll the collective genius before making our decision. As we all know, there are certain attributes of a package which are, by default, consistent on an OS... say, the name of a package..... class foobar { include foobar::params $package = $foobar::params::package Package
2012 Apr 09
0
ControlMaster and ControlPersist leads to zombie processes
Hi. Perhaps you can help me with this: What I do is using Nagios (actually Icinga) and having checks on remote hosts executed via ssh. In order to dramatically speed checks up (from about 0,300 ms to 0,010 ms) I use ControlMaster = auto, which also makes the mux process spawned on the first check. As checks are typically sequentially scheduled I want the mux process to persist but it should
2013 Oct 24
2
SSH Module with multiple conditions
I''ve written and deployed a simple Linux SSH module. But I need to modify to include support for FreeBSD and AIX. On top of that, I need to include some conditionals in there that (for example) if (/etc/file1 contains string abc) ; then install sshd-config-x & ssh-config-x elsif (/etc/file1 contains string xyz); then install sshd_config-y & ssh_config-y else install
2011 Mar 18
1
rpm split
Hi, I have a custom rpm for our application. The problem is that it grew old and fat. It's about 30 MB. So i would like to split it into two parts. One big part that almost never changes and one smaller part that is changed more frequently. But i don't know how to write the spec file so a simple yum update will install both packages and it won't create any problems. Any suggestions?
2013 Mar 20
2
Still problem using Chocolatey provider on Windows
As some before me on the group, I have a problem getting the Chocolatey provider to work on Windows. I downloaded it from Github and placed it in /etc/puppetlabs/puppet/modules/chocolatey. (I am running Puppet Enterprise 2.7.19). On a Windows 8 client, I have a very simple manifest: class install_notepadplusplus { if $::osfamily == ''windows { $pkg =
2013 Jun 04
11
Share Hiera configuration between 2 nodes?
Hi, I am trying to use Hiera in puppet 3 and I have two nodes that both need the same configuration. In this case they are two web servers which have the same apache configuration. Rather than creating two seperate hiera files for node1.yaml and node2.yaml is there a way to group these by role (e.g. webserver.yaml)? I want to avoid duplicating the configuration if possible and keep the data
2012 May 02
8
Puppet logging
Hello all, I am trying to write a script that will check logs for puppet errors to use in a nagios check. I am checking /var/log/messages (RHEL6) but when puppet runs on its 30 minute interval, nothing gets written to messages. I have also looked at /var/log/puppet/puppet.log but that does not seem to be consistent either: [root@gm10v nagios]# tail /var/log/puppet/puppet.log Wed May 02 14:27:47
2016 Apr 28
0
[Bug 2000] when using ssh with ControlMaster/ControlPersist, one may get zombie processes
https://bugzilla.mindrot.org/show_bug.cgi?id=2000 --- Comment #10 from Christoph Anton Mitterer <calestyo at scientia.net> --- Hmm AFAIU, when not using ControlPersist, that would simply mean that if the last session is closed, the mux closes either, right? This is however undesirable as well for the above use-case: First, considers hosts where only one check runs (i.e. executed via
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 ~]$