Re: [Nagios-devel] Checking for required elements

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Checking for required elements

Post by Guest »

>> Also if I specify a host_groups and put in a hostgroup that doesn't exist
>> I
>> get an error right after "Reading configuration data..." but it then
>> continues on. At the bottom it will show total error/warnings both at 0
>> and
>> will still load.
>
> I think the patch I just committed for the servicegroups error you
> mentioned earlier also fixes this bug.
>
>>
>> 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.

Both of these were with the latest (anonymous) CVS code as of about 3 hours
ago.

-Shad






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked