Re: [Nagios-users] http_check passwords

2009-08-18 Thread Marc Powell

On Aug 18, 2009, at 7:16 AM, Alex Huth wrote:

 Hi!

 I have to implement websites, which have basic auth (develepmont   
 testing
 stges) Even when they are only for dev and testing, i don' like to  
 put the
 password cleartext in the service.cfg to query them.

 Any other possibillity?

You can put them in resource.cfg and use $USERx$ macros to reference  
them. They'll still be visible in the process list as the plugin is  
being executed. I think it's generally expected that your nagios host  
is on a trusted network with trusted access...

--
Marc


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] http_check passwords

2009-08-18 Thread David Rosenstrauch
On 08/18/2009 09:06 AM, Marc Powell wrote:
 On Aug 18, 2009, at 7:16 AM, Alex Huth wrote:
 
 Hi!

 I have to implement websites, which have basic auth (develepmont   
 testing
 stges) Even when they are only for dev and testing, i don' like to  
 put the
 password cleartext in the service.cfg to query them.

 Any other possibillity?
 
 You can put them in resource.cfg and use $USERx$ macros to reference  
 them. They'll still be visible in the process list as the plugin is  
 being executed. I think it's generally expected that your nagios host  
 is on a trusted network with trusted access...
 
 --
 Marc

For more info:

http://nagios.sourceforge.net/docs/3_0/config.html
http://nagios.sourceforge.net/docs/3_0/configmain.html#resource_file

HTH,

DR

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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