glpi_monitoring icon indicating copy to clipboard operation
glpi_monitoring copied to clipboard

Timeperiod 24x7 don't work

Open Sismic opened this issue 9 years ago • 8 comments

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

Sismic avatar Oct 07 '15 15:10 Sismic

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.

camlafit avatar Oct 27 '15 07:10 camlafit

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

ddurieux avatar Oct 27 '15 07:10 ddurieux

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.

camlafit avatar Oct 27 '15 07:10 camlafit

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.

hahahafr avatar Mar 01 '16 12:03 hahahafr

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?

Jm0u avatar Mar 29 '16 15:03 Jm0u

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" [email protected] 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 https://github.com/ddurieux/glpi_monitoring/issues/205#issuecomment-202972676

hahahafr avatar Mar 29 '16 16:03 hahahafr

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

Jm0u avatar Mar 30 '16 12:03 Jm0u

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

ddurieux avatar Mar 31 '16 08:03 ddurieux