Commit Graph

61 Commits

Author SHA1 Message Date
Anthony Roussel
d5d83eaed0 wmic-bin: move to pkgs/servers/monitoring/wmic-bin 2024-10-05 20:55:47 +02:00
Anthony Roussel
a521fec1bf nagiosPlugins: init from pkgs/servers/monitoring/nagios/plugins 2024-10-05 20:55:41 +02:00
Philip Taron
07c453277e
check-{mssql,nwc,ups}-health: remove with statements 2024-08-18 06:32:22 -07:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Jussi Kuokkanen
8064d28a4f pkgs/servers: remove licenses.gpl2 2024-05-23 11:49:42 +03:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Guillaume Girol
769b8d7efc monitoring-plugins: 2.3.0 -> 2.3.5
fixes the ping plugin with recent versions of ping
2023-12-23 12:00:00 +00:00
Andrew Childs
4c87c27f5a monitoring-plugins: fix path to ping in check_ping
The path to ping was configured to use the wrapper prior to its
removal [1]. This change removed the absolute path to ping/ping6 and
added them to the binPath. Only the perl scripts use binPath, and now
the C program `check_ping` fails to find the ping command.

[1] See 759ec1113d
2023-11-25 11:32:12 +09:00
Lin Jian
759ec1113d
nixos/network-interfaces: stop wrapping ping with cap_net_raw
From systemd 243 release note[1]:

This release enables unprivileged programs (i.e. requiring neither
setuid nor file capabilities) to send ICMP Echo (i.e. ping) requests
by turning on the "net.ipv4.ping_group_range" sysctl of the Linux
kernel for the whole UNIX group range, i.e. all processes.

So this wrapper is not needed any more.

See also [2] and [3].

This patch also removes:
- apparmor profiles in NixOS for ping itself and the wrapped one
- other references for the wrapped ping

[1]: 8e2d9d40b3/NEWS (L6457-L6464)
[2]: https://github.com/systemd/systemd/pull/13141
[3]: https://fedoraproject.org/wiki/Changes/EnableSysctlPingGroupRange
2023-09-21 16:52:16 +08:00
Vladimír Čunát
2fb36b81ea
wmic-bin: fix by switching to libxcrypt-legacy 2023-03-26 09:50:41 +02:00
Martin Weinelt
0465c23d9a
wmic-bin: fix build with libxcrypt 2022-10-09 18:10:35 +02:00
Martin Weinelt
69591251b2
check-esxi-hardware: build with format other 2022-09-19 16:05:58 +02:00
Robert Scott
3d6c926c4f treewide/servers,shells,tools: add sourceType for more packages 2022-07-02 13:38:00 +01:00
Peter Hoeg
0f441f5cad monitoring-plugins: 2.2.0 -> 2.3.0 2021-06-25 15:45:04 +08:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
freezeboy
b29a031ca6 check-esxi-hardware: 20181001 -> 20200710 2020-11-23 06:33:53 -08:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Peter Hoeg
bf1e753f1c check-wmiplus: 1.64 -> 1.65 2020-07-06 16:06:37 +08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
symphorien+git@xlumurb.eu
18090331d6 monitoring plugins: fix path to sudo and mailq
this fixes check_mailq with postfix at least
2019-12-29 15:45:13 -06:00
Jörg Thalheim
725f85e271
net-snmp: rename from net_snmp 2019-12-21 22:56:08 +00:00
Peter Hoeg
e64f741583 check-nwc-health: fix source URL 2019-10-31 12:03:59 +08:00
Dmitry Kalinkin
c455adcc42
Merge branch 'master' into staging-next
Fixes eval on darwin after #69072

Resolved conflict in pkgs/tools/security/thc-hydra/default.nix
Basically had to revert a1c0e10564 which
adapts #69210 to master that doesn't yet have
329a88efa7

Tested using maintainers/scripts/eval-release.sh before and after to see
that the fix works
2019-09-25 19:21:46 -04:00
Peter Hoeg
e121bf8503
Merge pull request #34250 from peterhoeg/p/wmi
check-wmiplus: init at 1.64
2019-09-25 05:09:19 +08:00
Peter Hoeg
5426932f7c
check-openvpn: init at 0.0.1 (#69301)
* check-openvpn: init at 0.0.1
2019-09-24 14:53:21 +08:00
Peter Hoeg
7f0c4d326b check-wmiplus: init at 1.64 2019-09-24 10:48:04 +08:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Vladimír Čunát
b6c6e1f9e8
Merge branch 'master' into staging-next 2019-09-15 13:18:54 +02:00
Peter Hoeg
e6bb0a70b7
Merge pull request #68340 from peterhoeg/p/wmic_bin
wmic-bin: add at 0.5.0
2019-09-13 17:52:25 +08:00
Jan Tojnar
a441eaa7b1
Merge branch 'staging-next' into staging 2019-09-12 22:49:43 +02:00
Peter Hoeg
d8807fa108 check-ups-health: 2.8.2.2 -> 2.8.3.3 2019-09-11 13:08:47 +08:00
Peter Hoeg
b2fb72dae3 check-nwc-health: 7.0.1.3 -> 7.10.0.6 2019-09-11 13:08:47 +08:00
Peter Hoeg
3ce644e683 check-mssql-health: 2.6.4.14 -> 2.6.4.15 2019-09-11 13:08:47 +08:00
Peter Hoeg
28abdeb448 glplugin: requirement for check_xx_health 2019-09-11 13:08:47 +08:00
Izorkin
329a88efa7 treewide: replace mysql.connector-c to libmysqlclient 2019-09-09 15:55:34 +03:00
Peter Hoeg
7881e0bcbe wmic-bin: add at 0.5.0 2019-09-09 14:24:14 +08:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Aaron Andersen
7b78ced1c5 monitoring-plugins: add dbi support 2019-03-20 08:50:47 -04:00
Aaron Andersen
88e830894f monitoring-plugins: add procs support 2019-03-20 08:50:47 -04:00
Aaron Andersen
894b7e9f21 monitoring-plugins: add dig support 2019-03-20 08:50:47 -04:00
Aaron Andersen
96003801d2 monitoring-plugins: add ldap support 2019-03-20 08:50:47 -04:00
Aaron Andersen
7304454f86 monitoring-plugins: add mysql support 2019-03-20 08:50:42 -04:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Frederik Rietdijk
070290bda7 Merge master into staging-next 2018-12-31 12:00:36 +01:00
Peter Hoeg
010502472f check-esxi-hardware: 20161013 -> 20181001 2018-12-27 14:22:27 +08:00