Skip to content

Commit

Permalink
Fixed available ram check
Browse files Browse the repository at this point in the history
  • Loading branch information
penguin86 committed Apr 1, 2022
1 parent 8a70ee0 commit f0b83c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion healthcheck.cfg.example
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ ALARM_VALUE_LESS_THAN=20
[available_ram]
# Like Free ram, but shows available instead of free. You may want to use this if you use a memcache.
DISABLED=True
COMMAND=free | grep Mem | awk '{print int($6/$2 * 100.0)}'
COMMAND=free | grep Mem | awk '{print int($7/$2 * 100.0)}'
ALARM_VALUE_LESS_THAN=20

[cpu_temperature]
Expand Down

0 comments on commit f0b83c8

Please sign in to comment.