Charm should inform about empty file

Bug #1943740 reported by Dariusz Smigiel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hw-health-charm
Fix Released
Medium
Unassigned

Bug Description

When charm reads an empty file, it returns
> WARNING: controller not found

However, there is underlying issue with the file itself, which is empty:

root@compute-server-7:/var/lib/nagios# cat megacli.out
root@compute-server-7:/var/lib/nagios#

Charm should report different information about missing output in a file.

Related branches

Revision history for this message
Drew Freiberger (afreiberger) wrote :

* when the check_$tool script (specifically check_megacli) finds it's input file from cron is blank, it should note that instead of generic warning that the controller is not found.

Changed in charm-hw-health:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
James Troup (elmo)
Changed in charm-hw-health:
status: Triaged → Fix Committed
Celia Wang (ziyiwang)
Changed in charm-hw-health:
status: Fix Committed → Fix Released
milestone: none → 22.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.