==3640== Memcheck, a memory error detector
==3640== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==3640== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==3640== Command: ./nagios -v /usr/local/nagios/etc/nagios.cfg
==3640==
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
[truncated]
Processing object config file '/usr/local/nagios/etc/globals/commands.cfg'...
==3640== Invalid read of size 1
==3640== at 0x40E3FB7: strtok (in /lib/libc-2.5.so)
==3640== by 0x809E5C3: xodtemplate_register_objects (xodtemplate.c:9836)
==3640== by 0x80B3154: xodtemplate_read_config_data (xodtemplate.c:403)
==3640== by 0x8092F3A: read_object_config_data (objects.c:83)
==3640== by 0x8062D53: read_all_object_data (config.c:240)
==3640== by 0x80570DB: main (nagios.c:495)
==3640== Address 0x43851d0 is 16 bytes inside a block of size 17 free'd
==3640== at 0x402251D: free (vg_replace_malloc.c:325)
==3640== by 0x809FB89: xodtemplate_expand_hosts (xodtemplate.c:14009)
==3640== by 0x80A2721: xodtemplate_expand_hostgroups_and_hosts (xodtemplate.c:13734)
==3640== by 0x80A4686: xodtemplate_duplicate_objects (xodtemplate.c:5563)
==3640== by 0x80B3326: xodtemplate_read_config_data (xodtemplate.c:359)
==3640== by 0x8092F3A: read_object_config_data (objects.c:83)
==3640== by 0x8062D53: read_all_object_data (config.c:240)
==3640== by 0x80570DB: main (nagios.c:495)
==3640==
==3640== Invalid read of size 1
==3640== at 0x40E3FDF: strtok (in /lib/libc-2.5.so)
==3640== by 0x809E5C3: xodtemplate_register_objects (xodtemplate.c:9836)
==3640== by 0x80B3154: xodtemplate_read_config_data (xodtemplate.c:403)
==3640== by 0x8092F3A: read_object_config_data (objects.c:83)
==3640== by 0x8062D53: read_all_object_data (config.c:240)
==3640== by 0x80570DB: main (nagios.c:495)
==3640== Address 0x43851d0 is 16 bytes inside a block of size 17 free'd
==3640== at 0x402251D: free (vg_replace_malloc.c:325)
==3640== by 0x809FB89: xodtemplate_expand_hosts (xodtemplate.c:14009)
==3640== by 0x80A2721: xodtemplate_expand_hostgroups_and_hosts (xodtemplate.c:13734)
==3640== by 0x80A4686: xodtemplate_duplicate_objects (xodtemplate.c:5563)
==3640== by 0x80B3326: xodtemplate_read_config_data (xodtemplate.c:359)
==3640== by 0x8092F3A: read_object_config_data (objects.c:83)
==3640== by 0x8062D53: read_all_object_data (config.c:240)
==3640== by 0x80570DB: main (nagios.c:495)
==3640==
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 46 services.
Checking hosts...
Checked 15 hosts.
Checking host groups...
Checked 11 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 0 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 14 host dependencies.
Checking commands...
Checked 141 commands.
Checking time periods...
Checked 3 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
==3640==
==3640== HEAP SUMMARY:
==3640== in use at exit: 1,076 bytes in 61 blocks
==3640== total heap usage: 21,137 allocs, 21,076 frees, 912,117 bytes allocated
==3640==
==3640== 177 bytes in 15 blocks are definitely lost in loss record 1 of 2
==3640== at 0x4022903: malloc (vg_replace_malloc.c:195)
==3640== by 0x40E319F: strdup (in /lib/libc-2.5.so)
==3640== by 0x80AADCE: xodtemplate_add_object_property (xodtemplate.c:3356)
==3640== by 0x80B2126: xodtemplate_process_config_file (xodtemplate.c:795)
==3640== by 0x80B1DAC: xodtemplate_process_config_dir (xodtemplate.c:607)
==3640== by 0x80B2AF6: xodtemplate_read_config_data (xodtemplate.c:298)
==3640== by 0x8092F3A: read_object_config_data (objects.c:83)
==3640== by 0x8062D53: read_all_object_data (config.c:240)
==3640== by 0x80570DB: main (nagios.c:495)
==3640==
==3640== 899 bytes in 46 blocks are definitely lost in loss record 2 of 2
==3640== at 0x4022903: malloc (vg_replace_malloc.c:195)
==3640== by 0x40E319F: strdup (in /lib/libc-2.5.so)
==3640== by 0x80AE343: xodtemplate_add_object_property (xodtemplate.c:3837)
==3640== by 0x80B2126: xodtemplate_process_config_file (xodtemplate.c:795)
==3640== by 0x80B1DAC: xodtemplate_process_config_dir (xodtemplate.c:607)
==3640== by 0x80B2AF6: xodtemplate_read_config_data (xodtemplate.c:298)
==3640== by 0x8092F3A: read_object_config_data (objects.c:83)
==3640== by 0x8062D53: read_all_object_data (config.c:240)
==3640== by 0x80570DB: main (nagios.c:495)
==3640==
==3640== LEAK SUMMARY:
==3640== definitely lost: 1,076 bytes in 61 blocks
==3640== indirectly lost: 0 bytes in 0 blocks
==3640== possibly lost: 0 bytes in 0 blocks
==3640== still reachable: 0 bytes in 0 blocks
==3640== suppressed: 0 bytes in 0 blocks
==3640==
==3640== For counts of detected and suppressed errors, rerun with: -v
==3640== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 21 from 10)