-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into update-go-and-deps
- Loading branch information
Showing
9 changed files
with
169 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type = "a" | ||
message = "Add operating system packages for Linux ARM64." | ||
|
||
pulls = ["480"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright (C) 2020 Graylog, Inc. | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the Server Side Public License, version 1, | ||
// as published by MongoDB, Inc. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// Server Side Public License for more details. | ||
// | ||
// You should have received a copy of the Server Side Public License | ||
// along with this program. If not, see | ||
// <http://www.mongodb.com/licensing/server-side-public-license>. | ||
|
||
package common | ||
|
||
func GetCpuIdle() float64 { | ||
return -1 | ||
} | ||
|
||
func GetFileSystemList75(string) []string { | ||
return []string{} | ||
} | ||
|
||
func GetLoad1() float64 { | ||
return -1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
require_relative 'tools' | ||
|
||
class GraylogSidecar < FPM::Cookery::Recipe | ||
description 'Graylog collector sidecar' | ||
|
||
name 'graylog-sidecar' | ||
version data.version | ||
revision data.revision | ||
homepage 'https://graylog.org' | ||
arch 'arm64' | ||
|
||
source "file:../../build/#{version}/linux/arm64/graylog-sidecar" | ||
|
||
maintainer 'Graylog, Inc. <hello@graylog.org>' | ||
vendor 'graylog' | ||
license 'SSPL' | ||
|
||
config_files '/etc/graylog/sidecar/sidecar.yml' | ||
|
||
fpm_attributes rpm_os: 'linux' | ||
|
||
def build | ||
end | ||
|
||
def install | ||
bin.install 'graylog-sidecar' | ||
lib('graylog-sidecar').install '../../collectors/filebeat/linux/arm64/filebeat' | ||
lib('graylog-sidecar').install '../../collectors/auditbeat/linux/arm64/auditbeat' | ||
etc('graylog/sidecar').install '../../../sidecar-example.yml', 'sidecar.yml' | ||
var('lib/graylog-sidecar/generated').mkdir | ||
var('log/graylog-sidecar').mkdir | ||
var('run/graylog-sidecar').mkdir | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters