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