table of contents
- buster 1:4.2.0-2+deb10u2
- buster-backports 1:4.7.0-1~bpo10+1
- testing 1:4.7.0-1
- unstable 1:4.7.0-1
OCF_HEARTBEAT_NAGIOS(7) | OCF resource agents | OCF_HEARTBEAT_NAGIOS(7) |
NAME¶
ocf_heartbeat_nagios - Nagios resource agentSYNOPSIS¶
nagios [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
OCF Resource script for Nagios 3.x or 4.x. It manages a Nagios instance as a HA resource.SUPPORTED PARAMETERS¶
user(optional, string, default "nagios")
group
(optional, string, default "nagios")
binary
(optional, string, default "/usr/sbin/nagios")
config
(optional, string, default "/etc/nagios/nagios.cfg")
log
(optional, string, default "/var/log/nagios/nagios.log")
retention
(optional, string, default "/var/log/nagios/retention.dat")
command
(optional, string, default "/var/log/nagios/rw/nagios.cmd")
pid
(optional, string, default "/var/run/nagios.pid")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):start
stop
status
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
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"
EXAMPLE PCS¶
The following is an example configuration for a nagios resource using pcs(8)pcs resource create p_nagios ocf:heartbeat:nagios \ op monitor depth="0" timeout="20s" interval="10s" start-delay="10s"
SEE ALSO¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)06/27/2020 | resource-agents UNKNOWN |