Folder/File Size and an error in the Connection Manager log

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
AlexL
Posts: 62
Joined: Tue Jul 18, 2006 9:56 am
Location: Switzerland

Folder/File Size and an error in the Connection Manager log

Post by AlexL »

I am getting a lot of error messages in the Connection Manager's log:

Code: Select all

[date time]	Sys	Resource: \\FileServer	Login: Administrator@MYDOMAIN	Connection error #1219: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
On the other hand, I defined a Folder/File Size test for a share on the FileManager and I always get the status "Unknown". I assume this is related to the above error.

On the server where HM is running, I performed a "net use" and saw that there are no active connections to FileServer, only a "Disconnected" connection to FileServer's IP, of the form \\<IP>\ICP$.

I have a wildcard in the connection manager for login under the domain admin account.

Thanks in advance.

AlexL
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Is HostMonitor started as a service or as an application? What account do you use to start HostMonitor? Please ensure you have not specified other account into "Connect as" box for any tests, that are performed against "\\FileServer" machine. I think, to get rid of this problem, you have to start HostMonitor under domain admins account. In this case, you will neither need to specify account in "Connection Manager" nor in "Connect as" box.

BTW. You may use standard windows "Computer Management" applet to see information about all the network users who are connected to the computer.

Regards,
Max
AlexL
Posts: 62
Joined: Tue Jul 18, 2006 9:56 am
Location: Switzerland

Post by AlexL »

Hi Max,

HM is started as an application, under the domain admin account; no other account is specified in other tests pertaining to the \\FileFerver.

\\FileServer was rebooted during the night and the "Connection error #1219" disappeard from the Connection Manager log. However, the Folder/File Size test still returns the "Unknown" status. Here are the detail of the test:

Code: Select all

Method      = FileSize
;--- Common properties ---
Title       = \ict$
Comment     = \\FileServer\Share1$
RelatedURL  = 
ScheduleMode= Regular
Schedule    = 
Interval    = 60
Alerts      = 
ReverseAlert= No
UnknownIsBad= No
WarningIsBad= No
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
File        = \\FileServer\Share1$
MaxSize     = 117440512K
MaxSize     = 114688M
MaxSize     = 112G
SubFolders  = Yes
UseMacros   = No
["Computer Management" applet - I see no option for network users ...]

Regards

AlexL
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

AlexL wrote:However, the Folder/File Size test still returns the "Unknown" status.
Try to specify \\FileServer\Share1$\* (with trailing '\*' characters) into "Folder/File" input box in "Test Properties" window (with trailing '*' character).
AlexL wrote:"Computer Management" applet - I see no option for network users ...
Start "Computer Management" applet -> "System Tools" -> "Shared Folders" -> "Sessions".

Regards,
Max
AlexL
Posts: 62
Joined: Tue Jul 18, 2006 9:56 am
Location: Switzerland

Post by AlexL »

Thank you Max,

the syntax " \\FileServer\Share1$\*" worked !! The network sessions thing is also OK.

How is the Folder/File Size test computing the total size so fast? Is it some WMI query? I'd like to use your method in a script...

Thanks again

AlexL
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

How is the Folder/File Size test computing the total size so fast? Is it some WMI query? I'd like to use your method in a script...
WMI requests will take more time. HostMonitor uses Windows API:
FindFirstFile
FindNextFile

Regards
Alex
Post Reply