GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCF_HEARTBEAT_NAGIOS(7) OCF resource agents OCF_HEARTBEAT_NAGIOS(7)

ocf_heartbeat_nagios - Nagios resource agent

nagios [start | stop | status | monitor | meta-data | validate-all]

OCF Resource script for Nagios 3.x or 4.x. It manages a Nagios instance as a HA resource.

user
User running Nagios daemon (for file permissions)

(optional, string, default "nagios")

group

Group running Nagios daemon (for file permissions)

(optional, string, default "nagios")

binary

Location of the Nagios binary

(optional, string, default "/usr/sbin/nagios")

config

Configuration file

(optional, string, default "/etc/nagios/nagios.cfg")

log

Location of the Nagios log

(optional, string, default "/var/log/nagios/nagios.log")

retention

Location of the Nagios retention file

(optional, string, default "/var/log/nagios/retention.dat")

command

Location of the Nagios external command file

(optional, string, default "/var/log/nagios/rw/nagios.cmd")

pid

Location of the Nagios pid/lock

(optional, string, default "/var/run/nagios.pid")

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 20s.

stop

Stops the resource. Suggested minimum timeout: 20s.

status

Performs a status check. Suggested minimum timeout: 20s.

monitor

Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10s.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 20s.

The following is an example configuration for a nagios resource using the crm(8) shell:

primitive p_nagios ocf:heartbeat:nagios \
  op monitor depth="0" timeout="20s" interval="10s" start-delay="10s" 

The following is an example configuration for a nagios resource using pcs(8)

pcs resource create p_nagios ocf:heartbeat:nagios \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s" start-delay="10s" 

http://clusterlabs.org/

ClusterLabs contributors (see the resource agent source for information about individual authors)
04/12/2022 resource-agents 4.10.0

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.