Skip to content

Commit

Permalink
fetch system overcommit_memory (#146)
Browse files Browse the repository at this point in the history
Co-authored-by: Saeid Hassan-Abadi <saeid@Saeids-MacBook-Pro.local>
  • Loading branch information
Saeid-Abadi and Saeid Hassan-Abadi authored Nov 18, 2024
1 parent 5a97d3a commit d24a311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/icingadb/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var files = []string{
"/etc/icingadb",
"/etc/icingadb-redis",
"/etc/icinga2/features-enabled/icingadb.conf",
"/proc/sys/vm/overcommit_memory",
}

var detailedFiles = []string{
Expand Down
1 change: 1 addition & 0 deletions modules/redis/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var relevantPaths = []string{

var files = []string{
"/etc/redis*",
"/proc/sys/vm/overcommit_memory",
}

var optionalFiles = []string{
Expand Down

0 comments on commit d24a311

Please sign in to comment.