Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 0f6d8f0a0414ceb7d968e706ca2bbf36 > files > 2011

shinken-1.4-1.fc18.noarch.rpm


# Ldap query
# Don't forget to update the macros in the resources.cfg file
define command {
       command_name	check_ldap
       command_line	$PLUGINSDIR$/check_ldap -H $HOSTADDRESS$ -b "$_HOSTLDAPBASE$" -D $_HOSTDOMAINUSER$ -P "$_HOSTDOMAINPASSWORD$"
}

define command {
       command_name     check_ldap3
       command_line     $PLUGINSDIR$/check_ldap -H $HOSTADDRESS$ -b "$_HOSTLDAPBASE$" -D $_HOSTDOMAINUSER$ -P "$_HOSTDOMAINPASSWORD$" -3
}

# Now the same, but in LDAPS
# Don't forget to update the macros in the resources.cfg!
define command {
       command_name     check_ldaps
       command_line     $PLUGINSDIR$/check_ldaps -H $HOSTNAME$ -b "$_HOSTLDAPBASE$" -D $_HOSTDOMAINUSER$ -P "$_HOSTDOMAINPASSWORD$"
}


define command {
       command_name     check_ldaps_certificate
       command_line     $PLUGINSDIR$/check_tcp -H $HOSTADDRESS$ -p 636 -D 30
}