I've had to restart the Nagios server and repair the database because of corruption.
Now, my service checks have a negative duration. Any ideas on where to start with this?
Serivce Checks have a Negative Duration
Serivce Checks have a Negative Duration
You do not have the required permissions to view the files attached to this post.
Re: Serivce Checks have a Negative Duration
Are the system time and the php time in sync? Go to Admin->System Profile and check it out.
You can also refer to this post. It's regarding a different issue but it may help in your case.
You can also refer to this post. It's regarding a different issue but it may help in your case.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Serivce Checks have a Negative Duration
Date/Time
PHP Timezone: America/New_York
PHP Time: Tue, 21 Aug 2012 13:02:36 -0400
System Time: Tue, 21 Aug 2012 17:02:36 +0000
PHP Timezone: America/New_York
PHP Time: Tue, 21 Aug 2012 13:02:36 -0400
System Time: Tue, 21 Aug 2012 17:02:36 +0000
Re: Serivce Checks have a Negative Duration
Mysteriously it's working now. Makes me afraid to reboot....
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Serivce Checks have a Negative Duration
Are the times synced now in Admin->System Profile ?
If not you may also need to update the server timezone and time, instructions in this post
http://support.nagios.com/forum/viewtop ... ime#p24962
If not you may also need to update the server timezone and time, instructions in this post
http://support.nagios.com/forum/viewtop ... ime#p24962
Re: Serivce Checks have a Negative Duration
They're back. It appears I still have an issue. Any ideas?
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Serivce Checks have a Negative Duration
see my previous post
Re: Serivce Checks have a Negative Duration
No effect. Still have negative durations.
A little backstory: My / (root) ran out of space this morning, I had to extend the virtual disk in VMWare and then extend the volume group using LVM. Then I had to repair the mysql database because of corruption errors in the logs.
A little backstory: My / (root) ran out of space this morning, I had to extend the virtual disk in VMWare and then extend the volume group using LVM. Then I had to repair the mysql database because of corruption errors in the logs.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Serivce Checks have a Negative Duration
Are the times synced now in Admin->System Profile ?
Re: Serivce Checks have a Negative Duration
Yup.
PHP Timezone: America/New_York
PHP Time: Tue, 21 Aug 2012 16:15:58 -0400
System Time: Tue, 21 Aug 2012 16:15:58 -0400
And now my times are right too. Thanks for the help!
PHP Timezone: America/New_York
PHP Time: Tue, 21 Aug 2012 16:15:58 -0400
System Time: Tue, 21 Aug 2012 16:15:58 -0400
And now my times are right too. Thanks for the help!