Re-write your wget command to use '--load-cookies <file>'. If that file doesn't exist or the login fails, run 'wget --save-cookies <file> --keep-session-cookies' then re-run your initial check. If you are using nagios you can setup the second part as an event handler, otherwise you'll have to write that logic into whatever you're using.
.Robert Long Blue Gecko Inc. (206) 686-3349 Ham MI-ID, Torsten Brumm wrote: > > Ok, > > The sql perf is fine, but the www perf, what do you monitor exactly? > The apache stats? This will bring you back only the apache > information, not how rt is working. > > We do at this moment a login and ticket opening with wget and graph > this in cacti, but this is not the correct result we get, because we > have the time for login and open the ticket, a summary of two "user > actions" > > I'm searchin for a way to monitor this without the login process. > > Torsten > _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
