Retrieve logged in user

Marc Powell marc at ena.com
Sun Nov 6 16:57:43 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of nlehouil at telusplanet.net
> Sent: Sunday, November 06, 2005 12:34 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Retrieve logged in user
> 
> Hi all,
> 
> does anyone know how to retrieve the current logged in user in nagios?
I
> can
> see it displayed in the little status window at the top but is there
any
> variable I can query to get that information?

It's the Apache REMOTE_USER environment variable. The authentication is
handled entirely between the browser and the web server. Nagios just
looks to see if that variable is set.

Netiquette: posting the same question more than once to a forum within a
24 hour period is considered rude.

--
Marc



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list