PDA

View Full Version : Problem with page refresh time.


rajeevtomar
25-08-2005, 17:14
This could be very elimentary question but I am unable to make from where I can change the refresh time of the page.

I am listing the current refresh time for my version of zabbix (1.0)

Triggers - 10 Sec
QUEUE - 10 Sec
Alarms - 30 Sec
Alerts - 30 Sec
NETWORK MAPS - 30 Sec
GRAPHS - 30 Sec
SCREENS - 60 Sec

Such short time period is very annoying.

Could some one tell me , how to change this refresh time for zabbix 1.0.

Thanks, Rajeev

James Wells
25-08-2005, 17:34
Greetings,

At present, these times are hard-coded into the PHP itself. What I suggest is simply going through each of the pages you want to change and simply change the page timeout in the PHP code.

This is probably another area we should have a custom configuration for.

rajeevtomar
26-08-2005, 09:49
Hello James,

Thanks for your reply.

You were very much right. This is hard coded in php files.
We will have to manually edit it.

Hope this helps somebody.

Have a nice weekend.

Regards,
Rajeev

James Wells
28-08-2005, 01:05
Okay, I changed my test system to make the refresh time configurable, on a per-user basis. I will make a patch and get it submitted soon. Of course this will mean that we need people to go through and work on the locale files again to add an entry for refresh. ;)

James Wells
30-08-2005, 07:15
I have posted a patch to make this user configurage. The patch is located at;
PATCH: Change screen refresh to be user configurable (http://www.zabbix.com/forum/showthread.php?t=1292)