00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #define DEFAULT_ICINGA_USER "nagios"
00028 #define DEFAULT_ICINGA_GROUP "nagios"
00029
00030
00031 #define _GNU_SOURCE 1
00032
00033
00034 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
00035
00036 #else
00037 #define GCCTOOOLD 1
00038 #endif
00039
00040
00041 #define USE_EVENT_BROKER
00042
00043
00044 #define EMBEDDEDPERL
00045 #define THREADEDPERL
00046
00047 #define DO_CLEAN "0"
00048
00049
00050 #define TRACEROUTE_COMMAND "/bin/traceroute"
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069 #define USE_XSDDEFAULT
00070 #define USE_XCDDEFAULT
00071 #define USE_XRDDEFAULT
00072 #define USE_XODTEMPLATE
00073 #define USE_XPDDEFAULT
00074 #define USE_XDDDEFAULT
00075
00076
00077
00078 #define USE_STATUSMAP
00079
00080 #define USE_STATUSWRL
00081
00082 #define USE_TRENDS
00083
00084 #define USE_HISTOGRAM
00085
00086
00087
00088
00089 #define HAVE_SETENV 1
00090 #define HAVE_UNSETENV 1
00091
00092 #define HAVE_STRDUP 1
00093 #define HAVE_STRSTR 1
00094 #define HAVE_STRTOUL 1
00095 #define HAVE_INITGROUPS 1
00096
00097 #define HAVE_GDIMAGECREATETRUECOLOR 1
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107 #define HAVE_C99_VSNPRINTF 1
00108 #define HAVE_VA_COPY 1
00109
00110
00111
00112
00113
00114
00115 #define USE_NANOSLEEP
00116 #define STDC_HEADERS 1
00117 #define HAVE_TM_ZONE 1
00118
00119
00120 #define SOCKET_SIZE_TYPE size_t
00121 #define GETGROUPS_T gid_t
00122 #define RETSIGTYPE void
00123
00124
00125
00126
00127
00128 #include <stdio.h>
00129 #include <stdlib.h>
00130
00131
00132
00133 #define TIME_WITH_SYS_TIME 1
00134 #define HAVE_SYS_TIME_H 1
00135 #if TIME_WITH_SYS_TIME
00136 #include <sys/time.h>
00137 #include <time.h>
00138 #else
00139 #if HAVE_SYS_TIME_H
00140 #include <sys/time.h>
00141 #else
00142 #include <time.h>
00143 #endif
00144 #endif
00145
00146 #define HAVE_SYS_RESOURCE_H 1
00147 #ifdef HAVE_SYS_RESOURCE_H
00148 #include <sys/resource.h>
00149 #endif
00150
00151 #define HAVE_LIMITS_H 1
00152 #ifdef HAVE_LIMITS_H
00153 #include <limits.h>
00154 #endif
00155
00156 #define HAVE_PWD_H 1
00157 #ifdef HAVE_PWD_H
00158 #include <pwd.h>
00159 #endif
00160
00161 #define HAVE_GRP_H 1
00162 #ifdef HAVE_GRP_H
00163 #include <grp.h>
00164 #endif
00165
00166 #define HAVE_STRINGS_H 1
00167 #ifdef HAVE_STRINGS_H
00168 #include <strings.h>
00169 #endif
00170
00171 #define HAVE_STRING_H 1
00172 #ifdef HAVE_STRINGS_H
00173 #include <string.h>
00174 #endif
00175
00176 #define HAVE_UNISTD_H 1
00177 #ifdef HAVE_UNISTD_H
00178 #include <unistd.h>
00179 #endif
00180
00181 #define HAVE_SYSLOG_H 1
00182 #ifdef HAVE_SYSLOG_H
00183 #include <syslog.h>
00184 #endif
00185
00186 #define HAVE_SIGNAL_H 1
00187 #ifdef HAVE_SIGNAL_H
00188 #include <signal.h>
00189 #endif
00190
00191 #define HAVE_SYS_STAT_H 1
00192 #ifdef HAVE_SYS_STAT_H
00193 #include <sys/stat.h>
00194 #endif
00195
00196 #define HAVE_SYS_MMAN_H 1
00197 #ifdef HAVE_SYS_MMAN_H
00198 #include <sys/mman.h>
00199 #endif
00200
00201 #define HAVE_FCNTL_H 1
00202 #ifdef HAVE_FCNTL_H
00203 #include <fcntl.h>
00204 #endif
00205
00206 #define HAVE_STDARG_H 1
00207 #ifdef HAVE_STDARG_H
00208 #include <stdarg.h>
00209 #endif
00210
00211 #define HAVE_SYS_TYPES_H 1
00212 #ifdef HAVE_SYS_TYPES_H
00213 #include <sys/types.h>
00214 #endif
00215
00216 #define HAVE_SYS_WAIT_H 1
00217 #ifdef HAVE_SYS_WAIT_H
00218 #include <sys/wait.h>
00219 #endif
00220
00221 #define HAVE_ERRNO_H 1
00222 #ifdef HAVE_ERRNO_H
00223 #include <errno.h>
00224 #endif
00225
00226 #define HAVE_SYS_TIMEB_H 1
00227 #if HAVE_SYS_TIMEB_H
00228 #include <sys/timeb.h>
00229 #endif
00230
00231 #define HAVE_SYS_IPC_H 1
00232 #ifdef HAVE_SYS_IPC_H
00233 #include <sys/ipc.h>
00234 #endif
00235
00236 #define HAVE_SYS_MSG_H 1
00237 #ifdef HAVE_SYS_MSG_H
00238 #include <sys/msg.h>
00239 #endif
00240
00241 #define HAVE_MATH_H 1
00242 #ifdef HAVE_MATH_H
00243 #include <math.h>
00244 #endif
00245
00246 #define HAVE_CTYPE_H 1
00247 #ifdef HAVE_CTYPE_H
00248 #include <ctype.h>
00249 #endif
00250
00251 #define HAVE_DIRENT_H 1
00252 #ifdef HAVE_DIRENT_H
00253 #include <dirent.h>
00254 #endif
00255
00256 #define HAVE_PTHREAD_H 1
00257 #ifdef HAVE_PTHREAD_H
00258 #include <pthread.h>
00259 #endif
00260
00261 #define HAVE_REGEX_H 1
00262 #ifdef HAVE_REGEX_H
00263 #include <regex.h>
00264
00265 #define HAVE_SYS_SOCKET_H 1
00266 #ifdef HAVE_SYS_SOCKET_H
00267 #include <sys/socket.h>
00268 #endif
00269
00270
00271 #ifdef HAVE_SOCKET_H
00272 #include <socket.h>
00273 #endif
00274
00275 #define HAVE_NETINET_IN_H 1
00276 #ifdef HAVE_NETINET_IN_H
00277 #include <netinet/in.h>
00278 #endif
00279
00280 #define HAVE_ARPA_INET_H 1
00281 #ifdef HAVE_ARPA_INET_H
00282 #include <arpa/inet.h>
00283 #endif
00284
00285 #define HAVE_NETDB_H 1
00286 #ifdef HAVE_NETDB_H
00287 #include <netdb.h>
00288 #endif
00289
00290 #define HAVE_LIBGEN_H 1
00291 #ifdef HAVE_LIBGEN_H
00292 #include <libgen.h>
00293 #endif
00294
00295 #define HAVE_SYS_UN_H 1
00296 #ifdef HAVE_SYS_UN_H
00297 #include <sys/un.h>
00298 #endif
00299
00300 #define HAVE_SYS_POLL_H 1
00301 #ifdef HAVE_SYS_POLL_H
00302 #include <sys/poll.h>
00303 #endif
00304
00305 #define HAVE_GETOPT_H 1
00306 #ifdef HAVE_GETOPT_H
00307 #include <getopt.h>
00308 #endif
00309
00310
00311 #ifdef HAVE_LINUX_MODULE_H
00312 #include <linux/module.h>
00313 #endif
00314
00315
00316 #ifdef HAVE_SSL
00317 #include <rsa.h>
00318 #include <crypto.h>
00319 #include <dh.h>
00320 #include <pem.h>
00321 #include <ssl.h>
00322 #include <err.h>
00323 #include <rand.h>
00324 #endif
00325
00326
00327
00328
00329 #define HAVE_LTDL_H
00330 #ifdef HAVE_LTDL_H
00331 #define USE_LTDL
00332 #endif
00333
00334 #ifdef USE_LTDL
00335 #include <ltdl.h>
00336 #else
00337
00338 #ifdef HAVE_DLFCN_H
00339 #include <dlfcn.h>
00340 #endif
00341 #endif
00342
00343
00344
00345 #ifndef RTLD_GLOBAL
00346 #define RTLD_GLOBAL 0
00347 #endif
00348
00349 #ifndef RTLD_NOW
00350 #define RTLD_NOW 0
00351 #endif
00352
00353
00354
00355
00356
00357 #ifndef WEXITSTATUS
00358 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
00359 #endif
00360 #ifndef WIFEXITED
00361 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
00362 #endif
00363
00364
00365
00366
00367
00368 #define HAVE_DBI_DBI_H "1"
00369 #define USE_LIBDBI 1
00370
00371
00372
00373
00374
00375
00376
00377
00378 #ifdef USE_ORACLE
00379 #define HAVE_ORACLE 1
00380 #endif
00381
00382 #endif