Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Timeperiod 24x7 don't work #205

Open
Sismic opened this issue Oct 7, 2015 · 8 comments
Open

Timeperiod 24x7 don't work #205

Sismic opened this issue Oct 7, 2015 · 8 comments
Assignees
Labels

Comments

@Sismic
Copy link

Sismic commented Oct 7, 2015

capture
i have 24x7 for all my components and in fact command are send with calendar working day.

@camlafit
Copy link
Contributor

Hi

I redo a fresh plugin install, and see a pb with timeperiods export webeservices. Have you try a call to
monitoring.shinkenTimeperiods ? Without any more information, would be an empty array()
I you try before with a monitoring.shinkenServices call, array would be populate.

I presume problem with webservice method/call, all timesperiods are set in PHP session. In some case session looks empty.

In my case I've re-enable my timeperiods.cfg file to get a full timeperiods.

@ddurieux
Copy link
Owner

Have you shinken modyle "import-glpi" up to date?

@camlafit
Copy link
Contributor

Hi

In my case done with shinken update import-glpi. From import-glpi 0 timeperiods are imported, with call rest on glpi, I can obtain these with this couple query (monitoring.shinkenServices before monitoring.shinkenTimeperiods). Alone array timepreriods is empty.

@hahahafr
Copy link
Contributor

hahahafr commented Mar 1, 2016

Have you solved this ?
Did you try changing the actual timeperiod hours in glpi ?
It's in Accueil > Configuration > Intitulés > Calendriers or /glpi/front/calendar.php directly.

@Jm0u
Copy link
Contributor

Jm0u commented Mar 29, 2016

i've the same problem with fresh install.
import-glpi up to date to and timeperiod.cfg is empty.
i test the import with file get-config.php
i've you got solution?

@hahahafr
Copy link
Contributor

Try to modify the actual time periods hours in glpi, the link is in the
previous post. If it doesn't work you have a bug then.
On Mar 29, 2016 5:57 PM, "Jm0u" notifications@github.com wrote:

i've the same problem with fresh install.
import-glpi up to date to and timeperiod.cfg is empty.
i test the import with file get-config.php
i've you got solution?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#205 (comment)

@Jm0u
Copy link
Contributor

Jm0u commented Mar 30, 2016

I test this solution but not work.
so i used file template.cfg directly from shinken

@ddurieux ddurieux added the bug label Mar 31, 2016
@ddurieux ddurieux self-assigned this Mar 31, 2016
@ddurieux
Copy link
Owner

Yes, it's because you need load timeperiods in the end (so after get host, services...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants