[Nagios-users] check_ldap! not working right in services.cfg

2007-06-19 Thread RR
Whenever I run 'nagios -v nagios.cfg', I get the following error: Error: Service check command 'check_ldap' specified in service 'server-check_ldap' for host 'ldap-server' not defined anywhere! Checked 36 services. But it doesn't work when I edit my commands.cfg file to include the

Re: [Nagios-users] check_ldap! not working right in services.cfg

2007-06-19 Thread Duncan Ferguson
You need to braces - { and } - looks like you have a mixed bracket and a brace ( and } Duncs On 19 Jun 2007, at 15:42, RR wrote: Whenever I run 'nagios -v nagios.cfg', I get the following error: Error: Service check command 'check_ldap' specified in service 'server-check_ldap' for host

Re: [Nagios-users] check_ldap! not working right in services.cfg

2007-06-19 Thread RR
Thank you! Gawd, I feel stupid... :b On 6/19/07, Duncan Ferguson [EMAIL PROTECTED] wrote: You need to braces - { and } - looks like you have a mixed bracket and a brace ( and } Duncs - This SF.net email is sponsored

Re: [Nagios-users] check_ldap! not working right in services.cfg

2007-06-19 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of RR Sent: Tuesday, June 19, 2007 9:42 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_ldap! not working right in services.cfg define command

Re: [Nagios-users] check_ldap! not working right in services.cfg

2007-06-19 Thread Luis Cerezo
is that an open parens or open curly bracket? -luis * Luis E. Cerezo 281.509.8397 GSS GlobalIT On Jun 19, 2007, at 9:42 AM, RR wrote: -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the

Re: [Nagios-users] check_ldap! not working right in services.cfg

2007-06-19 Thread RR
Thanks, it was indeed a parenthesis instead of a curley brace. Interestingly, I have a different problem now. nagios -v nagios.cfg runs ok, but when I restart the service (/etc/init.d/nagios restart), my check_ldap changes aren't reflected properly in my web GUI. Any suggestions on what I

Re: [Nagios-users] check_ldap! not working right in services.cfg

2007-06-19 Thread RR
D'oh! I found my problem. The hosts weren't in my hostgroup.cfg file! Thanks for your help, everyone! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take