<html><body>Hello,<br><br>no, I really want to have different output from one plugin depending on user logged in. So I need to show some advanced output to some most advanced admins. (secretary and naiosadmin was just an example)<br><br>Pep.<br><br><p><br>---------- Původní zpráva ----------<br>Od: Giles Coochey <giles@coochey.net><br>Datum: 17. 11. 2012<br>Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins?</p><blockquote>On 16/11/2012 23:37, kaskada@email.cz wrote:<br>> Hello,<br>><br>> I`m trying, googling but with no success.<br>><br>> What I need is to adjust the output of a Nagios plugin depending on a <br>> user who is logged in the Nagios web interface. Like for example when <br>> "nagiosadmin" is logged in, the plugin will show more output/debug <br>> information than when just user "secretary" is logged in Nagios web.<br>><br>> Is that somehow possible?<br>><br>You probably just want a different web front-end altogether for <br>"secretary"... search around for different Nagios Front-Ends.<br><br>-- <br>Regards,<br><br>Giles Coochey, CCNA, CCNAS<br>NetSecSpec Ltd<br>+44 (0) 7983 877438<br><a href="http://www.coochey.net">http://www.coochey.net</a><br><a href="http://www.netsecspec.co.uk">http://www.netsecspec.co.uk</a><br>giles@coochey.net</blockquote></body></html>