MSSQL --UNKNOWN: Invalid characters in the hostname.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mohan.sharma
Posts: 5
Joined: Thu Jan 02, 2020 3:40 pm

MSSQL --UNKNOWN: Invalid characters in the hostname.

Post by mohan.sharma »

Hi All,

I am using MSSQL Query wizard and using simple query but getting error "UNKNOWN: Invalid characters in the hostname."

USE master
SELECT Count(*)
FROM sys.databases
WHERE state_desc!='ONLINE'

Any help
Locked