Page 1 of 2
Operaton Center shows Alert Notification duration in -ve
Posted: Mon Jan 18, 2016 7:39 am
by jyoti22
Hi Support,
My Nagios XI was working fine. But from few hours accidently its showing alert notification duration is -ve values ie (-4seconds). I have not made any configuration changes on the server. Can anyone please suggest how to fix this issue..
Thanks,
Jyoti
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Mon Jan 18, 2016 10:43 am
by rkennedy
When you navigate to Admin -> System Profile -> Show Profile, what is the PHP Time and System Time set to? They will need to be in sync.
Additionally, what is the result of df -h?
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Tue Jan 19, 2016 10:10 am
by jyoti22
Hi Please find the output
Date/Time
PHP Timezone: America/Los_Angeles
PHP Time: Tue, 19 Jan 2016 07:10:33 -0800
System Time: Tue, 19 Jan 2016 07:10:33 -0800
[root@nagios etc]# cat /etc/sysconfig/clock
ZONE="America/Los_Angeles"
[root@nagios etc]# date
Tue Jan 19 07:10:02 PST 2016
[root@nagios ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_root-lv_root
50G 426M 47G 1% /
tmpfs 7.7G 0 7.7G 0% /dev/shm
/dev/sda2 477M 72M 380M 16% /boot
/dev/sda1 200M 264K 200M 1% /boot/efi
/dev/mapper/vg_root-lv_home
23G 44M 22G 1% /home
/dev/mapper/vg_root-lv_store
59G 591M 56G 2% /store
/dev/mapper/vg_root-lv_tmp
9.8G 23M 9.2G 1% /tmp
/dev/mapper/vg_root-lv_usr
99G 4.2G 90G 5% /usr
/dev/mapper/vg_root-lv_var
50G 834M 46G 2% /var
/dev/mapper/vg_root-lv_log
32G 563M 30G 2% /var/log
/dev/mapper/vg_root-lv_audit
12G 57M 12G 1% /var/log/audit
You have new mail in /var/spool/mail/root
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Tue Jan 19, 2016 10:15 am
by hsmith
What version of the Operation Center are you running? You can find this under the Admin --> System Extensions --> Manage Components menu.
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Tue Jan 19, 2016 11:34 am
by jyoti22
Operation centers version is 1.0.2.
This issue is not just with Operations center, Home -> Details ->Service details and Home -> Details ->host details also shows time duration in -Ve value.
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Tue Jan 19, 2016 12:34 pm
by hsmith
Let's see these three commands ran around the same time:
Code: Select all
date
mysql -unagiosxi -pn@gweb -e "SELECT NOW();"
php -r "echo date('r').PHP_EOL;"
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Tue Jan 19, 2016 1:02 pm
by jyoti22
[root@nagios~]# date
Tue Jan 19 09:57:16 PST 2016
[root@nagios~]# mysql -unagiosxi -pn@gweb -e "SELECT NOW();"
ERROR 1045 (28000): Access denied for user 'nagiosxi'@'localhost' (using password: YES)
[root@nagios~]# php -r "echo date('r').PHP_EOL;"
Tue, 19 Jan 2016 09:58:11 -0800
Few days back we have offloaded the DB to remote server. is this issue due to this offloading?
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Tue Jan 19, 2016 2:06 pm
by hsmith
It's certainly a possibility. is there a lot of latency between the two locations?
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Wed Jan 20, 2016 10:32 am
by jyoti22
How can I check the latency between these 2 locations?
Re: Operaton Center shows Alert Notification duration in -ve
Posted: Wed Jan 20, 2016 10:39 am
by hsmith
With the ping command.