similar to: Class using if/else w/ multiple if conditions

Displaying 20 results from an estimated 600 matches similar to: "Class using if/else w/ multiple if conditions"

2013 Mar 11
12
Error: stack level too deep
I''m running a previously working set of modules with the Puppet master version 3.1.0-rc2. I''m getting the Error: stack level too deep Here is a chunk of the debug Debug: Scope(Class[Zabbix]): Retrieving template zabbix/zabbix.conf.php.erb Debug: template[/etc/puppet/environments/production/modules/zabbix/templates/zabbix.conf.php.erb]: Bound template variables for
2013 Feb 07
2
Too Many Running Process
Dear List Users Greetings, i have come across the problem where CentOS 6.3 x64 has more than 700 processes running. i am not sure where to start, what in normal or abnormal. [root at jet]# ps -A PID TTY TIME CMD 1 ? 00:00:03 init 2 ? 00:00:00 kthreadd 3 ? 00:00:00 migration/0 4 ? 00:00:00 ksoftirqd/0 5 ? 00:00:00 migration/0 6
2010 Sep 13
2
Puppet trying to start service before package is installed
Hi, This one is driving me crazy. Problem is Puppet try to start some services (in this case zabbix-agent) before it is installed. My puppet-master is Debian 5.05 with Puppet 2.6.0 (from squeeze). Target system is FreeBSD 8.1 with Puppet 2.6.1 (from packages-8- stable). When I run puppet manually in debug-mode I get: MASTER: debug: Adding relationship from Package[zabbix-agent] to File[zabbix-
2013 Jan 21
4
Unable to replace a symlink with regular file
I am running Puppet 2.7.x (x varies from 14 to 20 on different machines). I am trying to use Puppet to deploy a new Zabbix agent configuration file. On all machines where the file wasn''t a symlink, the deployment worked. However, every machine where it is a link, Puppet refuses to replace teh link with a regular file or do anything with it. I''ve read the type reference, and
2012 Jan 22
5
Augeas lens for zabbix agent config files?
Hi all, I''m trying to come up with a lens for the zabbix agent config files. I find the lens language untransparent at best, so I''m struggeling to figure out what''s up. The debugging possibilities are extremely limited. Here''s what I have now: zabbix.aug: ==== (** An adjusted copy of the postfix_main module **) module Zabbix_agent = autoload xfm
2009 Jul 08
2
Problems with service visibility when use notify
Hi, group! I have such strings on my Freebsd 7.0 + puppet 0.24.8 server: ===================CUT=================== define zabbix_agent_conf($zabbixserverip, $zabbixagenthostname, $zabbixagentip, $startagents="") { file { "/var/tmp/zabbix_agentd.conf": owner => root, group => wheel, mode => 444, backup
2010 Sep 27
4
why does puppet shuffle its ‘phases’ and how can I stop this?
Hi all, class zabbix { file { "/etc/zabbix/": ensure => directory, recurse => true, purge => false, force => false, owner => "root", group => "root", mode => 0755, source => $operatingsystem ? { solaris => "puppet:///zabbix/solaris",
2015 Jun 17
2
selinux allow apache log access
> > Try something like: > grep zabbix /var/log/audit/audit.log | audit2allow -M zabbix > semodule -i zabbix.pp Thanks for your response! However this is what happens when I try to install the module: [root at monitor2:~] #semodule -i zabbix.pp libsepol.print_missing_requirements: zabbix's global requirements were not met: type/attribute zabbix_t (No such file or directory).
2015 Jun 17
2
selinux allow apache log access
> > That's because there's already a zabbix module loaded (the message isn't > very informative!). I forgot that the received wisdom is to insert "my" in > front of ones own modules i.e.: > grep zabbix /var/log/audit/audit.log | audit2allow -M myzabbix > semodule -i myzabbix.pp Hmm no luck there either: [root at monitor2:~] #semodule -i myzabbix.pp
2011 Jul 25
3
Sudo #includedir function ignored CentOS 6
I am unable to get the #includedir function to work with sudo. This works just fine on all my CentOS 5.6 servers, but on 6 it is being ignored. I have this line in the file /etc/sudoers.d/zabbix-puppet zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet However sudo still requires a password. If I put that same line into /etc/sudoers file , there is no password prompt. At the end of my
2010 Aug 25
2
Monitoring Xen with Zabbix..
Is anyone using Zabbix to monitoring Xen at the dom0 level? Right now I have the Zabbix agent running in each domU but I would like to get per domU and aggregated statistics from the hyper visor perspective. I see a bunch of ''hard'' ways to collect these stats but first I want to make sure there isn''t some ''magic pill'' for Zabbix / Xen that I might of
2015 Jun 17
1
selinux allow apache log access
On 06/17/2015 04:03 PM, Jonathan Billings wrote: > On Wed, Jun 17, 2015 at 03:30:51PM -0400, Tim Dunphy wrote: >> No prob! Thanks for all the help! But in searching my system I don't find >> anything of the sort. >> >> [root at monitor2:~] #updatedb >> [root at monitor2:~] #locate myzabbix.te >> [root at monitor2:~] #find / -name "myzabbix.*"
2018 Oct 24
1
Disable logging for localhost
On 2018-10-22 12:16, Shawn Heisey wrote: > On 10/21/2018 8:23 AM, Andr? Rodier wrote: >> I am using Zabbix to monitor my Dovecot server, and my logs are filled >> with lines like this: >> >>> Oct 21 15:04:46 osaka dovecot[1256]: pop3-login: Aborted login (no >>> auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, >>> secured,
2015 Jun 16
2
selinux allow apache log access
Hey guys,. I have a centos 7 machine I'm using as a zabbix server. And I noticed that apache won't start, with this complaint in the error log: (13)Permission denied: AH00091: httpd: could not open error log file /var/log/zabbix_error_log. AH00015: Unable to open logs I tried having a look at audit2allow and this is the response I get back: [root at monitor2:/etc/httpd] #grep http
2016 Feb 23
4
Dependency failures on installing older R packages in Ubuntu
I?ve been trying to install the CRAN Ubuntu r-base-3.1.2 package on Ubuntu 14.04, and I keep getting the following failure: ---------- vagrant at default-ubuntu-1404:/etc$ sudo apt-get install r-base=3.1.2-* Reading package lists... Done Building dependency tree Reading state information... Done Selected version '3.1.2-1trusty0' (CRAN:14.04/trusty [all]) for 'r-base' Some
2015 Oct 16
2
Assistance with understanding how to setup NUT for our small server room
Hello, We have a small server room for our various Proxmox Host Servers, UTM system and managed switches. I've recently discovered NUT and would like to use it to monitor our UPS boxes using Raspberry Pi's. I have a few questions regarding the setup and I'm hoping this community can point me in the right direction. I'll be installing the latest version of NUT on each Raspberry
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
2018 Oct 21
4
Disable logging for localhost
Hello Everyone, I am using Zabbix to monitor my Dovecot server, and my logs are filled with lines like this: > Oct 21 15:04:46 osaka dovecot[1256]: pop3-login: Aborted login (no auth > attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, > session=<bWd0nr14SuF/AAAB> > Oct 21 15:05:29 osaka dovecot[1256]: imap-login: Aborted login (no auth > attempts
2016 Feb 23
3
Dependency failures on installing older R packages in Ubuntu
> >apt is telling you that is has 3.2.3. Why don't you not use it? > >We are volunteers. We do promise that you can install ANY combinations of >ALL >packages at ANY time. We work hard to give you the current packages, >reliably. > >Dirk We are operating an R server in a business production environment, and thus we wish to maintain package stability. I understand
2016 Feb 23
1
Dependency failures on installing older R packages in Ubuntu
On 02/22/2016 07:48 PM, Dirk Eddelbuettel wrote: > > On 23 February 2016 at 00:21, Jordan Dawe wrote: | I?ve been trying > to install the CRAN Ubuntu r-base-3.1.2 package on Ubuntu 14.04, and > I keep getting the following failure: | | ---------- | | > vagrant at default-ubuntu-1404:/etc$ sudo apt-get install > r-base=3.1.2-* > > That is a version that was released well