check_ldap

Andreas Ericsson ae at op5.se
Tue Dec 7 17:09:05 CET 2004


Minkov, Ross wrote:
> The question was what are the default values for critical and warning
> for check_ldap? Meaning if I didn't supply -w and -c on the command
> line, what values would be used.
> 

check_ldap --help should tell you. If it doesn't you either can't use it 
without threshold values or you should file a bug-report at 
sourceforge.net/projects/nagiosplug.

> Thanks,
> Ross
> 
> -----Original Message-----
> From: Nilesh [mailto:nilesh at databasedba.com] 
> Sent: Tuesday, December 07, 2004 1:17 AM
> To: Minkov, Ross
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] check_ldap
> 
> 
> 
> yep
> below is the values what i'm using
> its working fine
> check_ldap -H hostname -b dc=hostname,dc=com -p 389 -D 
> cn=Manager,dc=hostname,dc=com -w 20 -c 15
> 
> HTH
> 
> regards
> linux admin
> 
> 
> Minkov, Ross wrote:
> 
> 
>>Does anyone know what are the default critical and warning values for
>>check_ldap?
>>
>>=======================================================================
> 
> =
> 
>>==
>># /usr/lib/nagios/plugins/check_ldap -h
>>check_ldap (nagios-plugins 1.3.1) 1.4
>>The nagios plugins come with ABSOLUTELY NO WARRANTY. You may
>>redistribute
>>copies of the plugins under the terms of the GNU General Public
> 
> License.
> 
>>For more information about these matters, see the file named COPYING.
>>Copyright (c) 1999 Didi Rieder (adrieder at sbox.tu-graz.ac.at)
>>License: GPL
>>
>>Usage: check_ldap -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D
>><binddn>]
>>        [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]
>>(Note: all times are in seconds.)
>>
>>Options:
>>       -H [--host] ... host
>>       -a [--attr] ... ldap attribute to search (default:
>>"(objectclass=*)"
>>       -b [--base] ... ldap base (eg. ou=my unit, o=my org, c=at)
>>       -D [--bind] ... ldap bind DN (if required)
>>       -P [--pass] ... ldap password (if required)
>>       -p [--port] ... ldap port (default: 389)
>>       -w [--warn] ... time in secs. - if the exceeds <warn> the
>>STATE_WARNING will be returned
>>       -c [--crit] ... time in secs. - if the exceeds <crit> the
>>STATE_CRITICAL will be returned
>>
>>
>>
>>TIA,
>>Ross
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real
> 
> users.
> 
>>Discover which products truly live up to the hype. Start reading now. 
>>http://productguide.itmanagersjournal.com/
>>_______________________________________________
>>Nagios-users mailing list
>>Nagios-users at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-users
>>::: Please include Nagios version, plugin version (-v) and OS when
> 
> reporting any issue. 
> 
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>>
>> 
>>
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list