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
Operaton Center shows Alert Notification duration in -ve
Operaton Center shows Alert Notification duration in -ve
You do not have the required permissions to view the files attached to this post.
Re: Operaton Center shows Alert Notification duration in -ve
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?
Additionally, what is the result of df -h?
Former Nagios Employee
Re: Operaton Center shows Alert Notification duration in -ve
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
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
What version of the Operation Center are you running? You can find this under the Admin --> System Extensions --> Manage Components menu.
Former Nagios Employee.
me.
me.
Re: Operaton Center shows Alert Notification duration in -ve
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.
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
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;"Former Nagios Employee.
me.
me.
Re: Operaton Center shows Alert Notification duration in -ve
[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?
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
It's certainly a possibility. is there a lot of latency between the two locations?
Former Nagios Employee.
me.
me.
Re: Operaton Center shows Alert Notification duration in -ve
How can I check the latency between these 2 locations?
Re: Operaton Center shows Alert Notification duration in -ve
With the ping command.
Former Nagios Employee.
me.
me.