Displaying 6 results from an estimated 6 matches for "contact_group".
Did you mean:
contact_groups
2009 Apr 22
3
Exported Resources with keyword undef
Hello !
I''m using a lot of nagios_ commands in my puppet manifests and I saw a
problem when using ''undef'' in exported resources :
Here is a simple example :
define nagios::service::distributed ($ensure=present,
$service_description, $host_name=false, $contact_groups=false) {
nagios_service {$name:
ensure => $ensure,
use => "generic-service-active",
host_name => $host_name ? {false => $hostname, default => $host_name},
check_command => $name,
tag => "nagios",
service_description => $service...
2015 May 24
2
specify port on check_memcached.pl
...ervice to check memcached on web1 (just the basics for right
now).
define service{
use local-service ; Name of
service template to use
host_name web1
service_description Check Memcached 11211
contact_groups linux-admins
check_command check_memcached!web1.example.com
!11211
notifications_enabled 1
}
# Define a service to check memcached on web1 (just the basics for right
now).
define service{
use...
2007 Apr 11
10
Nagios asterisk monitoring
...SER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5
}
define service{
use generic-service
host_name -PBX
service_description SIP test
check_command check_sip!sip:108@192.168.30.10
contact_groups admins
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
notification_interval 240
check_period 24x7
notification_period 24x7
notification_...
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/
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 = ''''
) {
@@file { $name:
name =>
"/etc/nagios/conf.d/services/${fqdn}_${na...
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