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

nagios4 — Legacy host/service/networking monitoring program. See also: `nagios`, `nagios2`, `nagios3`. More in

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

Problem

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

Solution

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

Code Snippets

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

Context

tldr-pages: common/nagios4

Revisions (0)

No revisions yet.