resource.cfg and check_disk_smb

Frank.Langanke at RSBICK.rohde-schwarz.com Frank.Langanke at RSBICK.rohde-schwarz.com
Thu Aug 7 15:41:34 CEST 2003


Hello.

If I define a service for check_disk_smb like the following, everything works
fine:
"check_command      check_disk_smb!host01!myshare!admin!12345!95!98"

I tried to set the user und password in the resource.cfg like this,

$USER2$=admin
$USER3$=12345

and redefined the command to

"check_command check_disk_smb!host01!myshare!$USER2$!$USER3$!95!98"

Unfortunately this service stays in status unknown:  "Status Information:
Invalid user: $".

Any ideas ?
Frank.








-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/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