hi,

Today somebody asked if we could enable nagvis on our opsview server,
so off I went and followed the instructions for debian:

http://docs.opsview.com/doku.php?id=opsview-community:nagvis:debian

We use ldap auth, so I would like to reuse the ticket we already have.
I have this in my config:

# Enables Nagvis - requires php5
# Ensure the apache user is a member of the nagcmd group.
Alias /nagvis /usr/local/nagios/nagvis
ProxyPass /nagvis !
TKTAuthSecret "xxxxxxxx"
<Location /nagvis>
    AuthType None
    TKTAuthLoginURL /login?app=nagvis
    TKTAuthTimeout 86400s
    # Set below if you are getting "ticket is invalid" messages and
you have multiple proxies in front of Opsview
    # You also need to set Opsview Web to ignore ip:
http://docs.opsview.org/doku.php?id=opsview3.0:webauthentication
#    TKTAuthIgnoreIP on
    require valid-user
</Location>

the TKTAuthSecret is the same as in opsview.conf

When clicking the nagvis module link, I get the error:

Authentication to Opsview succeeds, but ticket is invalid for nagvis

and in the error log I see this:
[Wed Jan 12 14:48:40 2011] [warn] [client xxxxxxxxxx] TKT
valid_ticket: ticket found, but hash is invalid - digest
'xxxxxxxxxxxxxxxxxxxxxxxx', ticket
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

Any ideas?

by the way, the www-data user is member of nagcmd:

id www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data),110(nagcmd)

--
Groeten,
natxo
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to