NetXMS Support Forum

English Support => General Support => Topic started by: keefbeef on December 01, 2009, 01:25:19 PM

Title: Timeout of web login
Post by: keefbeef on December 01, 2009, 01:25:19 PM
Recently installed NetXMS and was wondering if there is a way to set the web interface to never timeout a login.  Had planned to show alerts on wall board, but wouldn't work very well if I had to login every day.  I notice that there is a setting within the .conf file for the web server, but what measurement is this and how high could it be set.

Many thanks

Keith
Title: Re: Timeout of web login
Post by: Alex Kirhenshtein on December 01, 2009, 01:30:14 PM
Sorry to say that, but existing web interface is abandoned (and will be replaced in the future).
Right now I suggest you to use Alarm viewer (currently windows only).

However, if you can't run windows application, it's possible to make quick and dirty solution which will be executed by a cron job and will generate a web page with list of alarms.
Title: Re: Timeout of web login
Post by: keefbeef on December 01, 2009, 06:53:07 PM
I was actually thinking that might be the answer.
I have no small problem with this though.  Images against the alerts aren't showing.
It's as if the images are being linked to somewhere on the harddisk but the images
aren't available.

Where should these images be placed?

Thanks

Keith
Title: Re: Timeout of web login
Post by: Victor Kirhenshtein on December 02, 2009, 01:27:02 AM
Hello!

I have patchet nxhttpd so "Alarms" page will refresh automatically every 15 seconds, and so session should not timeout. Replace file src/nxhttpd/alarm.cpp with attached one and recompile. Let me know if you need recompiled Windows binary of nxhttpd.
Hope this helps!

Best regards,
Victor
Title: Re: Timeout of web login
Post by: keefbeef on December 02, 2009, 10:24:07 PM
Could you please send me a windows compiled nxhttpd.

Many thanks
Title: Re: Timeout of web login
Post by: Victor Kirhenshtein on December 02, 2009, 11:04:35 PM
Attached.

Best regards,
Victor
Title: Re: Timeout of web login
Post by: Sympology on December 16, 2009, 11:37:19 AM
Another way around this is to use Firefox and use an autoreloader, there are several out there.
Title: Re: Timeout of web login
Post by: Sympology on January 12, 2010, 11:16:10 AM
Further to my answer, I'd now advise against using the reloader (it may just be us), but we found running this the system would lock out after about 3 days and force us into a reboot.
We turned it off and have not had to reboot for a few weeks so far, so it's back to it's reliable self :-)