about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/nagios.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13nixos: remove all uses of lib.mdDocstuebinm1-9/+9
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2023-11-11treewide: fix redirected and broken URLsAnthony Roussel1-1/+1
Using the script in maintainers/scripts/update-redirected-urls.sh
2022-08-31nixos/*: automatically convert option descriptionspennae1-3/+3
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-08-19nixos/*: automatically convert option docspennae1-5/+5
2022-08-19nixos/*: use properly indented strings for option docspennae1-10/+10
using regular strings works well for docbook because docbook is not as whitespace-sensitive as markdown. markdown would render all of these as code blocks when given the chance.
2022-08-06nixos/*: automatically convert option docspennae1-5/+5
2022-08-03nixos/*: normalize link formatpennae1-1/+1
make (almost) all links appear on only a single line, with no unnecessary whitespace, using double quotes for attributes. this lets us automatically convert them to markdown easily. the few remaining links are extremely long link in a gnome module, we'll come back to those at a later date.
2022-04-17nixos/nagios: replace ssmtp package use with msmtppacien1-2/+2
The ssmtp program is not maintained and is being removed. GitHub: see https://github.com/NixOS/nixpkgs/issues/105710
2021-12-02nixos/*: add trivial defaultText for options with simple defaultspennae1-0/+1
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier1-4/+4
2021-09-09treewide: "does not exists" -> "does not exist"Alyssa Ross1-1/+1
I noticed this minor grammar mistake when running update.nix, and then while grepping to find the source I noticed we had it a few times in Nixpkgs. Just as easy to fix treewide as it was to fix the one occurrence I noticed.
2021-08-08nixos/tests/nagios.nix: fix evalGuillaume Girol1-2/+2
2021-04-24nixos/nagios: use the correct option to restart on config changeSymphorien Gibol1-1/+1
X-ReloadIfChanged is incorrect, apparently https://github.com/NixOS/nixpkgs/pull/120324#discussion_r619472321 We restart instead of reloading because nagios unit file has no ExecReload.
2020-01-31nixos/httpd: code cleanupAaron Andersen1-1/+1
2020-01-06treewide: use attrs instead of list for types.loaOf optionsrnhmjoj1-5/+1
2019-12-30nagios: various improvementssymphorien+git@xlumurb.eu1-49/+64
* structured config for main config file allows to launch nagios in debug mode without having to write the whole config file by hand * build time syntax check * all options have types, one more example * I find it misleading that the main nagios config file is linked in /etc but that if you change the link in /etc/ and restart nagios, it has no effect. Have nagios use /etc/nagios.cfg * fix paths in example nagios config files, which allows to reuse it: services.nagios.objectDefs = (map (x: "${pkgs.nagios}/etc/objects/${x}.cfg") [ "templates" "timeperiods" "commands" ]) ++ [ ./main.cfg ] * for the above reason, add mailutils to default plugins Co-Authored-By: Aaron Andersen <aaron@fosslib.net>
2019-12-24nixos/httpd: limit serving web content to virtual hosts, convert ↵Aaron Andersen1-11/+25
virtualHosts option type from listOf to attrsOf, add ACME integration
2019-05-25nixos/nagios: update apacheHttpd configuration from 2.2 to 2.4 syntaxAaron Andersen1-6/+2
2019-05-25nixos/nagios: replace deprecated usage of PermissionsStartOnlyAaron Andersen1-7/+2
see #53852
2019-05-25nixos/nagios: change group from nogroup to nagiosAaron Andersen1-2/+6
see #55370
2019-03-20nixos/nagios: /var/run -> /runBob van der Linden1-1/+1
2019-02-22nixos: add preferLocalBuild=true; on derivations for config filesSymphorien Gibol1-2/+4
2018-06-30nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink1-1/+1
2016-09-13nagios service: network-interfaces.target -> network.targetJoachim Fasting1-1/+1
2016-01-17Add missing 'type', 'defaultText' and 'literalExample' in module definitionsThomas Strobel1-0/+6
- add missing types in module definitions - add missing 'defaultText' in module definitions - wrap example with 'literalExample' where necessary in module definitions
2014-06-30Another attempt to eradicate ensureDirEelco Dolstra1-1/+1
See c556a6ea46e71e1907d78b71fab36df30297b3ad.
2014-06-22nagios: significant upgradesAustin Seipp1-0/+184
- Upgrade Nagios Core to 4.x - Expose mainConfigFile and cgiConfigFile in module for finer configuration control. - Upgrade Plugins to 2.x - Remove default objectDefs, which users probably want to customize. - Systemd-ify Nagios module and simplify directory structure - Upgrade Nagios package with more modern patch, and ensure the statedir is set to /var/lib/nagios Signed-off-by: Austin Seipp <aseipp@pobox.com>