mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add darkstat.
* gnu/packages/monitoring.scm (darkstat): New variable.
This commit is contained in:
parent
1e63ecee0b
commit
c8cee2ef96
1 changed files with 34 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -22,6 +23,7 @@ (define-module (gnu packages monitoring)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix build-system perl)
|
#:use-module (guix build-system perl)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (gnu packages admin)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages gd)
|
#:use-module (gnu packages gd)
|
||||||
|
@ -122,3 +124,35 @@ (define-public nagios
|
||||||
notification and problem history, log file, etc.
|
notification and problem history, log file, etc.
|
||||||
@end itemize\n")
|
@end itemize\n")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
|
(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
|
||||||
|
`(("libpcap" ,libpcap)
|
||||||
|
("zlib" ,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)))
|
||||||
|
|
Loading…
Reference in a new issue