shoekstra on use_nginx
tas50 on master
Depend on nginx instead of chef… Use nginx >= 7.0 Merge pull request #552 from so… (compare)
shoekstra on use_nginx
Use nginx >= 7.0 (compare)
shoekstra on use_nginx
Depend on nginx instead of chef… (compare)
shoekstra on release_8.0.0
Release 8.0.0 (compare)
shoekstra on use_nginx
Depend on nginx instead of chef… (compare)
puts self.class
so if we change this:
def update_hash_options(hash)
hash.each do |k, v|
push(Nagios::CustomOption.new(k.upcase, v)) if k.start_with?('_')
m = k + '='
send(m, v) if self.respond_to?(m)
end
end
into this:
def update_hash_options(hash)
hash.each do |k, v|
if self.is_a?(Nagios::Service) || self.is_a?(Nagios::Contact) || self.is_a?(Nagios::Host)
push(Nagios::CustomOption.new(k.upcase, v)) if k.start_with?('_')
end
m = k + '='
send(m, v) if self.respond_to?(m)
end
end
pardon
define contact {
contact_name bi-pagerduty
alias BI PagerDuty Pseudo-Contact
service_notification_period 24x7
host_notification_period 24x7
service_notification_options u,c,r
host_notification_options d,r
service_notification_commands notify-service-by-pagerduty
host_notification_commands notify-host-by-pagerduty
pager jew0efj0ejf01j0enjkqnjwnqdk
}
How we can define contact without email?