Aaron M. Segura wrote: > On Thu, 2008-02-28 at 08:21 -0700, Aaron M. Segura wrote: >> 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... >> > > Fool! This is the solution for Dollar Signs, not Exclamation Points!
Have you tried a backslash? \! -- Adam Kennedy Senior Network Administrator Cyberlink Technologies, Inc. Phone: 888-293-3693 x4352 Fax: 574-855-5761 ------------------------------------------------------------------------- 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 [email protected] 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
