mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-06 12:45:19 +00:00
27 lines
503 B
Plaintext
27 lines
503 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# nagios4
|
|
|
|
> Legacy host/service/networking monitoring program.
|
|
> See also: `nagios`, `nagios2`, `nagios3`.
|
|
> More information: <https://manned.org/nagios>.
|
|
|
|
- Start `nagios4`:
|
|
|
|
`nagios4 /etc/nagios4/nagios.cfg`
|
|
|
|
- Start `nagios4` in daemon mode:
|
|
|
|
`nagios4 -d`
|
|
|
|
- Start `nagios4`, print service check scheduling information to `stdout`, then shutdown:
|
|
|
|
`nagios4 -s`
|
|
|
|
- Verify configuration file:
|
|
|
|
`nagios4 -v`
|