ignore zero swap

Bug #1693657 reported by Paul Collins
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
NRPE Charm
Won't Fix
Medium
Unassigned

Bug Description

Swap is becoming more and more unusual, since almost everything is deployed to a virtual environment, and paging inside a VM is generally best avoided.

However, check_swap defaults to failing if there is no swap partition. check_swap in xenial supports a "-n ok" flag to ignore this condition. We should append this by default.

Haw Loeung (hloeung)
Changed in nrpe-charm:
status: New → Confirmed
Paul Gear (paulgear)
Changed in nrpe-charm:
status: Confirmed → Triaged
Tom Haddon (mthaddon)
Changed in nrpe-charm:
importance: Undecided → Medium
Revision history for this message
Tom Haddon (mthaddon) wrote :

Something like this might work: https://pastebin.ubuntu.com/25632216/

Untested, but recording here in case I get a chance to pick up on this again

Eric Chen (eric-chen)
Changed in charm-nrpe:
status: Triaged → Won't Fix
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.