Puppet Class: librenms::params
- Inherited by:
-
librenms
librenms::config
librenms::rrdcached
- Defined in:
- manifests/params.pp
Overview
Class: librenms::params
Defines some variables based on the operating system
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'manifests/params.pp', line 5
class librenms::params {
include ::os::params
case $::osfamily {
'Debian': {
$clone_source = 'https://github.com/librenms/librenms.git'
$apache_sites_dir = '/etc/apache2/sites-enabled'
$dependency_packages = [
'graphviz',
'fping',
'imagemagick',
'whois',
'mtr-tiny',
'nmap',
'rrdtool',
'snmp',
'php-mail',
'php-net-smtp',
'python3-dotenv',
'python3-pip',
'python3-pymysql'
]
$dependency_pip3_packages = [ 'redis' ]
}
default: {
fail("Unsupported OS: ${::osfamily}")
}
}
$default_poller_modules = {
'unix-agent' => 0,
'os' => 0,
'ipmi' => 0,
'sensors' => 0,
'processors' => 0,
'mempools' => 0,
'storage' => 0,
'netstats' => 0,
'hr-mib' => 0,
'ucd-mib' => 0,
'ipSystemStats' => 0,
'ports' => 0,
'bgp-peers' => 0,
'junose-atm-vp' => 0,
'toner' => 0,
'ucd-diskio' => 0,
'wifi' => 0,
'ospf' => 0,
'cisco-ipsec-flow-monitor' => 0,
'cisco-remote-access-monitor' => 0,
'cisco-cef' => 0,
'cisco-sla' => 0,
'cisco-mac-accounting' => 0,
'cipsec-tunnels' => 0,
'cisco-ace-loadbalancer' => 0,
'cisco-ace-serverfarms' => 0,
'netscaler-vsvr' => 0,
'aruba-controller' => 0,
'entity-physical' => 0,
'applications' => 0,
'cisco-asa-firewall' => 0,
'mib' => 0
}
}
|