Page 1 of 1
Nagios 5.5 problem
Posted: Fri Jul 06, 2018 2:59 am
by denisd
Hello,
I have recently upgraded to 5.5. and have some weird behaviour. If I disable a service or a host in CCM, nagios is still performing checks for that service/server. It happens even if I delete the service/server from CCM. Nagios still does the checks.
I have tried to:
1. set server to active=no in CCM
2. apply config
3. poweroff server
4. still getting notifications about host down.
Tired the same on single service, still happens.
Best reagards,
Denis
Re: Nagios 5.5 problem
Posted: Fri Jul 06, 2018 9:37 am
by lmiltchev
What is the name of the "problem" service/host? Can you show us the actual email notification that you received about your host being down? We will need to look into your configs and logs, so please PM me your profile.
Admin > System Profile > Download Profile
Re: Nagios 5.5 problem
Posted: Mon Jul 09, 2018 12:47 am
by denisd
I'm unable to send you a PM. I have: "We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more to be able to use this feature."
The actual mail alert is this:
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: ArchiveWorker Daemon
Host: syd-arch-prod-01
Address: 172.17.39.133
State: CRITICAL
Info:
*** archiveworker: Nok ***
Date/Time: 2018-07-09 05:23:52
Re: Nagios 5.5 problem
Posted: Mon Jul 09, 2018 8:09 am
by scottwilkerson
please post the output of
Re: Nagios 5.5 problem
Posted: Mon Jul 09, 2018 8:13 am
by denisd
ps -ef|grep nagios.cfg
Code: Select all
root 17372 21784 0 13:13 pts/0 00:00:00 grep nagios.cfg
nagios 21409 1 0 Jul03 ? 00:14:13 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 21429 21409 0 Jul03 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 25265 1 0 05:58 ? 00:00:42 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 25283 25265 0 05:58 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Re: Nagios 5.5 problem
Posted: Mon Jul 09, 2018 9:09 am
by scottwilkerson
Ok, there's the problen, run the following
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
That should resolve the issue
Re: Nagios 5.5 problem
Posted: Mon Jul 09, 2018 10:18 am
by denisd
Worked like a charm, thank you.
Re: Nagios 5.5 problem
Posted: Mon Jul 09, 2018 10:43 am
by tmcdonald
Excellent! Did you have further (related) questions or are we good to lock this up?
Re: Nagios 5.5 problem
Posted: Mon Jul 09, 2018 10:52 am
by denisd
All good for now, lock it up.