nrpe.NRPE.write doesn't support multiple writes (previous checks will be lost for nagios)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
Per [1], checks will be configured in /etc/nagios/
1) Sample 1 (works fine):
"""
nrpe_setup = nrpe.NRPE()
nrpe_setup.
nrpe_setup.
nrpe_setup.write()
"""
2) Sample 2 (only test2 will be configured in nagios):
"""
def func(name):
nrpe_setup = nrpe.NRPE()
nrpe_
nrpe_
func('test1')
func('test2')
"""
I think the NRPE class should support a "clear" method or already existing checks should be kept.
OTOH: nrpe-external-
1. https:/
2. https:/