Checking for required elements

Shad L. Lords slords at lordsfam.net
Fri Oct 19 18:20:57 CEST 2007


>> Finally in trying to duplicate this I was trying to come up with a 
>> minimal
>> config and found one that would cause a Segmentation fault during 
>> checking
>> contacts.  Here it is:
>>
>> define contact {
>>         contact_name                    test
>>         service_notification_commands   command
>>         host_notification_commands      command
>>         }
>>
>> define command {
>>         command_name    command
>>         command_line    echo test
>>         }
>>
>> define host {
>>         host_name               host
>>         max_check_attempts      1
>>         }
>>
>> define service {
>>         service_description     service
>>         host_name               host
>>         check_command           command
>>         max_check_attempts      3
>> }
>>
>> Thanks for your great work,
>>
>> -Shad
>>
>>
>
> I tested this tiny config and it worked okay - got warnings about
> missing timeperiods and it didn't segfault.  Try the latest CVS when you
> get a chance to see if that fixes any problems you were having.

If you can give some short instructions I'll provide a backtrace if you 
think it will help.

-Shad 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list