Scheduled downtime duration field

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled downtime duration field

Post by lmiltchev »

Here's the issue - your duration is smallint(6)...
| duration | smallint(6) | NO | | 0 | |
It should be int(11).

Run the following command to modify it:

Code: Select all

echo 'ALTER TABLE nagios_scheduleddowntime MODIFY duration int(11) NOT NULL;' | mysql -uroot -pnagiosxi nagios
then verify that it was actually changed by running:

Code: Select all

echo 'describe nagios_scheduleddowntime;' | mysql -t -uroot -pnagiosxi nagios | grep duration
Let us know if this fixes your issue. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
CBoekhuis
Posts: 234
Joined: Tue Aug 16, 2011 4:55 am

Re: Scheduled downtime duration field

Post by CBoekhuis »

That was it, I've tested it again after the change and now the duration will display 11h.
Thank you and have a nice weekend!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled downtime duration field

Post by lmiltchev »

Thank you! You too have a nice weekend! I am glad your issue has been resolved! :)

I am locking this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked