how to use logged-in (Apache) user in plugins?
Posted: Fri Nov 16, 2012 6:42 pm
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
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