Re: [Nagios-users] how to use logged-in (Apache) user in plugins?

2012-11-20 Thread kaskada
Hi,

anyone knows a solution or any help? Please...

Pepe


-- Původní zpráva --
Od: kask...@email.cz
Datum: 18. 11. 2012
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins?

Hello,

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)

Pep.



-- Původní zpráva --
Od: Giles Coochey gi...@coochey.net
Datum: 17. 11. 2012
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins?
On 16/11/2012 23:37, kask...@email.cz wrote:
 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?

You probably just want a different web front-end altogether for 
secretary... search around for different Nagios Front-Ends.

-- 
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net(http://www.coochey.net)
http://www.netsecspec.co.uk(http://www.netsecspec.co.uk)
gi...@coochey.net
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] how to use logged-in (Apache) user in plugins?

2012-11-20 Thread Páll Guðjón Sigurðsson
Pepe,

Nagios design does not allow for this. Plugins are executed without any user 
being logged in the web interface so a plugin has no idea which user is going 
to look at the results later on.

What you can do instead is define multiple service checks, with secretary 
only having access to some of them. while the other more advanced ones are 
viewable to nagios admins.

Maybe what you are really looking for is 
http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-(BPI)/details

Which allows you to take a lot of service checks and group them together in 
higher level view. i.e.
* Webservices are up
* Databases are down


Kind Regards,
Pall Sigurdsson

- Original Message -
From: kask...@email.cz
To: Nagios Users List nagios-users@lists.sourceforge.net
Sent: Tuesday, November 20, 2012 9:47:31 AM
Subject: Re: [Nagios-users] how to use logged-in (Apache) user in plugins?


Hi, 

anyone knows a solution or any help? Please... 

Pepe 



-- Původní zpráva -- 
Od: kask...@email.cz 
Datum: 18. 11. 2012 
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? 


Hello, 

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) 

Pep. 




-- Původní zpráva -- 
Od: Giles Coochey gi...@coochey.net 
Datum: 17. 11. 2012 
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? 

On 16/11/2012 23:37, kask...@email.cz wrote: 
 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? 
 
You probably just want a different web front-end altogether for 
secretary... search around for different Nagios Front-Ends. 

-- 
Regards, 

Giles Coochey, CCNA, CCNAS 
NetSecSpec Ltd 
+44 (0) 7983 877438 
http://www.coochey.net 
http://www.netsecspec.co.uk 
gi...@coochey.net = 
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Nagios-users mailing list
Nagios-users@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

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] how to use logged-in (Apache) user in plugins?

2012-11-20 Thread kaskada
Thank you for your answer. I understand now, so my bad luck :)
I have to do it maybe your way.
Best regards, Pepe



-- Původní zpráva --
Od: Páll Guðjón Sigurðsson pa...@ok.is
Datum: 20. 11. 2012
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins?
Pepe,

Nagios design does not allow for this. Plugins are executed without any user
being logged in the web interface so a plugin has no idea which user is 
going to look at the results later on.

What you can do instead is define multiple service checks, with secretary 
only having access to some of them. while the other more advanced ones are
viewable to nagios admins.

Maybe what you are really looking for is http://exchange.nagios.org/
directory/Addons/Components/Nagios-Business-Process-Intelligence-(BPI)/
details
(http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-(BPI)/details)

Which allows you to take a lot of service checks and group them together in 
higher level view. i.e.
* Webservices are up
* Databases are down


Kind Regards,
Pall Sigurdsson

- Original Message -
From: kask...@email.cz
To: Nagios Users List nagios-users@lists.sourceforge.net
Sent: Tuesday, November 20, 2012 9:47:31 AM
Subject: Re: [Nagios-users] how to use logged-in (Apache) user in plugins?


Hi, 

anyone knows a solution or any help? Please... 

Pepe 



-- Původní zpráva -- 
Od: kask...@email.cz 
Datum: 18. 11. 2012 
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? 


Hello, 

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) 

Pep. 




-- Původní zpráva -- 
Od: Giles Coochey gi...@coochey.net 
Datum: 17. 11. 2012 
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins? 

On 16/11/2012 23:37, kask...@email.cz wrote: 
 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? 
 
You probably just want a different web front-end altogether for 
secretary... search around for different Nagios Front-Ends. 

-- 
Regards, 

Giles Coochey, CCNA, CCNAS 
NetSecSpec Ltd 
+44 (0) 7983 877438 
http://www.coochey.net(http://www.coochey.net) 
http://www.netsecspec.co.uk(http://www.netsecspec.co.uk) 
gi...@coochey.net = 

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov(http://p.sf.net/sfu/zoho_dev2dev_nov)
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
(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


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov(http://p.sf.net/sfu/zoho_dev2dev_nov)
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
(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--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Nagios-users mailing list
Nagios-users@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 

Re: [Nagios-users] how to use logged-in (Apache) user in plugins?

2012-11-18 Thread kaskada
Hello,

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)

Pep.



-- Původní zpráva --
Od: Giles Coochey gi...@coochey.net
Datum: 17. 11. 2012
Předmět: Re: [Nagios-users] how to use logged-in (Apache) user in plugins?
On 16/11/2012 23:37, kask...@email.cz wrote:
 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?

You probably just want a different web front-end altogether for 
secretary... search around for different Nagios Front-Ends.

-- 
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net(http://www.coochey.net)
http://www.netsecspec.co.uk(http://www.netsecspec.co.uk)
gi...@coochey.net--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] how to use logged-in (Apache) user in plugins?

2012-11-17 Thread Giles Coochey

On 16/11/2012 23:37, kask...@email.cz wrote:

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?

You probably just want a different web front-end altogether for 
secretary... search around for different Nagios Front-Ends.


--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net




smime.p7s
Description: S/MIME Cryptographic Signature
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] how to use logged-in (Apache) user in plugins?

2012-11-16 Thread kaskada
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
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Nagios-users mailing list
Nagios-users@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