Flexible Downtime error 'Start or end time not valid'

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mrollins13
Posts: 5
Joined: Wed Jul 31, 2013 9:48 am

Flexible Downtime error 'Start or end time not valid'

Post by mrollins13 »

We are running Nagios core 3.5.1.

When we attempt to schedule flexible downtime via the CGI web interface, we repeatedly get the message "Start or end time not valid. Go back and verify that you entered all required information correctly." We are able to schedule fixed downtimes without problems.
We have entered a valid start time and a valid end time, as well as a duration, but we still receive the above message. I attempted to debug the form using curl, but was unable to find the set of parameters that would allow a flexible downtime to be configured.

Can anyone confirm that flexible downtime does NOT work in 3.5.1?
Can anyone tell me how to configure flexible downtime via the CGI?

Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Flexible Downtime error 'Start or end time not valid'

Post by scottwilkerson »

What are you entering for the start time, stop time and duration?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Flexible Downtime error 'Start or end time not valid'

Post by slansing »

What are you setting for the start and end times? Can you share a screenshot? Also, is your local system and php time synced up to the correct timezone?
mrollins13
Posts: 5
Joined: Wed Jul 31, 2013 9:48 am

Re: Flexible Downtime error 'Start or end time not valid'

Post by mrollins13 »

We were using start/end times such as "12-02-2013 16:37". It turns out, the seconds are required to be a valid time format. Thank you.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Flexible Downtime error 'Start or end time not valid'

Post by tmcdonald »

mrollins13 wrote:We were using start/end times such as "12-02-2013 16:37". It turns out, the seconds are required to be a valid time format. Thank you.
Yea, that would make sense. Gonna lock this up now that it's working for you.
Former Nagios employee
Locked