Thanks for the info. It was indeed
due to auto password complete. Is it possible to implement a logout
feature? It's rather difficult to impose a check on each user's IE
setting.
Also, a few questions about the following
config:
check system site
if loadavg (1min) >
5 then alert
if loadavg (5min) >
5 then alert
if memory usage > 80%
then alert
if cpu usage (user) >
70% then alert
if cpu usage (system)
> 30% then alert
if cpu usage (wait) >
20% then alert
check process apache with
pidfile /etc/httpd/run/httpd.pid
start program = "/etc/init.d/httpd
start"
stop program = "/etc/init.d/httpd
stop"
if totalmem > 300.0
MB for 5 cycles then restart
Does this check for memory consumped
by all of the PIDs executed only by the user apache? For example,
by running "ps aux" I see the following.
root 32042 0.0 4.0
28948 10660 ? Ss Jul02 0:00
/usr/sbin/httpd
apache 23652 0.6 6.0
36548 15856 ? S 21:25
0:30 /usr/sbin/httpd
apache 27802 0.6 6.0
36572 15844 ? S 21:59
0:17 /usr/sbin/httpd
apache 27879 0.5 6.6
38312 17556 ? S 22:00
0:15 /usr/sbin/httpd
apache 30138 0.6 6.1
36952 16160 ? S 22:19
0:11 /usr/sbin/httpd
apache 31989 0.5 6.0
36704 15896 ? S 22:32
0:05 /usr/sbin/httpd
apache 31991 0.7 5.9
36320 15580 ? S 22:32
0:06 /usr/sbin/httpd
apache 32000 0.7 6.8
38740 17944 ? S 22:32
0:06 /usr/sbin/httpd
apache 32033 0.6 6.2
37200 16388 ? S 22:33
0:05 /usr/sbin/httpd
So in this case, it is not including
the first line as it is consumped by the user "root" and should
only check if this combined 49.6% memory usage by the user "apache"
exceeds 300.0MB? What I don't understand is, why does the web interface
indicate that the process "apache" is using only 4.0% of memory.
Regards,
Titus
Jan-Henrik Haukeland <address@hidden> Sent by: address@hidden
07/03/2007 10:22 PM
Please respond to
This is the general mailing list for monit <address@hidden>
To
This is the general mailing list for
monit <address@hidden>
cc
Subject
Re: Web interface logout
> Just setup the web interface for Monit and was
able to access it
> after entering username and password. However, I was not able
to
> find a way to logout.
Monit uses basic authentication[1] and with this authentication
scheme there is no logout. Simply close the browser to "logout".
> Closing Internet Explorer, clearing out all cookies and history
> also failed to prevent another person from accessing the web
> interface again simply by re-entering the URL.
Access to monit's web interface *will* require re-authentication
after the browser was closed. If you can access the application
"directly" without authentication it means that you have stored
username and password with IE's password manager and that IE now
performs an auto-login in the background. It could also be that you
are looking at pages cached by IE.
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
Jefferies archives and reviews outgoing and incoming e-mail. It may be produced at the request of regulators or in connection with civil litigation. Jefferies accepts no liability for any errors or omissions arising as a result of transmission. Use by other than intended recipients is prohibited. In the United Kingdom, Jefferies operates as Jefferies International Limited ("JIL"). JIL is registered in England, No. 1978621. JIL's registered office is Bracken House, One Friday Street, London EC4M 9JA. JIL is authorised and regulated by the Financial Services Authority.