try this
This commit is contained in:
parent
407efad1f7
commit
dec23cd1bc
2 changed files with 30 additions and 0 deletions
29
roles/nagios_server/files/nagios/commands/mailman.cfg
Normal file
29
roles/nagios_server/files/nagios/commands/mailman.cfg
Normal file
|
@ -0,0 +1,29 @@
|
|||
################################################################################
|
||||
# COMMAND DEFINITIONS
|
||||
#
|
||||
# SYNTAX:
|
||||
#
|
||||
# define command{
|
||||
# template <templatename>
|
||||
# name <objectname>
|
||||
# command_name <commandname>
|
||||
# command_line <commandline>
|
||||
# }
|
||||
#
|
||||
# WHERE:
|
||||
#
|
||||
# <templatename> = object name of another command definition that should be
|
||||
# used as a template for this definition (optional)
|
||||
# <objectname> = object name of command definition, referenced by other
|
||||
# command definitions that use it as a template (optional)
|
||||
# <commandname> = name of the command, as recognized/used by Nagios
|
||||
# <commandline> = command line
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# 'check_mailman_api'
|
||||
define command{
|
||||
command_name check_mailman_api
|
||||
command_line $USER1$/check_http -H localhost -p 8001 -u /3.0
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue