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

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

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

Problem

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

Solution

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

Code Snippets

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

Context

tldr-pages: common/nagios

Revisions (0)

No revisions yet.