aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/monitoring/sensu/default.nix
blob: 82c52b18d4055c8e92a410cc344f9b7a05138846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{ lib, bundlerApp, bundlerUpdateScript }:

bundlerApp {
  pname = "sensu";
  gemdir = ./.;
  exes = [
    "sensu-api"
    "sensu-client"
    "sensu-install"
    "sensu-server"

    # indirect, but might be important
    "check-disk-usage.rb"
    "check-fstab-mounts.rb"
    "check-smart.rb"
    "check-smart-status.rb"
    "check-smart-tests.rb"
    "metrics-disk-capacity.rb"
    "metrics-disk.rb"
    "metrics-disk-usage.rb"

    "check-head-redirect.rb"
    "check-http-cors.rb"
    "check-http-json.rb"
    "check-http.rb"
    "check-https-cert.rb"
    "check-last-modified.rb"
    "metrics-curl.rb"
    "metrics-http-json-deep.rb"
    "metrics-http-json.rb"

    "check-influxdb-query.rb"
    "check-influxdb.rb"
    "metrics-influxdb.rb"
    "mutator-influxdb-line-protocol.rb"

    "check-journal.rb"
    "check-log.rb"
    "handler-logevent.rb"
    "handler-show-event-config.rb"

    "check-systemd.rb"
  ];

  passthru.updateScript = bundlerUpdateScript "sensu";

  meta = with lib; {
    description = "A monitoring framework that aims to be simple, malleable, and scalable";
    homepage    = https://sensuapp.org/;
    license     = licenses.mit;
    maintainers = with maintainers; [ theuni peterhoeg manveru nicknovitski ];
    platforms   = platforms.unix;
  };
}