Add .travis.yml file
removed obsolete changelog file

No need to maintain 2 changelogs and ChangeLog is the one autotools
wants.

Signed-off-by: Sven Nierlein <sven@nierlein.de>
logging: Fixed changing ownership on debug file

Patch based on nagios ba2c19d, by Eric Stanley <estanley@nagios.com>

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
xodtemplate: Inherit hourly value from template

Patch based on nagios c49bd4b, by Scott Wilkerson
<swilkerson@nagios.com>.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
downtime: Notify when flexible downtimes expire

Patch based on nagios 210fbbb, by Dan Wittenberg.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
worker: Change dir to something that exists

Try to change working directory to $HOME. If that fails, go for "/". If
that fails, too, I don't know what do do and just do nothing - when
someone can describe when that could reasonably happen, they get to
dictate what is the proper course of action.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
check_file_size(): Fixed wrong file name on logging

we've tried to open `path' file and in case of fail, we log that
we failed to open `log_file' instead of `path'

Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
naemon/checks.c: returning OK earlier when checking service

if run_async_service_check() returns OK, we should return
immediately, making code easier to read and avoiding
identation madness

Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
checks.c: cleaned `reschedule failed scheduled service checks'

if a given scheduled service check failed by any reason we
need to reschedule it only if it is supposed to be scheduled.

the old code works like a charm, despite the fact it looks
a little bit bizarre. imho new code gets much more cleaner this way,
no functional changes.

Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
removed spec from update-version script

this spec file does not exist anymore

Signed-off-by: Sven Nierlein <sven@consol.de>
changed version number to current devel version

so later replace works better from update-version script

Signed-off-by: Sven Nierlein <sven@consol.de>
give naemon some time to stop when doing a restart

Signed-off-by: Sven Nierlein <sven@consol.de>
naemon/checks.c removed uneeded call to update_service_status()

update_service_status() was useful when aggregate_status_updates
was enabled. as aggregate_status_updates has been removed since
last version we just don't need it anymore.

Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
naemon/utils.c: refactoring of check_file_size

refactored check_file_size to make it easier to read

Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
naemon/utils.c: refactoring and bug fixes on SIGXFSZ signal handler

- refactoring of signal handler for SIGXFSZ signal
- returning if we are unable to get system limits with getrlimit()
  otherwise we gonna fail a few lines below when refering to `rlim'
- removed unnecessary `/dev/null' strcmp() call once it is not a
  regular file, causing check_file_size to return 0

Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
change log archive file format to something that sorts properly

use YYYY-MM-DD-HH as file format, so it would sort properly. This
also makes cleanup of old log files much easier.

Signed-off-by: Sven Nierlein <sven@consol.de>
Merge branch 'ricardomaraschini-patches'
naemon/utils.c: solved indentation bugs

comments changed to something readable by doxigen and some
blank spaces got removed also.

using ./indent.sh now to be sure about the right style.

Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
Add default sysconfig file
Add nicelevel to start-stop-daemon