Displaying 20 results from an estimated 1000 matches similar to: "Exported Resources with keyword undef"
2015 May 24
2
specify port on check_memcached.pl
Hey guys,
I'm trying use check_memcached.pl to monitor a couple of memcached services
running on two ports.
I have my command definition setup like this:
# 'check_memcached' command definition
define command {
command_name check_memcached
command_line $USER1$/check_memcached.pl -H $HOSTADDRESS$ -p $ARG1$
}
And I have my service definitions setup like this:
# Define a
2012 Jan 17
4
Exported variable foo...(fu?)
Hi folks,
For the first time since I started playing with puppet I started down the
road of using exported resources This was inspired by my reading all of the
nagios related recipes that went something along the lines of
class nagios {
package {nagios: ensure=> latest }
service {nagios : ensure => running , enable => true}
Nagios_host <<! !>>
2007 Apr 11
10
Nagios asterisk monitoring
Dear list,
I am trying to configure the nagios plugin called check_sip. I just read the
README file included with the plugin. I follow the readme steps to configure
the plugin, without success. In the nagios web interface I can see (No
output!) In the status information column. If I run the chech_sip plugin
from a linux console, I get
/usr/local/nagios/libexec# ./check_sip -u
2010 Oct 20
2
nagios_service types and "name"
It seems that the nagios_service type will not write out the "name"
property of nagios service objects. I had thought this was an oversight
or a bug, till I saw this thread:
http://www.mail-archive.com/puppet-bugs@googlegroups.com/msg10387.html
which seems to imply that this is a deliberate "feature". Is this
prohibition on "name" really the desired behaviour?
2011 Apr 04
4
Puppet nagios integration problem
Hi all,
I''m working on setting up Puppet to write out my Nagios configs. A few
weeks back I inserted a few dummy Nagios checks into my Puppet config,
and the Nagios configs were written out properly.
I''ve now added loads of Nagios host and service checks like this:
@@nagios_service { "check_smtp_${hostname}":
check_command =>
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/
2011 Nov 04
1
Storeconfigs and nagios and foreman
All-
Poking around in the bug database it looks like storeconfigs is being
actively worked on. I am using 2.7.6 on my master as well as all the
clients. I have clients boot , start puppet and get a signed cert via
auto signing. The nagios module (and currently the only thing puppet
does) complains a lot during compile time about not having
storeconfigs enabled, which is not the case in my
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
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
2015 May 14
3
nagios check_local_disk failing
Hey all,
I have a local disk check defined which is giving me an error:
Current Status:
UNKNOWN
(for 0d 0h 1m 38s)Status Information:Unknown argument
Usage:
check_disk -w limit -c limit [-W limit] [-K limit] {-p pathPerformance Data:-x
device} [-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r
path ] [-t timeout] [-u unit] [-v] [-X type] [-N type] [-n]
I have a local check
2015 May 14
0
nagios check_local_disk failing
On 14/05/2015 02:42, Tim Dunphy wrote:
> Hey all,
>
> I have a local disk check defined which is giving me an error:
>
> Current Status:
> UNKNOWN
> (for 0d 0h 1m 38s)Status Information:Unknown argument
> Usage:
> check_disk -w limit -c limit [-W limit] [-K limit] {-p pathPerformance Data:-x
> device} [-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ]
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.
2003 Mar 16
0
creating directories on destination
Hello,
I need some advice on having rsync automatically create directories on the
destination server
I have the following directory structure:
source host:
/home/user1/
/home/user2/
etc.
/var/lib/mysql/db1
/var/lib/mysql/db2
etc.
On the destination host (host_name) I have:
/home/backups/host_name/
and I want to backup the source host to this dir so that at the end of the
backup I have:
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 = ''''
) {
2011 Nov 21
0
WG: Re: AW: nagios_service does not replace target file
This module does basically what I have done in the very beginning. Create an empty directory as a preparation step for the configuration files. But this configuration also did not regenerate the files. Seems, I will stick with my workaround and delete the files manually and the restart the Puppet agent. If anyone is interested in details, see: http://wp.me/p1RukY-1n.
Thanks for helping, Gabriel!
2011 Jun 13
0
unmanaging config data
Hi,
I''m happily aware of the way that there is no concept of unmanaging
something and when this is in the context of a file ownership or whatever,
then that makes sense. But when this is applied to things like nagios
configuration data the principle seems to come unstuck. Or at least, it
seems so to me.
Say I have a nagios_service which uses another template nagios_service. I am
about
2011 Dec 23
1
Help - Mounting a Windows computer with two IP addresses
Hi all,
I need to mount a Windows share locally on my laptop. However, I cannot
do this via
sudo mount -t smbfs //host_name/share_name /local_mount
because the host_name has two IP addresses with it as shown by nmblookup
//host_name.
(That is, I try mounting and I'm given this error:
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
2024 May 06
1
Feature request/EOI: Match interactive config?
On Mon, 6 May 2024, openssh at tr.id.au wrote:
> ... and I guess your next question will be about compilation environment, so:
>
> ```
> $ gcc --version
> gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210
> Copyright (C) 2023 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY
2006 Jan 02
0
Service.open
Hi all,
At the suggestion of a user, I''ve added a Service.open method in CVS.
Looks like this:
service = Service.open("ClipSrv")
puts service.display_name
puts service.service_description
# or
Service.open("myservice") do |s|
s.service_description = "test"
s.display_name = "new display"
s.configure_service
end
What do you think?
Dan
2024 May 06
1
Feature request/EOI: Match interactive config?
On Sat, 4 May 2024, openssh at tr.id.au wrote:
> Hey there,
>
> I often want different behavior in my ssh client depending on
> whether I'm logging into an interactive session or running
> a remote non-interactive command. We can see at, say,
> https://unix.stackexchange.com/a/499562/305714 that this isn't a
> unique wish, and existing solutions are kind of baroque.