I've looked through similar threads in the archives and so far haven't found a solution. So here's my problem:
mon is running fine, I can login from the commandline and execute commands with moncmd/monshow. But for some reason mon.cgi doesn't want to login. every time i click on the "log in" link, enter my id and password, and voila, I'm returned to the main summary page with no indication that I'm now logged in. All the admin commands remain grayed out. Also, I've found that I can't set must_login = yes in mon.cgi.cf. If I do, even with a valid default user id and password included in the mon.cgi.cf, the page will not load. I'm running mon-1.0.0pre4, with mon.cgi-1.52. If it helps, I'm providing the relevant sections of mon.cf, auth.cf, and mon.cgi.cf below. Any thoughts or pointers are appreciated! mon.cf: --------------------------------------------- serverbind = localhost trapbind = localhost basedir = /usr/local/mon cfbasedir = /usr/local/mon/etc dtlogging = yes logdir = /var/log/mon dtlogfile = /var/log/mon/dt_test.log monerrfile = /var/log/mon/monerr.log pidfile = /usr/local/mon/etc/mon.pid historicfile = /var/log/mon/alert_history.log maxprocs = 50 histlength = 1000 randstart = 30s authtype = userfile authfile = /usr/local/mon/etc/auth.cf userfile = /usr/local/mon/etc/monusers.cf auth.cf: -------------------------------------------- using the example auth.cf that comes with mon mon.cgi.cf: -------------------------------------------- monhost = localhost monport = 2583 must_login = no app_secret = 'LKJSOjfuqosuyenbxyvx podcxziu yhsnLJLDKSFNSlkjlkd sfopiuoiulkjljxncvn lLJOIULWKJELRN 9234K--JLSDFO23JL*2L3K4&JL2LNLNL U234OILNHYJH_234234POLNS-GAL' default_username = joubin default_password = password login_expire_time = 900 untaint_ack_msgs = yes cookie_name = mon-cookie cookie_path = /
_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon
_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon