Page 1 of 2

Acknowledge issue

Posted: Thu Aug 24, 2017 7:05 am
by Phil.Pearce
Hi,

Ive just gone into an "latest alert" in nagios, Ive acknowledged the problem yet it doesnt acknowledge.

Any ideas on what this could be?

Re: Acknowledge issue

Posted: Thu Aug 24, 2017 8:17 am
by tacolover101
check your SQL logs - is your DB crashed by any chance?

Re: Acknowledge issue

Posted: Thu Aug 24, 2017 8:55 am
by Phil.Pearce
dont think so, everything else seems to look ok

Re: Acknowledge issue

Posted: Thu Aug 24, 2017 10:13 am
by scottwilkerson
Can you run the following and post the output

Code: Select all

tail /var/log/mysqld.log

Re: Acknowledge issue

Posted: Fri Aug 25, 2017 2:43 am
by Phil.Pearce

Code: Select all


170825  9:33:58 [Note] /usr/libexec/mysqld: Shutdown complete

170825 09:33:58 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
170825 09:34:10 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170825  9:34:10  InnoDB: Initializing buffer pool, size = 8.0M
170825  9:34:10  InnoDB: Completed initialization of buffer pool
170825  9:34:10  InnoDB: Started; log sequence number 0 44233
170825  9:34:10 [Note] Event Scheduler: Loaded 0 events
170825  9:34:10 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution




I have also performed a DB repair just incase

Re: Acknowledge issue

Posted: Fri Aug 25, 2017 9:00 am
by scottwilkerson
So when you click Acknowledge on an issue it doesn't change on the service detail page?

If this is the case can we verify multiple nagios parent processes aren't running

Code: Select all

ps-ef|grep bin/nagios

Re: Acknowledge issue

Posted: Tue Aug 29, 2017 2:53 am
by Phil.Pearce

Code: Select all

 ps-ef |grep bin/nagios
-bash: ps-ef: command not found

Code: Select all

ps -ef | grep bin/nagios
root      23574   8654  0 08:54 pts/0    00:00:00 grep bin/nagios
nagios    85206      1  0 Aug23 ?        00:25:31 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios    85208  85206  0 Aug23 ?        00:01:50 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    85209  85206  0 Aug23 ?        00:01:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    85210  85206  0 Aug23 ?        00:01:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    85211  85206  0 Aug23 ?        00:01:51 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    85212  85206  0 Aug23 ?        00:01:51 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    85213  85206  0 Aug23 ?        00:01:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios    85269  85206  0 Aug23 ?        00:00:18 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg


Re: Acknowledge issue

Posted: Tue Aug 29, 2017 9:47 am
by scottwilkerson
That looks good. Sorry about missing the space
scottwilkerson wrote: So when you click Acknowledge on an issue it doesn't change on the service detail page?

Re: Acknowledge issue

Posted: Tue Aug 29, 2017 9:51 am
by Phil.Pearce
Nothing

I click acknowledge. Nothing happens.
If i click onto latest alerts instead of it saying "xx service is being handled", it still looks like an alert

Re: Acknowledge issue

Posted: Tue Aug 29, 2017 10:11 am
by scottwilkerson
Ok, if you click the link and nothing happens, I think you may have a javascript issue or something, you should see a box like this:
ack.PNG
If you do not see this would it be possible to try a different browser?

We may need to perform a remote session, to do so you should open a ticket by sending an email to [email protected] referencing this thread

Thanks!