Page 5 of 8
Re: Server issues when multiple hosts were down
Posted: Wed Jun 03, 2015 3:45 pm
by tmcdonald
WillemDH wrote:Wow. That was fast. Gj Trevor.
Thanks!
WillemDH wrote:So is it something we can enable / disable?
I am right now testing the nagios.cfg entry, but it appears to be working. Need to wait 2 minutes for a check to occur organically.
WillemDH wrote:And is it update proof?
I will provide the patches and try to keep them updated, but this will in all likelihood not make it into Core until a dev can look it over and approve it. I will write up instructions on applying the patch (maybe have a script to do it all) and post these on my GitHub as well.
Like I said, only so much we can do on the Support side of things, but I am doing what I can.
Re: Server issues when multiple hosts were down
Posted: Wed Jun 03, 2015 3:49 pm
by BanditBBS
WillemDH wrote:Wow. That was fast. Gj Trevor. So is it something we can enable / disable? And is it update proof?
Grtz
Willem
What i am running in DEV is not configurable, its just ON. Hopefully it can at some point be added into Core and get a configuration variable. No, not update proof, would have to patch Core anytime it gets updated in XI until this would ever get put into Core officially. But for those of us dying for this functionality, its great and a quite simple code addition.
Re: Server issues when multiple hosts were down
Posted: Wed Jun 03, 2015 4:18 pm
by tmcdonald
FINAL UPDATE: The code officially made it into Core:
https://github.com/NagiosEnterprises/na ... fc5e3cbe8a
This post is being kept around for posterity's sake.
Edit: As usual, please backup/snapshot before you try this!
Edit 2: Updated code, should work but I will need to test in the morning. Feel free to give it a shot and post back.
GitHub commit: https://github.com/tmcnag/nagioscore/co ... 724930a3e7
Fixed commit:
https://github.com/tmcnag/nagioscore/co ... 06e2c427cd
Alright, here's what needs to be done in brief if you do not have the /tmp/nagiosxi directory. If you do, you can skip the first wget and untar phase:
Code: Select all
cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/2014/xi-2014r2.7.tar.gz
tar xzf xi-2014r2.7.tar.gz
cd nagiosxi/subcomponents/nagioscore
wget --no-check-certificate https://github.com/tmcnag/nagioscore/tarball/master -O nagios-4.0.8.tar.gz
tar xzf nagios-4.0.8.tar.gz
mv tmcnag-nagioscore-* nagios-4.0.8
You will now need to modify the /tmp/nagiosxi/subcomponents/nagioscore/upgrade script to the following:
Code: Select all
#!/bin/sh -e
. ../../xi-sys.cfg
pkgname="nagios-4.0.8"
echo "NAGIOSCORE"
# Delete the old directory
#rm -rf "$pkgname"
#rm -rf nagios
# Extract archive
#tar -xzf "$pkgname.tar.gz"
ln -s nagios "$pkgname"
# Apply our patches
./apply-patches "$pkgname"
# Make and install Nagios
(
cd "./$pkgname"
./configure --with-command-group="$nagioscmdgroup" --disable-embedded-perl
make all
make install
#make install-init
#make install-config
#make install-commandmode
)
#comment out deprecated config items
sed -i 's/^old/#new/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/use_embedded_perl_implicitly/#use_embedded_perl_implicitly/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^sleep_time/#sleep_time/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^p1_file/#p1_file/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^external_command_buffer_slots/#external_command_buffer_slots/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^enable_embedded_perl/#enable_embedded_perl/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^command_check_interval/#command_check_interval/g' /usr/local/nagios/etc/nagios.cfg
# Turn on auto_reschedule_checks
sed -i 's/^auto_reschedule_checks=0/auto_reschedule_checks=1/g' /usr/local/nagios/etc/nagios.cfg
# Restart the nagios service
if [ ! `command -v systemctl` ]; then
service nagios restart
else
systemctl restart nagios
fi
# Post-upgrade modifications
#./post-upgrade
Basically commenting out the lines to untar and such since we already did this. Then run it:
Code: Select all
cd /tmp/nagiosxi/subcomponents/nagioscore
./upgrade
Let me know if it complains. If it succeeds, you can now add "host_down_disable_service_checks=1" to nagios.cfg to enable, making sure to restart.
Please let me know if you run into any issues.
Update:
It appears some code from another branch made it into my commit. Nothing major, just changes the way newlines in output is processed. It should not affect the actual building of Core, but I will work on reverting my commit to a "clean" state so it only contains my changes. - Fixed, see edit at top of post.
Re: Server issues when multiple hosts were down
Posted: Wed Jun 03, 2015 9:06 pm
by Fred Kroeger
Great work Trevor - thanks for your efforts to provide a solution for us - albeit an un-official patch, but it's a start!
This is the sort of response that helps me convince clients that the "Nagios Solution" works for them!
I haven't upgraded to to 2.7 yet, so I will take this opportunity to upgrade my Test inatllation first , make sure it is stable and then apply your patch and test it.
Really appreciate your help with this - Regards... Fred
Re: Server issues when multiple hosts were down
Posted: Wed Jun 03, 2015 9:17 pm
by Box293
I re-tested after Trevor's recommit and his steps work and it compiles correctly.
When host_down_disable_service_checks=1, the service's stay at their last known state and keep getting their next check pushed back to the next check interval (just like escalations do).
This testing was performed on a freshly deployed XI 2014R2.7 64bit VMware Workstation VM (nagiosxi-2014r2.7-vmware-64.zip)
I've followed these steps and I'm getting an error at the end.
First I get asked the question:
Code: Select all
Reversed (or previously applied) patch detected! Assume -R? [n]
I answer with y
Then it ends with:
Code: Select all
/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base/commands.c:2291: undefined reference to `unescape_check_result_output'
commands.o: In function `cmd_process_service_check_result':
/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base/commands.c:2193: undefined reference to `unescape_check_result_output'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
make: *** [all] Error 2
If I answer n to the question, I don't get far:
Code: Select all
Apply anyway? [n] y
Hunk #1 FAILED at 2520.
1 out of 1 hunk FAILED -- saving rejects to file nagios-4.0.8/common/macros.c.rej
Full output when answering y:
Code: Select all
./upgrade
NAGIOSCORE
Applying Nagios XI patches to Nagios Core...
patching file nagios-4.0.8/cgi/Makefile.in
Hunk #1 succeeded at 40 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 135 (offset -16 lines).
Hunk #3 succeeded at 165 with fuzz 2 (offset -13 lines).
patching file nagios-4.0.8/common/macros.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for va_copy... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for C99 vsnprintf... yes
checking for library containing getservbyname... none required
checking for library containing connect... none required
checking for initgroups... yes
checking for setenv... yes
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for unsetenv... yes
checking for type of socket size... size_t
checking for library containing nanosleep... none required
checking for mail... /bin/mail
checking for glibc at least version 2.4... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... yes
GD library was found!
checking for gdImageCreateTrueColor in -lgd... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for extra flags needed to export symbols... -Wl,-export-dynamic
checking for linker flags for loadable modules... -shared
checking for traceroute... /bin/traceroute
checking for type va_list... yes
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating subst
config.status: creating pkginfo
config.status: creating base/Makefile
config.status: creating common/Makefile
config.status: creating contrib/Makefile
config.status: creating cgi/Makefile
config.status: creating html/Makefile
config.status: creating module/Makefile
config.status: creating worker/Makefile
config.status: creating worker/ping/Makefile
config.status: creating xdata/Makefile
config.status: creating daemon-init
config.status: creating t/Makefile
config.status: creating t-tap/Makefile
config.status: creating include/config.h
config.status: creating lib/snprintf.h
config.status: creating lib/iobroker.h
Creating sample config files in sample-config/ ...
*** Configuration summary for nagios 4.1.0rc1 02-18-2015 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Install ${includedir}: /usr/local/nagios/include/nagios
Lock file: ${prefix}/var/nagios.lock
Check result directory: ${prefix}/var/spool/checkresults
Init directory: /etc/rc.d/init.d
Apache conf.d directory: /etc/httpd/conf.d
Mail program: /bin/mail
Host OS: linux-gnu
IOBroker Method: epoll
Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /bin/traceroute
Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
cd ./base && make
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nagios.o nagios.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nerd.o nerd.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o query-handler.o query-handler.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c
commands.c: In function ‘cmd_process_service_check_result’:
commands.c:2193: warning: implicit declaration of function ‘unescape_check_result_output’
commands.c:2193: warning: pointer/integer type mismatch in conditional expression
commands.c: In function ‘process_passive_service_check’:
commands.c:2248: warning: assignment discards qualifiers from pointer target type
commands.c: In function ‘cmd_process_host_check_result’:
commands.c:2291: warning: pointer/integer type mismatch in conditional expression
commands.c: In function ‘process_passive_host_check’:
commands.c:2341: warning: assignment discards qualifiers from pointer target type
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o netutils.o netutils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c
make -C ../lib
make[2]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/lib'
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c squeue.c -o squeue.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c kvvec.c -o kvvec.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c iocache.c -o iocache.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c iobroker.c -o iobroker.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c bitmap.c -o bitmap.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c dkhash.c -o dkhash.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c runcmd.c -o runcmd.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c fanout.c -o fanout.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c worker.c -o worker.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c skiplist.c -o skiplist.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nsock.c -o nsock.o
gcc -Wall -g -O2 -DHAVE_CONFIG_H -c nspath.c -o nspath.o
ar cr libnagios.a squeue.o kvvec.o iocache.o iobroker.o bitmap.o dkhash.o runcmd.o nsutils.o fanout.o pqueue.o worker.o skiplist.o nsock.o nspath.o
make[2]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/lib'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.o broker.o nebmods.o ../common/shared.o nerd.o query-handler.o workers.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o -Wl,-export-dynamic -lm -ldl ../lib/libnagios.a
commands.o: In function `cmd_process_host_check_result':
/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base/commands.c:2291: undefined reference to `unescape_check_result_output'
commands.o: In function `cmd_process_service_check_result':
/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base/commands.c:2193: undefined reference to `unescape_check_result_output'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios-4.0.8/base'
make: *** [all] Error 2
Full output when answering n:
Code: Select all
./upgrade
NAGIOSCORE
Applying Nagios XI patches to Nagios Core...
patching file nagios-4.0.8/cgi/Makefile.in
Hunk #1 succeeded at 40 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 135 (offset -16 lines).
Hunk #3 succeeded at 165 with fuzz 2 (offset -13 lines).
patching file nagios-4.0.8/common/macros.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 2520.
1 out of 1 hunk FAILED -- saving rejects to file nagios-4.0.8/common/macros.c.rej
[/s]
Re: Server issues when multiple hosts were down
Posted: Thu Jun 04, 2015 3:13 am
by Fred Kroeger
Confirmed - it works for me as well. When the host is Down, Service Checks stop and scheduled checks keep advancing.
Now... next step is to convince the DEV team that this is a good thing!
Thanks Trevor!
Regards... Fred
Re: Server issues when multiple hosts were down
Posted: Thu Jun 04, 2015 8:32 am
by BanditBBS
I'm having an issue. I did remove all the stuff we did yesterday to try it from scratch. Now this is happening:
Code: Select all
[root@iss-chi-nag01 nagioscore]# ./upgrade
NAGIOSCORE
Applying Nagios XI patches to Nagios Core...
patching file nagios-4.0.8/cgi/Makefile.in
Hunk #1 succeeded at 40 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 135 (offset -16 lines).
Hunk #3 succeeded at 165 with fuzz 2 (offset -13 lines).
patching file nagios-4.0.8/common/macros.c
Reversed (or previously applied) patch detected! Assume -R? [n]
When I run the "tar xzf nagios-4.0.8.tar.gz" for some reason I don't think it is actually extracting that though(it should be, right?) and when I do the mv command next its basically just renaming the tmc folder to nagios-4.0.8. I don't know what I'm doing wrong, LOL. Maybe it is just too early in the day.
Edit: I see when extracting its actually extracing into the tmc folder...so I think thats all working as designed? Now the question is, why am I getting the HUNK errors?
Re: Server issues when multiple hosts were down
Posted: Thu Jun 04, 2015 9:24 am
by tmcdonald
http://www.gnu.org/software/diffutils/m ... tches.html
No idea why a re-untar of my code would show that things have already been applied. It might be that the code I based it off of has the patches applied already. The upgrade script makes some mods to various parts of the C code only for XI installs. Does it still compile properly despite the errors?
Comparing my fork with the official master branch, the only changes that should be present are the ones I made:
https://github.com/NagiosEnterprises/na ... nag:master
Re: Server issues when multiple hosts were down
Posted: Thu Jun 04, 2015 9:50 am
by BanditBBS
I answered the questions with a "y" and it completed successful. The checks that stopped during our test yesterday then started working. I put in the config variable now required and applied changes and the checks stopped again...so, umm, YAY!
Re: Server issues when multiple hosts were down
Posted: Thu Jun 04, 2015 9:53 am
by tmcdonald
Sounds like a successful test. And not that it needs to be said, but leaving out the config option and setting it to 0 has the same effect.
Let's leave this thread open for a bit in case there are other issues/feedback.