sas3ircu NRPE check results in error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-health-charm |
Won't Fix
|
Low
|
Unassigned |
Bug Description
cs:hw-health-12
Running Focal
The check_sas3ircu.py plugin returns an error:
# /usr/local/
Traceback (most recent call last):
File "/usr/local/
main(
File "/usr/local/
data = parse_output(
File "/usr/local/
sections = sections_
AttributeError: 'NoneType' object has no attribute 'groupdict'
This results in the check showing as 'UNKNOWN' in Nagios, and the check being unusable.
The resource 'tools' was attached from charmstore, which is a 0 byte file due to tooling distribution limitations.
We need to update the error message in the charm, to confirm that the correct tools are indeed available in the resource, and installed, prior to adding the NRPE checks. Missing tools should set the charm to blocked status.
this is almost a duplicate of bug 1943736