Merge ~guoqiao/charm-nrpe:LP1915106-skip-unfound-ifaces into charm-nrpe:master
Proposed by
Joe Guo
Status: | Merged |
---|---|
Approved by: | Joe Guo |
Approved revision: | 9010e2f4ad33a3e54c8fd57d02b37e28c18ef191 |
Merge reported by: | Joe Guo |
Merged at revision: | 9010e2f4ad33a3e54c8fd57d02b37e28c18ef191 |
Proposed branch: | ~guoqiao/charm-nrpe:LP1915106-skip-unfound-ifaces |
Merge into: | charm-nrpe:master |
Diff against target: |
35 lines (+8/-1) 2 files modified
config.yaml (+5/-0) hooks/nrpe_helpers.py (+3/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Linda Guo (community) | Approve | ||
Xav Paice (community) | Approve | ||
Review via email: mp+398422@code.launchpad.net |
Commit message
add --skip-
Add an new boolean option `netlinks_
When True, add --skip-
LP: #1915106
To post a comment you must log in.
tested locally, when netlink_ skip_unfound_ ifaces = True, the render result will be:
ubuntu@ juju-5e35e2- 0:/etc/ nagios/ nrpe.d$ cat check_netlinks_ eth0.cfg check_netlinks_ eth0]=/ usr/local/ lib/nagios/ plugins/ check_netlinks. py --skip- unfound- ifaces -i eth0 -m 9000 -s 25000
# Netlinks status (eth0) (sub)
command[
which is as expected.