Resource Type: opnsense_nodeexporter_config
- Defined in:
- lib/puppet/type/opnsense_nodeexporter_config.rb
Summary
Manage opnsense prometheus nodeexporter configOverview
This type provides Puppet with the capabilities to manage opnsense nodeexporter config.
Examples:
opnsense_nodeexporter_config { 'opnsense.example.com':
device => 'opnsense.example.com',
enabled => false,
listen_address => '0.0.0.0',
listen_port => '9100',
cpu => true,
exec => true,
filesystem => true,
loadavg => true,
meminfo => true,
netdev => true,
time => true,
devstat => true,
interrupts => false,
ntp => false,
zfs => false,
ensure => 'present',
}
Properties
-
cpu
Enable or disable the cpu collector.
-
devstat
Enable or disable the devstat collector.
-
enabled
Enable or disable the node_exporter plugin.
-
ensure
(defaults to: present)
Whether this resource should be present or absent on the target system.
-
exec
Enable or disable the exec collector.
-
filesystem
Enable or disable the filesystem collector.
-
interrupts
Enable or disable the interrupts collector.
-
listen_address
Set node_exporter's listen address. By default, node_exporter will listen on 0.0.0.0 (all interfaces).
-
listen_port
Set node_exporter's listen port. By default, node_exporter will listen on port 9100.
-
loadavg
Enable or disable the loadavg collector.
-
meminfo
Enable or disable the meminfo collector.
-
netdev
Enable or disable the netdev collector.
-
ntp
Enable or disable the ntp collector.
-
time
Enable or disable the time collector.
-
zfs
Enable or disable the zfs collector.
Parameters
-
device (namevar)
The name of the opnsense_device type you want to manage.