Hi All,

It's been a while I've opened this issue. We stopped using that particular 
gadget as at that time we couldn't find a fix. (we were looking at php gd 
library caching up the image... lots of threads on that)
We have upgraded our opsview to version 3.13 and the problem still persisted. 
So I gave it another try to find what is the problem.
The problem was:

in /usr/local/nagios/nagvis/etc/nagvis.ini.php file:

Parameter:
; The maxium length of http request urls during ajax http requests
; Some intrusion detection/prevention systems have a problem with
; too long queries
requestmaxlength=1900

This should be set to a higher value (guess till the max size of a GET method 
by the server) until the "GET 
/nagvis/nagvis/ajax_handler.php?action=getObjectStates" call contains the 
desired gadget in the parameter list in the apache access_log.
If you have too many objects then your gadgets will actually never get 
refreshed. The parameter list of the above call contains the objects which are 
going to be checked.

I hope this will help someone as this is still an issue even in the latest 
release.

Thanks,
Miro.



Le 2010-07-25 20:21, Miroszlav Moricz a écrit :
> Hi All,
> 
> I have upgraded to Opsview 3.7.2 which uses Nagvis 1.4.4.
> I'm trying to use the rawNumbers gadget to display the temperature in the 
> server room. 
> The gadget draws the image and it's visible, but after that it does not 
> refresh automatically. Only if I click refresh in the browser or if I 
> rightclick on it and select "Refresh State".
> 
> Has anyone had this problem.
> 
> Thanks,
> Miro.
> 
>  


_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to