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.
Flexible Downtime error 'Start or end time not valid'
-
mrollins13
- Posts: 5
- Joined: Wed Jul 31, 2013 9:48 am
-
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'
What are you entering for the start time, stop time and duration?
-
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'
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'
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.
Re: Flexible Downtime error 'Start or end time not valid'
Yea, that would make sense. Gonna lock this up now that it's working for you.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.
Former Nagios employee