Hello!
About nagios XI environment
1) Linux Distribution and version? Centos7
2) 32 or 64bit? 64bit
3) VMware Image or Manual Install of XI? Manual install
4) Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? SSL
5) NagiosXI version: 5.5.4
I have noticed a bug in scheduled downtime duration, it shows duration 9h 6m 7s when it should be 24hours. Example:
I hope that this is only visual bug.
Thanks!
Scheduled downtime duration
Scheduled downtime duration
Last edited by atsb on Fri Oct 12, 2018 1:16 am, edited 1 time in total.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled downtime duration
We have seen this a couple times, would it be possible for you to run the following and post the output (obfuscate sensitive info)
I'm most interested in seeing the start time stop time and duration returned
Thanks!
Code: Select all
http://YOUR_HOST/nagiosxi/includes/components/xicore/downtime.php?cmd=getdowntimesThanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled downtime duration
looking into this further is is a bug in ndo2db, which can be resolved by running the following
This will not fix the column for previously scheduled downtimes, but will fix them in the future.
This is just a display bug.
Code: Select all
echo "ALTER TABLE nagios_scheduleddowntime MODIFY COLUMN duration int(11);"|mysql -pnagiosxi nagiosThis is just a display bug.
Re: Scheduled downtime duration
I tested and your suggestion works.
Thanks!
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled downtime duration
great! Locking threadatsb wrote:I tested and your suggestion works.
Thanks!