Resolved.
The Downtime Log was not shown because I did not activate the Dtlogging in mon.cf file.. the Authentication works with the configuration I made, it was only a cache problem I think.. Thanks anyway

GioiaBa Scrive:
Hi list, I'm a Mon neewbie, so forgive me if I will do some stupid questions.. I've installed Mon-0.99.2 and Mon-cgi v2.2 on a Slackware system. Now I'm monitoring 3 services
Routers
http and mysql What I would need is First : Only AUTHENTICATED users can view the mon process list and do anything else.. To do that, I have these settings :
mon.cf :
authtype = getpwnam
Mon.cgi.cg :
must_login = yes
default_username = myunixusr
default_password = mypwd
Auth.cf :
ack:            AUTH_ANY
checkauth:      all
clear:          AUTH_ANY
disable:        AUTH_ANY
dump:           AUTH_ANY
enable:         AUTH_ANY
get:            AUTH_ANY
list:           myunixusr
loadstate:      AUTH_ANY
protid:         all
quit:           all
.... But with these settings I can still see the process list event if I do not do login.. 2. If a monitor fails, I need to send an email to postmaster, so I have in my mon.cf this :
  service http
      description check web server status
      interval 10m
      monitor http.monitor
      allow_empty_group
      period wd {Sun-Sat}
      alert mail.alert [EMAIL PROTECTED]
alertevery 30m I suppose I need sendmail running on the Mon box, to send out emails am I right ? 3. If a monitor fails, and it gows up again within few hours, I need to have a history log of all failures came in.. But no History entries are available from the web interface in "Show Downtime Log" ... Why ? Thanks anyone for the help.. : )



GB
_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to