Wallyworld Nrpe
- By ian.booth@canonical.com
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 0 | 19 Mar 2021 |
juju deploy wallyworld-nrpe
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
conntrack | string
Default: -w 80 -c 90
conntrack table check
-
debug | boolean
Setting debug to True enables debug=1 in nrpe.cfg
-
disk_root | string
Default: -u GB -w 25% -c 20% -K 5%
Root disk check. This can be made to also check non-root disk systems as follows: -u GB -w 20% -c 15% -r '/srv/juju/vol-' -C -u GB -w 25% -c 20% The string '-p /' will be appended to this check, so you must finish the string taking that into account. See the nagios check_disk plugin help for further details.
-
dont_blame_nrpe | boolean
Setting dont_blame_nrpe to True sets dont_blame_nrpe=1 in nrpe.cfg This config option which allows specifying arguments to nrpe scripts. This can be a security risk so it is disabled by default. Nrpe is compiled with --enable-command-args option by default, which this option enables.
-
export_nagios_definitions | boolean
If True nagios check definitions are written to '/var/lib/nagios/export' and rync is configured to allow nagios_master to collect them. Useful when Nagios is outside of the juju environment
-
hostcheck_inherit | string
Default: server
Hostcheck to inherit
-
hostgroups | string
Comma separated list of hostgroups to add for these hosts
-
load | string
Default: auto
Load check arguments (e.g. "-w 8,8,8 -c 15,15,15"); if 'auto' is set, then NUM_CPUS*0.7 is used for the warning threshold and NUM_CPUS for critical.
-
mem | string
Default: -C -u -w 85 -c 90
Memory check
-
monitors | string
Additional monitors defined in the monitors yaml format (see README)
-
nagios_address_type | string
Default: private
Determines whether the nagios host check should use the private or public IP address of an instance. Can be "private" or "public".
-
nagios_host_context | string
Default: juju
A string which will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-postgresql-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.
-
nagios_hostname_type | string
Default: unit
Determines whether a server is identified by its unit name or host name. If you're in a virtual environment, "unit" is probably best. If you're using MaaS, you may prefer "host".
-
nagios_master | string
Default: None
IP address of the nagios master from which to allow rsync access
-
procs | string
Set thresholds for number of running processes. Defaults to disabled; to enable, specify 'auto' for the charm to generate thresholds based on processor count, or manually provide arguments for check_procs, for example: "-k -w 250 -c 300" to set warning and critical levels manually and exclude kernel threads.
-
server_port | int
Default: 5666
Port on which nagios-nrpe-server will listen
-
sub_postfix | string
Default: _sub
A string to be appended onto all the nrpe checks created by this charm to avoid potential clashes with existing checks
-
swap | string
Default: -w 40% -c 25%
Swap check
-
swap_activity | string
Default: -i 5 -w 100 -c 500
Swap activity check
-
users | string
Set thresholds for number of logged-in users. Defaults to disabled; to enable, manually provide arguments for check_user, for example: "-w 20 -c 25"
-
zombies | string
Zombie processes check; defaults to disabled. To enable, set the desired check_procs arguments pertaining to zombies, for example: "-w 3 -c 6 -s Z"