Monitoring a Microsoft SQL Server

Jim Avery jim at jimavery.me.uk
Thu Nov 17 16:34:39 CET 2011


On 17 November 2011 15:17, Kaplan, Andrew H. <AHKAPLAN at partners.org> wrote:
> Hi there --
>
> Thanks for your reply. I tried your suggestion on the two plugins, and here are
> the results.
>
> When the command syntax for check_mssql was the following:
>
> ./check_mssql -H <ip address> -U <domain>\\<username> -P <password>
>
> or
>
> ./check_mssql -H <ip address> -U '<domain>\\<username>' -P <password>
>
> The error message displayed on-screen was:
>
> UNKNOWN: Invalid characters in the username.


The check_mssql plugin is way too fussy about what characters it will
allow in host names and user names.  On my system I edited the plugin
to remove the if/else sections entirely below the comments "//
Validate the hostname" and "// Validate the username".

hth,

Jim

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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