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