Try adding mssql$waspdb in your resource.cfg as a user variable then substitute it in your server.cfg.
regards, secrookie 2008/5/6 Jan Kuhn <[EMAIL PROTECTED]>: > This works when running from the command line: > > /usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v > SERVICESTATE -l 'mssql$waspdb' > All services are running > > But this doesn't in the servers.cfg It adds the second $. > > check_command "/usr/lib/nagios/plugins/check_nt -H > xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb'" > > It adds the second $. > > mssql$waspdb$: Unknown > > I've got other services working correctly with embedded spaces. Special > characters are causing trouble. I've tried escaping with \, all sort of > quote combinations. > Any ideas? > > thanks, jan > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > 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 > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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
