
Ignore-this: 9037c842a8158d2e297744411c93efb darcs-hash:20120421013116-ab199-9b58f0da4a257f367a318e58fd1be1baa0aab535.gz
44 lines
1 KiB
Python
44 lines
1 KiB
Python
# -*- coding: utf-8; mode: python -*-
|
|
|
|
include("ip")
|
|
|
|
info["owner"] = "root"
|
|
info["group"] = "root"
|
|
|
|
header("""
|
|
Fichier de configuration de NRPE, client Nagios.
|
|
|
|
Pour des informations détaillées, consulter
|
|
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
|
|
http://wiki.crans.org/CransTechnique/ConfigurationNagios
|
|
""")
|
|
|
|
@# NRPE Config
|
|
@
|
|
@log_facility=daemon
|
|
@pid_file=/var/run/nagios/nrpe.pid
|
|
@server_port=5666
|
|
%server_address = admip()
|
|
@nrpe_user=nagios
|
|
@nrpe_group=nagios
|
|
@allowed_hosts=10.231.136.81
|
|
@
|
|
@# Autorise le client NRPE à passer des commentaires
|
|
@dont_blame_nrpe=1
|
|
@
|
|
@# Prefix commands
|
|
@# command_prefix=/usr/bin/sudo
|
|
@
|
|
@# Activate debug with debug=1
|
|
@debug=0
|
|
@
|
|
@command_timeout=60
|
|
@
|
|
@connection_timeout=300
|
|
@
|
|
@command[check_users]=/usr/lib/nagios/plugins/check_users -w $ARG1$ -c $ARG2$
|
|
@command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$
|
|
@command[check_all_disks]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$
|
|
@command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$
|
|
|
|
|