Exchange VB script does not work on Exch2003 servers? (Full Version)

All Forums >> [Networking & Security] >> GFI Network Server Monitor



Message


GFI_user -> Exchange VB script does not work on Exch2003 servers? (16.Jan.2004 6:49:00 AM)

We have attempted to monitor an Exchange 2003 email server (running on Win2003) with the Exchange VB script and it consistently fails reporting "unable to list mailboxes" - of which there are mailboxes on this server?

Please advise if the script is unsuitable for Exch2003 or whether another issue exists?

All help appreciated, Thanks GFI_USER




Nicks -> RE: Exchange VB script does not work on Exch2003 servers? (20.Jan.2004 6:07:00 AM)

Hi,

Unfortunatly a function of the Exchange vb script is not suitable for Exchange 2003. Exchange 2003 does not install a WMI class that is used by the vb script.
The function is Function Check_Num_RPC_Requests().

To solve this problem, and still make use of the Exchange checking rule, you will have to remark the following code in the script.

' numResult = Check_Num_RPC_Requests( strComputer, 25 )
' If( numResult <> True ) Then
' CheckExchange = numResult
' Exit Function
' End If

This can be done by inserting an inverted comma (') at the beginning of the line which is calling the function (as shown above).

Note that the Exchange checking rule does perform 2 other checks:
Check_ExchangeServices - checks that the Exchange services are running
Check_Length_SMTPQueue - checks if the SMTP queue is higher then 5.




GFI_user -> RE: Exchange VB script does not work on Exch2003 servers? (21.Jan.2004 9:26:00 AM)

Thanks for the info, unfortunately when we made the change a different error was reported:-

"Unable to list smtp servers".

Set colSMTP = objWMIService.InstancesOf( "Win32_PerfRawData_SMTPSVC_SMTPServer" )

does this function fail on Exchange 2003 too?

Thanks, GFI_User




Nicks -> RE: Exchange VB script does not work on Exch2003 servers? (29.Jan.2004 8:47:00 AM)

Hi,

It seems that in Exchange 2003, some of the WMI classes that are used by Network Server Monitor have changed.

We are still checking into this. and will keep you informed of the outcome.




Nicks -> RE: Exchange VB script does not work on Exch2003 servers? (4.Feb.2004 3:12:00 AM)

A new build of Network Server Monitor is available that solves this problem. Please check http://kbase.gfi.com/showarticle.asp?id=KBID002024.

Currently some checks that are done on Exchange 2000 had to be removed from Exchange 2003, since they are note always installed with Exchange 2003. However GFI is still investigating further, so maybe there will be more checks on Exchange 2003 in a future version.




Page: [1]