Page 1 of 1

how to use logged-in (Apache) user in plugins?

Posted: Fri Nov 16, 2012 6:42 pm
by PepeOnAchair
Hello,

I`m trying, googling but with no success.

What I need is to adjust the output of a Nagios plugin depending on a user who is logged in the Nagios web interface. Like for example when "nagiosadmin" is logged in, the plugin will show more output/debug information than when just user "secretary" is logged in Nagios web.

Is that somehow possible?

Thank you.
Pepe

Re: how to use logged-in (Apache) user in plugins?

Posted: Fri Nov 16, 2012 8:34 pm
by slansing
Hmm this is an interesting idea, I will do some digging and talk to others in the office on Monday.