HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

nagios2 — Legacy host/service/networking monitoring program. Largely deprecated by `nagios4`. See also: `nagio

Submitted by: @import:tldr-pages··
0
Viewed 0 times
legacycommandnetworkingclimonitoringservicehostnagios2

Problem

How to use the nagios2 command: Legacy host/service/networking monitoring program. Largely deprecated by nagios4. See also: nagios, nagios3, nagios4. More information: <https://manned.org/nagios>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/nagios2

Revisions (0)

No revisions yet.