nixpkgs/pkgs/servers/monitoring/sensu/default.nix

55 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, bundlerApp, bundlerUpdateScript }:
2019-04-30 18:22:28 +02:00
bundlerApp {
pname = "sensu";
2017-02-22 13:18:05 +01:00
gemdir = ./.;
2019-04-30 18:22:28 +02:00
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";
2017-02-22 13:18:05 +01:00
meta = with lib; {
description = "A monitoring framework that aims to be simple, malleable, and scalable";
homepage = https://sensuapp.org/;
2017-02-22 13:18:05 +01:00
license = licenses.mit;
maintainers = with maintainers; [ theuni peterhoeg manveru nicknovitski ];
2017-02-22 13:18:05 +01:00
platforms = platforms.unix;
};
}