blob: 578b417ea80310eded66dd0497304b248b069c6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Put a Nagios service check in place for a specific tunnel.
#
# The resource name will be used to point to the corresponding stunnel
# configuration file.
#
define stunnel::service::nagios () {
nagios::service { "stunnel_${name}":
check_command => "nagios-stat-proc!/usr/bin/stunnel4 /etc/stunnel/${name}.conf!6!5!proc";
}
}
|