Exchange VB script does not work on Exch2003 servers?
|
Logged in as: Guest
|
|
Users viewing this topic:
none
|
|
Login | |
|
Exchange VB script does not work on Exch2003 servers? - 16.Jan.2004 6:49:00 AM
|
|
|
GFI_user
Posts: 3
Joined: 11.Jan.2004
Status: offline
|
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
|
|
|
|
RE: Exchange VB script does not work on Exch2003 servers? - 20.Jan.2004 6:07:00 AM
|
|
|
Nicks
Posts: 2741
Joined: 17.Mar.2003
Status: offline
|
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.
|
|
|
|
RE: Exchange VB script does not work on Exch2003 servers? - 21.Jan.2004 9:26:00 AM
|
|
|
GFI_user
Posts: 3
Joined: 11.Jan.2004
Status: offline
|
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
|
|
|
|
RE: Exchange VB script does not work on Exch2003 servers? - 29.Jan.2004 8:47:00 AM
|
|
|
Nicks
Posts: 2741
Joined: 17.Mar.2003
Status: offline
|
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.
|
|
|
|
RE: Exchange VB script does not work on Exch2003 servers? - 4.Feb.2004 3:12:00 AM
|
|
|
Nicks
Posts: 2741
Joined: 17.Mar.2003
Status: offline
|
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.
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|