mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
1e6ddceb83
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS. * gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise. * gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]: Likewise. * gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise. * gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise. * gnu/packages/astronomy.scm (casacore, sextractor, libnova) (xplanet)[home-page]: Likewise. * gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao) (freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms) (libmodplug, libxmp, xmp, sox, drc, gsm, gnaural) (streamripper)[home-page]: Likewise. * gnu/packages/authentication.scm (pamtester)[home-page]: Likewise. * gnu/packages/backup.scm (grsync)[home-page]: Likewise. * gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma) (r-plgem)[home-page]: Likewise. * gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1) (bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard) (java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools) (snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip) (libsbml)[home-page]: Likewise. * gnu/packages/build-tools.scm (tup)[home-page]: Likewise. * gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools) (cd-discid)[home-page]: Likewise. * gnu/packages/check.scm (cunit, python-nose) (python-pyhamcrest)[home-page]: Likewise. * gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise. * gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise. * gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise. * gnu/packages/compression.scm (p7zip)[home-page]: Likewise. * gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial) (r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook) (r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags) (r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm) (r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet) (r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde) (r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels) (r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom) (r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat) (r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]: Likewise. * gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13) (rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20) (rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20) (rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20) (rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise. * gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise. * gnu/packages/curl.scm (curlpp)[home-page]: Likewise. * gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger) (libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers) (soci)[home-page]: Likewise. * gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise. * gnu/packages/debug.scm (remake)[home-page]: Likewise. * gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise. * gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise. * gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise. * gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise. * gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise. * gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise. * gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise. * gnu/packages/electronics.scm (xoscope)[home-page]: Likewise. * gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu) (emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel) (emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc) (emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap) (emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+) (emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise. * gnu/packages/embedded.scm (sdcc)[home-page]: Likewise. * gnu/packages/engineering.scm (asco, libngspice, libspnav) (openctm)[home-page]: Likewise. * gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise. * gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]: Likewise. * gnu/packages/finance.scm (gbonds)[home-page]: Likewise. * gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]: Likewise. * gnu/packages/fltk.scm (ntk)[home-page]: Likewise. * gnu/packages/fonts.scm (font-terminus, font-tex-gyre) (font-comic-neue)[home-page]: Likewise. * gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]: Likewise. * gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave) (python-myhdl)[home-page]: Likewise. * gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise. * gnu/packages/ftp.scm (weex)[home-page]: Likewise. * gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc) (eureka, plib)[home-page]: Likewise. * gnu/packages/games.scm (abe, alex4, armagetronad, barony) (foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally) (cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki) (quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks) (flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise. * gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise. * gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise. * gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish) (workrave)[home-page]: Likewise. * gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise. * gnu/packages/graph.scm (mscgen)[home-page]: Likewise. * gnu/packages/graphics.scm (assimp, alembic, ctl, agg) (opencsg)[home-page]: Likewise. * gnu/packages/graphviz.scm (gts)[home-page]: Likewise. * gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise. * gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise. * gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise. * gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise. * gnu/packages/haskell-web.scm (ghc-http-client-restricted) (ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg) (ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats) (ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints) (ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon) (ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards) (ghc-template-haskell, ghc-boot-th, ghc-binary-orphans) (ghc-postgresql-simple)[home-page]: Likewise. * gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise. * gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise. * gnu/packages/image-processing.scm (mia)[home-page]: Likewise. * gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr) (qiv)[home-page]: Likewise. * gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib) (sng, mtpaint)[home-page]: Likewise. * gnu/packages/java-xml.scm (java-simple-xml, java-jaxp) (java-apache-xml-commons-resolver)[home-page]: Likewise. * gnu/packages/java.scm (java-cisd-base, java-cisd-args4j) (java-hamcrest-core, java-jsr305, java-eclipse-osgi) (java-eclipse-equinox-common, java-eclipse-core-jobs) (java-eclipse-equinox-registry, java-eclipse-equinox-app) (java-eclipse-equinox-preferences, java-eclipse-core-contenttype) (java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq) (java-cdi-api)[home-page]: Likewise. * gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise. * gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]: Likewise. * gnu/packages/kde-internet.scm (kget)[home-page]: Likewise. * gnu/packages/kde-systemtools.scm (dolphin-plugins) (konsole)[home-page]: Likewise. * gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise. * gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise. * gnu/packages/lego.scm (nqc)[home-page]: Likewise. * gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise. * gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise. * gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise. * gnu/packages/libffi.scm (libffi)[home-page]: Likewise. * gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]: Likewise. * gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise. * gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools) (kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise. * gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]: Likewise. * gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser) (sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore) (sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell) (sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise. * gnu/packages/lisp.scm (lush2)[home-page]: Likewise. * gnu/packages/logging.scm (log4cpp)[home-page]: Likewise. * gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise. * gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]: Likewise. * gnu/packages/mail.scm (muchsync, procmail, sendmail) (opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise. * gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise. * gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh) (metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3) (frama-c)[home-page]: Likewise. * gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]: Likewise. * gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise. * gnu/packages/monitoring.scm (python-whisper, python-carbon) (hostscope)[home-page]: Likewise. * gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321) (lame)[home-page]: Likewise. * gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise. * gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol) (portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot) (schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2) (shiru-lv2)[home-page]: Likewise. * gnu/packages/ncurses.scm (stfl)[home-page]: Likewise. * gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird) (tunctl, traceroute)[home-page]: Likewise. * gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise. * gnu/packages/ntp.scm (openntpd)[home-page]: Likewise. * gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib) (ocaml-graph, cubicle)[home-page]: Likewise. * gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise. * gnu/packages/package-management.scm (xstow, modules)[home-page]: Likewise. * gnu/packages/parallel.scm (xjobs)[home-page]: Likewise. * gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]: Likewise. * gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]: Likewise. * gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]: Likewise. * gnu/packages/plan9.scm (drawterm)[home-page]: Likewise. * gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]: Likewise. * gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise. * gnu/packages/profiling.scm (otf2)[home-page]: Likewise. * gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise. * gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise. * gnu/packages/python-web.scm (python-cssutils) (python-translationstring)[home-page]: Likewise. * gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml) (python-docutils, python-pexpect, python-importlib-resources) (python-simplegeneric, python-urwid, python-xlrd, python-xlwt) (python-pyasn1, python-pythondialog, python-tftpy, python-random2) (python-arcp, python-pyopengl, python-sortedcollections) (python-sortedcontainers, python-yapsy, python-pydispatcher) (python-posix-ipc)[home-page]: Likewise. * gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise. * gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise. * gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise. * gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise. * gnu/packages/regex.scm (tre)[home-page]: Likewise. * gnu/packages/rsync.scm (librsync)[home-page]: Likewise. * gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox) (ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise. * gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise. * gnu/packages/screen.scm (dtach)[home-page]: Likewise. * gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise. * gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise. * gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise. * gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]: Likewise. * gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise. * gnu/packages/speech.scm (espeak)[home-page]: Likewise. * gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise. * gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice) (r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable) (python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm) (r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]: Likewise. * gnu/packages/swig.scm (swig)[home-page]: Likewise. * gnu/packages/task-management.scm (wtime)[home-page]: Likewise. * gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise. * gnu/packages/terminals.scm (libtermkey, mlterm, libvterm) (libvterm)[home-page]: Likewise. * gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs) (texlive-csplain, biber, texmaker)[home-page]: Likewise. * gnu/packages/text-editors.scm (joe)[home-page]: Likewise. * gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise. * gnu/packages/tv.scm (tvtime)[home-page]: Likewise. * gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise. * gnu/packages/upnp.scm (libupnp)[home-page]: Likewise. * gnu/packages/version-control.scm (cvs)[home-page]: Likewise. * gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib) (liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl) (dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise. * gnu/packages/virtualization.scm (bochs)[home-page]: Likewise. * gnu/packages/w3m.scm (w3m)[home-page]: Likewise. * gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi) (tidy-html, htmlcxx)[home-page]: Likewise. * gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise. * gnu/packages/wv.scm (wv)[home-page]: Likewise. * gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise. * gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise. * gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise. * gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c) (opensp)[home-page]: Likewise. * gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
832 lines
33 KiB
Scheme
832 lines
33 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
||
;;; Copyright © 2016, 2021, 2021 Ludovic Courtès <ludo@gnu.org>
|
||
;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
|
||
;;; Copyright © 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
||
;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||
;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
|
||
;;; Copyright © 2018, 2019, 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
||
;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com>
|
||
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
|
||
;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org>
|
||
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
||
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
|
||
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
|
||
;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||
;;; Copyright © 2022 ( <paren@disroot.org>
|
||
;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it>
|
||
;;;
|
||
;;; This file is part of GNU Guix.
|
||
;;;
|
||
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
||
;;; under the terms of the GNU General Public License as published by
|
||
;;; the Free Software Foundation; either version 3 of the License, or (at
|
||
;;; your option) any later version.
|
||
;;;
|
||
;;; GNU Guix 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
|
||
;;; GNU General Public License for more details.
|
||
;;;
|
||
;;; You should have received a copy of the GNU General Public License
|
||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||
|
||
(define-module (gnu packages monitoring)
|
||
#:use-module (guix gexp)
|
||
#:use-module (guix packages)
|
||
#:use-module (guix download)
|
||
#:use-module (guix git-download)
|
||
#:use-module ((guix licenses) #:prefix license:)
|
||
#:use-module (guix build-system pyproject)
|
||
#:use-module (guix build-system python)
|
||
#:use-module (guix build-system gnu)
|
||
#:use-module (guix build-system go)
|
||
#:use-module (guix utils)
|
||
#:use-module (gnu packages)
|
||
#:use-module (gnu packages admin)
|
||
#:use-module (gnu packages autotools)
|
||
#:use-module (gnu packages base)
|
||
#:use-module (gnu packages curl)
|
||
#:use-module (gnu packages check)
|
||
#:use-module (gnu packages compression)
|
||
#:use-module (gnu packages databases)
|
||
#:use-module (gnu packages django)
|
||
#:use-module (gnu packages gd)
|
||
#:use-module (gnu packages gettext)
|
||
#:use-module (gnu packages gnome) ;libnotify
|
||
#:use-module (gnu packages golang)
|
||
#:use-module (gnu packages image)
|
||
#:use-module (gnu packages mail)
|
||
#:use-module (gnu packages ncurses)
|
||
#:use-module (gnu packages networking)
|
||
#:use-module (gnu packages libevent)
|
||
#:use-module (gnu packages pcre)
|
||
#:use-module (gnu packages perl)
|
||
#:use-module (gnu packages pkg-config)
|
||
#:use-module (gnu packages python)
|
||
#:use-module (gnu packages python-build)
|
||
#:use-module (gnu packages python-web)
|
||
#:use-module (gnu packages python-xyz)
|
||
#:use-module (gnu packages rrdtool)
|
||
#:use-module (gnu packages sphinx)
|
||
#:use-module (gnu packages time)
|
||
#:use-module (gnu packages tls)
|
||
#:use-module (gnu packages web))
|
||
|
||
(define-public nagios
|
||
(package
|
||
(name "nagios")
|
||
(version "4.4.6")
|
||
;; XXX: Nagios 4.2.x and later bundle a copy of AngularJS.
|
||
(source (origin
|
||
(method url-fetch)
|
||
(uri (string-append
|
||
"mirror://sourceforge/nagios/nagios-4.x/nagios-"
|
||
version "/nagios-" version ".tar.gz"))
|
||
(sha256
|
||
(base32
|
||
"1x5hb97zbvkm73q53ydp1gwj8nnznm72q9c4rm6ny7phr995l3db"))
|
||
(modules '((guix build utils)))
|
||
(snippet
|
||
;; Ensure reproducibility.
|
||
'(begin
|
||
(substitute* (find-files "cgi" "\\.c$")
|
||
(("__DATE__") "\"1970-01-01\"")
|
||
(("__TIME__") "\"00:00:00\""))
|
||
#t))))
|
||
(build-system gnu-build-system)
|
||
(native-inputs
|
||
(list unzip))
|
||
(inputs
|
||
`(("zlib" ,zlib)
|
||
("libpng-apng" ,libpng)
|
||
("gd" ,gd)
|
||
("perl" ,perl)
|
||
("mailutils" ,mailutils)))
|
||
(arguments
|
||
'(#:configure-flags (list "--sysconfdir=/etc"
|
||
|
||
;; 'include/locations.h.in' defines file
|
||
;; locations, and many things go directly under
|
||
;; LOCALSTATEDIR, hence the extra '/nagios'.
|
||
"--localstatedir=/var/nagios"
|
||
|
||
(string-append
|
||
"--with-mail="
|
||
(assoc-ref %build-inputs "mailutils")
|
||
"/bin/mail"))
|
||
#:make-flags '("all")
|
||
#:phases (modify-phases %standard-phases
|
||
(add-before 'build 'do-not-chown-to-nagios
|
||
(lambda _
|
||
;; Makefiles do 'install -o nagios -g nagios', which
|
||
;; doesn't work for us.
|
||
(substitute* (find-files "." "^Makefile$")
|
||
(("-o nagios -g nagios")
|
||
""))
|
||
#t))
|
||
(add-before 'build 'do-not-create-sysconfdir
|
||
(lambda _
|
||
;; Don't try to create /var upon 'make install'.
|
||
(substitute* "Makefile"
|
||
(("\\$\\(INSTALL\\).*\\$\\(LOGDIR\\).*$" all)
|
||
(string-append "# " all))
|
||
(("\\$\\(INSTALL\\).*\\$\\(CHECKRESULTDIR\\).*$" all)
|
||
(string-append "# " all))
|
||
(("chmod g\\+s.*" all)
|
||
(string-append "# " all)))
|
||
#t))
|
||
(add-before 'build 'set-html/php-directory
|
||
(lambda _
|
||
;; Install HTML and PHP files under 'share/nagios/html'
|
||
;; instead of just 'share/'.
|
||
(substitute* '("html/Makefile" "Makefile")
|
||
(("HTMLDIR=.*$")
|
||
"HTMLDIR = $(datarootdir)/nagios/html\n"))
|
||
#t)))
|
||
#:tests? #f)) ;no 'check' target or similar
|
||
(home-page "https://www.nagios.org/")
|
||
(synopsis "Host, service, and network monitoring program")
|
||
(description
|
||
"Nagios is a host, service, and network monitoring program written in C.
|
||
CGI programs are included to allow you to view the current status, history,
|
||
etc. via a Web interface. Features include:
|
||
|
||
@itemize
|
||
@item Monitoring of network services (via SMTP, POP3, HTTP, PING, etc).
|
||
@item Monitoring of host resources (processor load, disk usage, etc.).
|
||
@item A plugin interface to allow for user-developed service monitoring
|
||
methods.
|
||
@item Ability to define network host hierarchy using \"parent\" hosts,
|
||
allowing detection of and distinction between hosts that are down
|
||
and those that are unreachable.
|
||
@item Notifications when problems occur and get resolved (via email,
|
||
pager, or user-defined method).
|
||
@item Ability to define event handlers for proactive problem resolution.
|
||
@item Automatic log file rotation/archiving.
|
||
@item Optional web interface for viewing current network status,
|
||
notification and problem history, log file, etc.
|
||
@end itemize\n")
|
||
(license license:gpl2)))
|
||
|
||
(define-public zabbix-agentd
|
||
(package
|
||
(name "zabbix-agentd")
|
||
(version "6.0.12")
|
||
(source
|
||
(origin
|
||
(method url-fetch)
|
||
(uri (string-append
|
||
"https://cdn.zabbix.com/zabbix/sources/stable/"
|
||
(version-major+minor version) "/zabbix-" version ".tar.gz"))
|
||
(sha256
|
||
(base32 "04083aa63bzfg5jp958nypbqr0hlcbhj73whlinr1ri3x1z0caz7"))
|
||
(modules '((guix build utils)))
|
||
(snippet
|
||
'(substitute* '("src/zabbix_proxy/proxy.c"
|
||
"src/zabbix_server/server.c")
|
||
;; 'fping' must be setuid, so look for it in the usual location.
|
||
(("/usr/sbin/fping6?")
|
||
"/run/setuid-programs/fping")))))
|
||
(build-system gnu-build-system)
|
||
(arguments
|
||
(list #:configure-flags
|
||
#~(list "--enable-agent"
|
||
"--enable-ipv6"
|
||
"--with-libpcre2"
|
||
"--with-gnutls"
|
||
(string-append "--with-gnutls="
|
||
(assoc-ref %build-inputs "gnutls")))))
|
||
(native-inputs
|
||
(list pkg-config))
|
||
(inputs
|
||
(list gnutls pcre2))
|
||
(home-page "https://www.zabbix.com/")
|
||
(synopsis "Distributed monitoring solution (client-side agent)")
|
||
(description "This package provides a distributed monitoring
|
||
solution (client-side agent)")
|
||
(license license:gpl2+)
|
||
(properties
|
||
'((release-monitoring-url . "https://www.zabbix.com/download_sources")
|
||
(upstream-name . "zabbix")))))
|
||
|
||
(define-public zabbix-agent2
|
||
(package/inherit zabbix-agentd
|
||
(name "zabbix-agent2")
|
||
(arguments
|
||
(list #:configure-flags
|
||
#~(list "--disable-agent"
|
||
"--enable-agent2"
|
||
"--enable-ipv6"
|
||
"--with-libpcre2"
|
||
;; agent2 only supports OpenSSL.
|
||
(string-append "--with-openssl="
|
||
(dirname (dirname
|
||
(search-input-file
|
||
%build-inputs "lib/libssl.so")))))
|
||
#:make-flags
|
||
#~'("BUILD_TIME=00:00:01" "BUILD_DATE=Jan 1 1970")
|
||
#:phases
|
||
#~(modify-phases %standard-phases
|
||
(add-before 'build 'set-HOME
|
||
(lambda _
|
||
(setenv "HOME" "/tmp"))))))
|
||
(native-inputs
|
||
(list go pkg-config))
|
||
(inputs
|
||
(list openssl pcre2 zlib))))
|
||
|
||
(define-public zabbix-server
|
||
(package
|
||
(inherit zabbix-agentd)
|
||
(name "zabbix-server")
|
||
(outputs '("out" "front-end" "schema"))
|
||
(arguments
|
||
(substitute-keyword-arguments (package-arguments zabbix-agentd)
|
||
((#:phases phases '%standard-phases)
|
||
#~(modify-phases #$phases
|
||
(add-after 'install 'install-front-end
|
||
(lambda* (#:key outputs #:allow-other-keys)
|
||
(let* ((php (string-append (assoc-ref outputs "front-end")
|
||
"/share/zabbix/php"))
|
||
(front-end-conf (string-append php "/conf"))
|
||
(etc (string-append php "/etc")))
|
||
(mkdir-p php)
|
||
(copy-recursively "ui" php)
|
||
;; Make front-end read config from ‘/etc/zabbix’ directory.
|
||
(rename-file front-end-conf
|
||
(string-append front-end-conf "-example"))
|
||
(symlink "/etc/zabbix" front-end-conf))))
|
||
(add-after 'install 'install-schema
|
||
(lambda* (#:key outputs #:allow-other-keys)
|
||
(let ((database-directory
|
||
(string-append (assoc-ref outputs "schema")
|
||
"/database")))
|
||
(for-each delete-file
|
||
(find-files "database" "Makefile\\.in|\\.am$"))
|
||
(mkdir-p database-directory)
|
||
(copy-recursively "database" database-directory))))))
|
||
((#:configure-flags flags ''())
|
||
#~(append (list "--enable-server"
|
||
"--with-postgresql"
|
||
(string-append "--with-libevent="
|
||
(assoc-ref %build-inputs "libevent"))
|
||
"--with-net-snmp"
|
||
"--with-libcurl"
|
||
(string-append "--with-zlib="
|
||
(assoc-ref %build-inputs "zlib")))
|
||
(delete "--enable-agent" #$flags)))))
|
||
(inputs
|
||
(modify-inputs (package-inputs zabbix-agentd)
|
||
(prepend curl
|
||
libevent
|
||
net-snmp
|
||
postgresql
|
||
zlib)))
|
||
(synopsis "Distributed monitoring solution (server-side)")
|
||
(description "This package provides a distributed monitoring
|
||
solution (server-side)")))
|
||
|
||
(define-public zabbix-cli
|
||
(package
|
||
(name "zabbix-cli")
|
||
(version "2.3.0")
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/unioslo/zabbix-cli")
|
||
(commit version)))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"1p8xkq3mxg476srwrgqax76vjzji0rjx32njmgnpa409vaqrbj5p"))))
|
||
(build-system pyproject-build-system)
|
||
(arguments
|
||
(list #:phases
|
||
#~(modify-phases %standard-phases
|
||
(add-after 'unpack 'use-absolute-ncurses
|
||
(lambda* (#:key inputs #:allow-other-keys)
|
||
(let ((clear (search-input-file inputs "bin/clear")))
|
||
(substitute* "bin/zabbix-cli"
|
||
(("'clear'")
|
||
(string-append "'" clear "'"))))))
|
||
(add-after 'unpack 'patch-setup.py
|
||
(lambda _
|
||
;; Install data_files to $out/share instead of /usr/share.
|
||
(substitute* "setup.py"
|
||
(("/usr/") ""))))
|
||
(add-after 'build 'build-docs
|
||
(lambda _
|
||
(invoke "make" "-C" "docs" "manual")
|
||
(invoke "make" "-C" "docs" "singlehtml")))
|
||
(add-after 'install 'install-docs
|
||
(lambda _
|
||
(install-file "docs/_build/man/zabbix-cli.1"
|
||
(string-append #$output "/share/man/man1"))
|
||
(copy-recursively "docs/_build/singlehtml"
|
||
(string-append #$output "/share/doc/"
|
||
#$name "/html")))))))
|
||
(native-inputs
|
||
(list python-pytest python-sphinx))
|
||
(inputs
|
||
(list ncurses python-requests))
|
||
(home-page "https://github.com/unioslo/zabbix-cli")
|
||
(synopsis "Command-line interface to Zabbix")
|
||
(description
|
||
"@command{zabbix-cli} is a command-line client for the Zabbix
|
||
monitoring system. It can configure and display various aspects of Zabbix
|
||
through a text-based interface.")
|
||
(license license:gpl3+)))
|
||
|
||
(define-public python-pyzabbix
|
||
(package
|
||
(name "python-pyzabbix")
|
||
(version "1.2.1")
|
||
(home-page "https://github.com/lukecyca/pyzabbix")
|
||
;; No tests on PyPI, use the git checkout.
|
||
(source
|
||
(origin
|
||
(method git-fetch)
|
||
(uri (git-reference (url home-page) (commit version)))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"0ad5xac67brmwc3wd0f87pjplly3cqyrz1dp725lzz2hrjgiaqi8"))))
|
||
(build-system python-build-system)
|
||
(arguments
|
||
'(#:phases (modify-phases %standard-phases
|
||
(replace 'check
|
||
(lambda* (#:key tests? #:allow-other-keys)
|
||
(if tests?
|
||
(invoke "pytest" "-vv" "tests")
|
||
(format #t "test suite not run~%")))))))
|
||
(native-inputs
|
||
;; For tests.
|
||
(list python-requests-mock python-pytest))
|
||
(propagated-inputs
|
||
(list python-packaging python-requests))
|
||
(synopsis "Python interface to the Zabbix API")
|
||
(description
|
||
"@code{pyzabbix} is a Python module for working with the Zabbix API.")
|
||
(license license:lgpl2.1+)))
|
||
|
||
(define-public darkstat
|
||
(package
|
||
(name "darkstat")
|
||
(version "3.0.719")
|
||
(source (origin
|
||
(method url-fetch)
|
||
(uri (string-append "https://unix4lyfe.org/darkstat/darkstat-"
|
||
version ".tar.bz2"))
|
||
(sha256
|
||
(base32
|
||
"1mzddlim6dhd7jhr4smh0n2fa511nvyjhlx76b03vx7phnar1bxf"))))
|
||
(build-system gnu-build-system)
|
||
(arguments '(#:tests? #f)) ; no tests
|
||
(inputs
|
||
(list libpcap zlib))
|
||
(home-page "https://unix4lyfe.org/darkstat/")
|
||
(synopsis "Network statistics gatherer")
|
||
(description
|
||
"@command{darkstat} is a packet sniffer that runs as a background process,
|
||
gathers all sorts of statistics about network usage, and serves them over
|
||
HTTP. Features:
|
||
|
||
@itemize
|
||
@item Traffic graphs, reports per host, shows ports for each host.
|
||
@item Embedded web-server with deflate compression.
|
||
@item Asynchronous reverse DNS resolution using a child process.
|
||
@item Small. Portable. Single-threaded. Efficient.
|
||
@item Supports IPv6.
|
||
@end itemize")
|
||
(license license:gpl2)))
|
||
|
||
(define-public python-whisper
|
||
(package
|
||
(name "python-whisper")
|
||
(version "1.1.8")
|
||
(source
|
||
(origin
|
||
(method url-fetch)
|
||
(uri (pypi-uri "whisper" version))
|
||
(sha256
|
||
(base32
|
||
"1bk29w09zcpsv8hp0g0al7nwrxa07z0ycls3mbh83wfavk83aprl"))))
|
||
(build-system python-build-system)
|
||
(native-inputs (list python-six))
|
||
(home-page "https://graphiteapp.org/")
|
||
(synopsis "Fixed size round-robin style database for Graphite")
|
||
(description "Whisper is one of three components within the Graphite
|
||
project. Whisper is a fixed-size database, similar in design and purpose to
|
||
RRD (round-robin-database). It provides fast, reliable storage of numeric
|
||
data over time. Whisper allows for higher resolution (seconds per point) of
|
||
recent data to degrade into lower resolutions for long-term retention of
|
||
historical data.")
|
||
(license license:asl2.0)))
|
||
|
||
(define-public python-carbon
|
||
(package
|
||
(name "python-carbon")
|
||
(version "1.1.8")
|
||
(source
|
||
(origin
|
||
(method url-fetch)
|
||
(uri (pypi-uri "carbon" version))
|
||
(sha256
|
||
(base32
|
||
"1wb91fipk1niciffq5xwqbh8g7rl7ghdam4m97cjbig12i5qr4cm"))))
|
||
(build-system python-build-system)
|
||
(arguments
|
||
`(#:phases
|
||
(modify-phases %standard-phases
|
||
;; Don't install to /opt
|
||
(add-after 'unpack 'do-not-install-to-/opt
|
||
(lambda _ (setenv "GRAPHITE_NO_PREFIX" "1") #t)))))
|
||
(propagated-inputs
|
||
(list python-cachetools python-txamqp python-urllib3 python-whisper))
|
||
(home-page "https://graphiteapp.org/")
|
||
(synopsis "Backend data caching and persistence daemon for Graphite")
|
||
(description "Carbon is a backend data caching and persistence daemon for
|
||
Graphite. Carbon is responsible for receiving metrics over the network,
|
||
caching them in memory for \"hot queries\" from the Graphite-Web application,
|
||
and persisting them to disk using the Whisper time-series library.")
|
||
(license license:asl2.0)))
|
||
|
||
(define-public graphite-web
|
||
(package
|
||
(name "graphite-web")
|
||
(version "1.1.7")
|
||
(source
|
||
(origin
|
||
(method url-fetch)
|
||
(uri (pypi-uri "graphite-web" version))
|
||
(sha256
|
||
(base32
|
||
"1l5a5rry9cakqxamvlx4xq63jifmncb6815bg9vy7fg1zyd3pjxk"))))
|
||
(build-system python-build-system)
|
||
(arguments
|
||
`(#:tests? #f ;XXX: not in PyPI release & requires database
|
||
#:phases
|
||
(modify-phases %standard-phases
|
||
(add-after 'unpack 'relax-requirements
|
||
(lambda _
|
||
(substitute* "setup.py"
|
||
;; Allow newer versions of django-tagging.
|
||
(("django-tagging==")
|
||
"django-tagging>="))
|
||
#t))
|
||
;; Don't install to /opt
|
||
(add-after 'unpack 'do-not-install-to-/opt
|
||
(lambda _ (setenv "GRAPHITE_NO_PREFIX" "1") #t)))))
|
||
(propagated-inputs
|
||
(list python-cairocffi
|
||
python-pytz
|
||
python-whisper
|
||
python-django-2.2
|
||
python-django-tagging
|
||
python-scandir
|
||
python-urllib3
|
||
python-pyparsing
|
||
python-txamqp))
|
||
(home-page "https://graphiteapp.org/")
|
||
(synopsis "Scalable realtime graphing system")
|
||
(description "Graphite is a scalable real-time graphing system that does
|
||
two things: store numeric time-series data, and render graphs of this data on
|
||
demand.")
|
||
(license license:asl2.0)))
|
||
|
||
(define-public python-prometheus-client
|
||
(package
|
||
(name "python-prometheus-client")
|
||
(version "0.7.1")
|
||
(source
|
||
(origin
|
||
(method url-fetch)
|
||
(uri (pypi-uri "prometheus_client" version))
|
||
(sha256
|
||
(base32 "1ni2yv4ixwz32nz39ckia76lvggi7m19y5f702w5qczbnfi29kbi"))))
|
||
(build-system python-build-system)
|
||
(arguments
|
||
'(;; No included tests.
|
||
#:tests? #f))
|
||
(propagated-inputs
|
||
(list python-twisted))
|
||
(home-page
|
||
"https://github.com/prometheus/client_python")
|
||
(synopsis "Python client for the Prometheus monitoring system")
|
||
(description
|
||
"The @code{prometheus_client} package supports exposing metrics from
|
||
software written in Python, so that they can be scraped by a Prometheus
|
||
service.
|
||
|
||
Metrics can be exposed through a standalone web server, or through Twisted,
|
||
WSGI and the node exporter textfile collector.")
|
||
(license license:asl2.0)))
|
||
|
||
(define-public go-github-com-prometheus-node-exporter
|
||
(package
|
||
(name "go-github-com-prometheus-node-exporter")
|
||
(version "0.18.1")
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/prometheus/node_exporter")
|
||
(commit (string-append "v" version))))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"0s3sp1gj86p7npxl38hkgs6ymd3wjjmc5hydyg1b5wh0x3yvpx07"))))
|
||
(build-system go-build-system)
|
||
(arguments
|
||
'(#:import-path "github.com/prometheus/node_exporter"))
|
||
(synopsis "Prometheus exporter for hardware and OS metrics")
|
||
(description "Prometheus exporter for metrics exposed by *NIX kernels,
|
||
written in Go with pluggable metric collectors.")
|
||
(home-page "https://github.com/prometheus/node_exporter")
|
||
(license license:asl2.0)))
|
||
|
||
(define-public temper-exporter
|
||
(let ((commit "a87bbab19c05609d62d9e4c7941178700c1ef84d")
|
||
(revision "0"))
|
||
(package
|
||
(name "temper-exporter")
|
||
(version (git-version "0" revision commit))
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/yrro/temper-exporter")
|
||
(commit commit)))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"0jk3ydi8s14q5kyl9j3gm2zrnwlb1jwjqpg5vqrgkbm9jrldrabc"))))
|
||
(build-system python-build-system)
|
||
(arguments
|
||
'(#:tests? #f ; One test failure:
|
||
; test/test_exporter.py:33:
|
||
; AssertionError
|
||
#:phases
|
||
(modify-phases %standard-phases
|
||
(add-after 'unpack 'patch-setup.py
|
||
(lambda _
|
||
(substitute* "setup.py"
|
||
(("git_ref = .*\n") "git_ref = ''\n"))
|
||
#t))
|
||
(add-after 'install 'install-udev-rules
|
||
(lambda* (#:key outputs #:allow-other-keys)
|
||
(install-file "debian/prometheus-temper-exporter.udev"
|
||
(string-append (assoc-ref outputs "out")
|
||
"/lib/udev/rules.d"))
|
||
#t)))))
|
||
(inputs
|
||
(list python-prometheus-client python-pyudev))
|
||
(native-inputs
|
||
(list python-pytest python-pytest-mock python-pytest-runner))
|
||
(home-page "https://github.com/yrro/temper-exporter")
|
||
(synopsis "Prometheus exporter for PCSensor TEMPer sensor devices")
|
||
(description
|
||
"This package contains a Prometheus exporter for the TEMPer sensor
|
||
devices.")
|
||
(license license:expat))))
|
||
|
||
(define-public fswatch
|
||
(package
|
||
(name "fswatch")
|
||
(version "1.16.0")
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/emcrisostomo/fswatch")
|
||
(commit version)))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"1zsvc8arza2ypnnmv4m0qfpnldmy1zh10q6wss05ibmanslfj2ql"))))
|
||
(build-system gnu-build-system)
|
||
(native-inputs
|
||
(list autoconf automake gettext-minimal libtool))
|
||
(arguments
|
||
(list #:configure-flags
|
||
#~(list "--disable-static")))
|
||
(synopsis "File system monitor")
|
||
(description "This package provides a file system monitor.")
|
||
(home-page "https://github.com/emcrisostomo/fswatch")
|
||
(license license:gpl3+)))
|
||
|
||
(define-public collectd
|
||
(package
|
||
(name "collectd")
|
||
(version "5.12.0")
|
||
(source (origin
|
||
(method url-fetch)
|
||
(uri (string-append
|
||
"https://storage.googleapis.com/collectd-tarballs/collectd-"
|
||
version
|
||
".tar.bz2"))
|
||
(sha256
|
||
(base32
|
||
"1mh97afgq6qgmpvpr84zngh58m0sl1b4wimqgvvk376188q09bjv"))
|
||
(patches (search-patches "collectd-5.11.0-noinstallvar.patch"))))
|
||
(build-system gnu-build-system)
|
||
(arguments
|
||
`(#:configure-flags (list "--localstatedir=/var" "--sysconfdir=/etc")
|
||
#:phases (modify-phases %standard-phases
|
||
(add-before 'configure 'autoreconf
|
||
(lambda _
|
||
;; Required because of patched sources.
|
||
(invoke "autoreconf" "-vfi"))))))
|
||
(inputs
|
||
(list rrdtool curl yajl))
|
||
(native-inputs
|
||
(list autoconf automake libtool pkg-config))
|
||
(home-page "https://collectd.org/")
|
||
(synopsis "Collect system and application performance metrics periodically")
|
||
(description
|
||
"collectd gathers metrics from various sources such as the operating system,
|
||
applications, log files and external devices, and stores this information or
|
||
makes it available over the network. Those statistics can be used to monitor
|
||
systems, find performance bottlenecks (i.e., performance analysis) and predict
|
||
future system load (i.e., capacity planning).")
|
||
;; license:expat for the daemon in src/daemon/ and some plugins,
|
||
;; license:gpl2 for other plugins
|
||
(license (list license:expat license:gpl2))))
|
||
|
||
(define-public hostscope
|
||
(package
|
||
(name "hostscope")
|
||
(version "8.0")
|
||
(source (origin
|
||
(method url-fetch)
|
||
(uri (string-append
|
||
"http://www.maier-komor.de/hostscope/hostscope-V"
|
||
version ".tgz"))
|
||
(sha256
|
||
(base32
|
||
"0jw6yij8va0f292g4xkf9lp9sxkzfgv67ajw49g3vq42q47ld7cv"))))
|
||
(build-system gnu-build-system)
|
||
(inputs (list ncurses))
|
||
(arguments '(#:tests? #f)) ;; No included tests.
|
||
(home-page "https://www.maier-komor.de/hostscope.html")
|
||
(properties `((release-monitoring-url . ,home-page)))
|
||
(synopsis
|
||
"System monitoring tool for multiple hosts")
|
||
(description
|
||
"HostScope displays key system metrics of Linux hosts, such as detailed
|
||
CPU load, speed and temperature, I/O rates of network interfaces, I/O rates of
|
||
disks, and user process summary information. All metrics are multicast on the
|
||
LAN, if wanted, and clients can switch between multiple hosts on the network.
|
||
Hostscope features a bridge to Influx DB. So Grafana can be used to visualize
|
||
the recorded data over time.")
|
||
(license license:gpl3+)))
|
||
|
||
(define-public fatrace
|
||
(package
|
||
(name "fatrace")
|
||
(version "0.16.3")
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/martinpitt/fatrace")
|
||
(commit version)))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"1bxz6v1z0icp716jnv3knjyqp8bv6xnkz8gqd8z3g2b6yxj5xff3"))))
|
||
(build-system gnu-build-system)
|
||
(arguments
|
||
`(#:phases
|
||
(modify-phases %standard-phases
|
||
(delete 'configure)
|
||
;; tests need root to run as root,
|
||
;; and there is no make target for them:
|
||
(delete 'check))
|
||
#:make-flags
|
||
(list (string-append "CC=" ,(cc-for-target))
|
||
(string-append "PREFIX=" %output))))
|
||
(synopsis "File access events monitor")
|
||
(description "This package provides a utility to report system wide file
|
||
access events from all running processes. Its main purpose is to find
|
||
processes which keep waking up the disk unnecessarily and thus prevent some
|
||
power saving.")
|
||
(home-page "https://github.com/martinpitt/fatrace")
|
||
(license license:gpl3+)))
|
||
|
||
(define-public pw
|
||
(package
|
||
(name "pw")
|
||
(version "2")
|
||
(source
|
||
(origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://www.kylheku.com/git/pw")
|
||
(commit (string-append "pw-" version))))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32 "1xn3qnzz48xan78cp83hfrcifrxx9lgnm14134qhyr5wvj7dk246"))))
|
||
(build-system gnu-build-system)
|
||
(arguments
|
||
(list #:tests? #f ; There are no tests
|
||
#:make-flags
|
||
#~(list (string-append "CC=" #$(cc-for-target))
|
||
(string-append "DESTDIR=" #$output))
|
||
#:phases
|
||
#~(modify-phases %standard-phases
|
||
(add-after 'unpack 'fix-makefile
|
||
(lambda _
|
||
(substitute* "Makefile"
|
||
(("/share/man/man1 \\\\") "/share/man/man1; \\"))))
|
||
(delete 'configure)
|
||
(add-before 'install 'make-install-dirs
|
||
(lambda _
|
||
(mkdir-p (string-append #$output "/bin"))
|
||
(mkdir-p (string-append #$output "/share/man/man1"))
|
||
(mkdir-p (string-append #$output "/share/man/man5")))))))
|
||
(home-page "https://www.kylheku.com/cgit/pw/")
|
||
(synopsis "Monitor recent lines of output from pipe")
|
||
(description
|
||
"@command{pw} is Pipe Watch, a utility that continuously reads lines of
|
||
text from a pipe or pipe-like source, passes them through a FIFO buffer, and
|
||
maintains a display based on the occasional sampling of the contents of the
|
||
FIFO buffer, with useful features such as triggering and filtering.
|
||
|
||
With @command{pw} you can:
|
||
|
||
@itemize
|
||
@item Interactively apply and remove filters on-the-fly, without interrupting
|
||
the source.
|
||
|
||
@item Make recurring patterns in the stream appear to ``freeze'' on the
|
||
screen, using triggers.
|
||
|
||
@item Prevent the overwhelming amount of output from a program from flooding
|
||
the terminal, while consuming all of that output so that the program isn't
|
||
blocked. @command{pw} can pause its display updates entirely.
|
||
|
||
@item Juggle multiple shell background jobs that produce output, yet execute
|
||
indefinitely without blocking. When @command{pw} runs as part of a shell
|
||
background job, it continues to consume input, process filters and take
|
||
snapshots, without displaying anything. When put into the foreground again,
|
||
display resumes.
|
||
@end itemize")
|
||
(license license:bsd-2)))
|
||
|
||
(define-public python-statsd
|
||
(package
|
||
(name "python-statsd")
|
||
(version "3.3.0")
|
||
(source (origin
|
||
(method url-fetch)
|
||
(uri (pypi-uri "statsd" version))
|
||
(sha256
|
||
(base32
|
||
"07yxnlalvcglgwa9pjs1clwrmwx7a4575jai7q05jz3g4i6dprp3"))))
|
||
(build-system python-build-system)
|
||
(native-inputs (list python-mock python-nose))
|
||
(home-page "https://github.com/jsocol/pystatsd")
|
||
(synopsis "Simple StatsD client")
|
||
(description "StatsD is a friendly front-end to Graphite. This package
|
||
provides a simple Python client for the StatsD daemon.")
|
||
(license license:expat)))
|
||
|
||
(define-public batsignal
|
||
(package
|
||
(name "batsignal")
|
||
(version "1.6.0")
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/electrickite/batsignal")
|
||
(commit version)))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"0b1j6mljnqgxwr3id3r9shzhsjk5r0qdh9cxkvy1dm4kzbyc4dxq"))))
|
||
(build-system gnu-build-system)
|
||
(arguments
|
||
(list #:make-flags
|
||
#~(list (string-append "PREFIX=" #$output)
|
||
(string-append "CC=" #$(cc-for-target)))
|
||
#:phases
|
||
#~(modify-phases %standard-phases
|
||
(add-after 'unpack 'fix-cross-compile
|
||
(lambda _
|
||
(substitute* "Makefile"
|
||
(("pkg-config")
|
||
#$(pkg-config-for-target)))))
|
||
(delete 'configure)
|
||
(replace 'check
|
||
(lambda* (#:key tests? #:allow-other-keys)
|
||
(when tests?
|
||
(invoke "./batsignal" "-v")))))))
|
||
(inputs (list libnotify))
|
||
(native-inputs (list pkg-config))
|
||
(home-page "https://github.com/electrickite/batsignal")
|
||
(synopsis "Power monitoring tool")
|
||
(description
|
||
"This package provides a daemon that monitors device power levels,
|
||
notifying the user and optionally running a command when it reaches
|
||
user-configured power thresholds. This can be used to force powering off a
|
||
laptop when the battery gets below critical levels, instead of damaging the
|
||
battery.")
|
||
(license license:isc)))
|
||
|