smokeping
: Manage SmokePingsmokeping::apache
: Manage Apache configsmokeping::config
: Manage SmokePing configurationsmokeping::install
: Manage SmokePing installationsmokeping::service
: Manage SmokePing service
smokeping::slave
: SmokePing slavesmokeping::target
: SmokePing target
Manage SmokePing
The following parameters are available in the smokeping
class:
mode
master_url
shared_secret
slave_secrets
slave_name
slave_dir
slave_location
slave_display_name
slave_color
master_name
owner
contact
mailhost
cgiurl
syslogfacility
probes
default_probe
alerts_to
alerts_from
alerts
cgi_remark_top
cgi_title_top
targets_dir
targets
daemon_user
daemon_group
path_sendmail
webserver_user
webserver_group
path_imgcache
path_imgurl
path_datadir
path_piddir
path_smokemail
path_tmail
version
enable
start
manage_apache
manage_firewall
manage_selinux
manage_datadir
manage_imgcache
package_perldoc
syslogpriority
default_slaves
servername
Data type: Enum['master', 'slave', 'standalone']
SmokePing mode: master, slave, or standalone
Data type: Stdlib::HTTPUrl
URL to master cgi for slave mode
Data type: Stdlib::Absolutepath
Path to slavesecrets file
Default value: '/etc/smokeping/slavesecrets.conf'
Data type: Stdlib::Absolutepath
Path to smokeping_secrets file
Default value: '/etc/smokeping/smokeping_secrets'
Data type: String[1]
Name of slave. Only used in slave mode
Default value: 'slave1'
Data type: Stdlib::Absolutepath
Path to slave definitions on master
Default value: '/etc/smokeping/config.d/slaves.d'
Data type: Optional[String[1]]
Location of slave
Default value: undef
Data type: Optional[String[1]]
Name of slave, displayed on Webpage
Default value: undef
Data type: Optional[Integer[0]]
Color of slave in the graph, as a RRGGBB hex integer.
Default value: undef
Data type: String[1]
Name of the master, in case of more than one SmokePing Master/Slave
Default value: 'default'
Data type: String[1]
Owner of this SmokePing instance
Default value: 'Peter Random'
Data type: Stdlib::Email
Contact E-Mail of this SmokePing instance
Default value: 'root@localhost'
Data type: Optional[Stdlib::Host]
Where to send mails to
Default value: undef
Data type: Stdlib::HTTPUrl
URL of SmokePing CGI
Data type: Stdlib::Syslogfacility
Syslog Facility
Default value: 'local0'
Data type: Array[Hash]
Probe definitions as Array of Hashes
Default value: []
Data type: String[1]
Default Probe
Default value: 'FPing'
Data type: Stdlib::Email
E-Mail address or tool to send Alerts to
Default value: 'root@localhost'
Data type: Stdlib::Email
Sender E-Mail of Alerts
Default value: 'root@localhost'
Data type: Array[Hash]
Alert definitions as Array of Hashes
Default value:
[
{
name => 'someloss',
alert_type => 'loss',
pattern => '>0%,*12*,>0%,*12*,>0%',
edgetrigger => false,
comment => 'loss 3 times in a row',
},
]
Data type: String[1]
Remark on Website
Default value: 'Welcome to the SmokePing website of xxx Company. Here you will learn all about the latency of our network.'
Data type: String[1]
Title on Website
Default value: 'Network Latency Grapher'
Data type: Stdlib::Absolutepath
Where to save target definitions
Default value: '/etc/smokeping/config.d/targets.d'
Data type: Hash
Target definitions as a Hash of Smokeping::Target
Default value: {}
Data type: String[1]
User to run SmokePing
Data type: String[1]
Group of SmokePing
Data type: Stdlib::Absolutepath
Path to sendmail binary
Default value: '/usr/sbin/sendmail'
Data type: String[1]
User of webserver, owner of image-files
Data type: String[1]
Group of webserver
Data type: Stdlib::Absolutepath
Path to image cache dir
Data type: String[1]
URL path to images for CGI
Data type: Stdlib::Absolutepath
Path to smokeping data
Data type: Stdlib::Absolutepath
Path to PID file
Default value: '/var/run/smokeping'
Data type: Stdlib::Absolutepath
Path to smokemail binary
Default value: '/etc/smokeping/smokemail'
Data type: Stdlib::Absolutepath
Path to tmail binary
Default value: '/etc/smokeping/tmail'
Data type: String[1]
Version which should be installed
Default value: 'present'
Data type: Boolean
Should the service be enabled during boot time?
Default value: true
Data type: Boolean
Should the service be started by Puppet?
Default value: true
Data type: Boolean
Should we manage the Apache config with puppetlabs/apache?
Default value: false
Data type: Boolean
Should we manage a firewall rule for Smokeping with puppetlabs/firewall?
Default value: false
Data type: Boolean
Should we load an SELinux policy to allow Smokeping to work on Red Hat distros?
Default value: false
Data type: Boolean
Should we manage the data directory?
Default value: true
Data type: Boolean
Should we manage the permissions on the imgcache directory?
Default value: true
Data type: String[1]
Data type: String[1]
Default value: 'info'
Data type: Array[String[1]]
Default value: []
Data type: Stdlib::Fqdn
Default value: $facts['networking']['fqdn']
Manage Apache config
Manage SmokePing configuration
Manage SmokePing installation
Manage SmokePing service
SmokePing slave
The following parameters are available in the smokeping::slave
defined type:
Data type: Optional[String[1]]
Location of slave
Default value: undef
Data type: String[1]
Name of the slave
Data type: Integer[0]
Color of this slave
Data type: Any
Name of the smokeping master, in case there are more than one.
Default value: 'default'
SmokePing target
The following parameters are available in the smokeping::target
defined type:
pagetitle
menu
hierarchy_level
hierarchy_parent
probe
host
alerts
slaves
nomasterpoll
remark
options
Data type: Optional[String[1]]
Title. If empty, menu will be used as Title
Default value: undef
Data type: Optional[String[1]]
Menu name.
Default value: undef
Data type: Integer
Level of this target on the menu hierarchy.
Default value: 1
Data type: Optional[String[1]]
If hierarchy_level > 1, this specifies the parent.
Default value: undef
Data type: Optional[String[1]]
Which probe to use.
Default value: undef
Data type: Optional[String[1]]
Target host name/IP.
Default value: undef
Data type: Array
Array of Alerts to apply to this target
Default value: []
Data type: Array
Array of slaves on which to run this target
Default value: []
Data type: Boolean
Disable data-polling from master
Default value: false
Data type: Optional[String[1]]
Remark displayed on Website
Default value: undef
Data type: Hash
Default value: {}