Question on services configuration.

Aaron M. Segura aaron.segura at cabelas.com
Thu Feb 28 16:21:28 CET 2008


On Thu, 2008-02-28 at 09:13 -0600, Luis Fernando Lacayo wrote:
> Good Day everyone, 
> 
> I have been struggling with a configuration issue. I trying to configure
> a service to check an samba share.  I am using the check_disk_smb
> plug-in, I have several shares and I have been able to successfully
> configure all but one.  The problem is that the password has an "!".
> When I try the command from the command line it works fine, but not
> within Nagios, because the ! is a field delimiter within the service
> configuration.  I have tried using $! and putting the password in single
> and double quotes. I am not able to change the password because the
> share is used by many manual and automated processes.
> 
> any help will be greatly appreciated.   
> 
> Luis

I think I remember reading the solution is to use two exclamation
points: !!

...however, I can't find that reference right now...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list