Exchange Perl Scripts via WMI
Moderators: Developers, Moderators
SP2 for Exchange 2003 broke my graphs.
After installing the SP2 for Exchange 2003 on my test lab I have no values any more on my reports for Delivery Statistics, Filtering Statistics and Intelligent Message Filter Statistics. They all display NaN. From the commandline I get the message:
Check the computer and class name.
No information was found on the specified class!
If I start scriptomatic on the exchange server then for instance I can see the WMI Class: Win32_PerfRawData_MSExchangeUCF_MSExchangeIntelligentMessageFilter but I need some help for making this work again please.
Check the computer and class name.
No information was found on the specified class!
If I start scriptomatic on the exchange server then for instance I can see the WMI Class: Win32_PerfRawData_MSExchangeUCF_MSExchangeIntelligentMessageFilter but I need some help for making this work again please.
It' s working again! I was on vacation the last week, and started looking into it again today. One of the things I did was a wmiadap /f on the commandline on the exchange server, in the eventlog in application I see some errors like
WMI ADAP was unable to create the object Win32_PerfFormattedData_MSExchangeUCF_MSExchangeIntelligentMessageFilter for Performance Library MSExchangeUCF because error 0x80041002 was returned
In the MS KB and on google I did not find any to relevant info, but I keep looking out if I see this error again. I' am happy it is graphing again at last.
Success updating to SP2 on your exchange box' es Devilsun.
WMI ADAP was unable to create the object Win32_PerfFormattedData_MSExchangeUCF_MSExchangeIntelligentMessageFilter for Performance Library MSExchangeUCF because error 0x80041002 was returned
In the MS KB and on google I did not find any to relevant info, but I keep looking out if I see this error again. I' am happy it is graphing again at last.
Success updating to SP2 on your exchange box' es Devilsun.
Yeah, upgraded my Exchange 2003 servers to SP2 over the weekend with Windows Server 2003 SP1 and I'm having some problems as well. Looks like they may have moved a few class names, or the wmiadap /f thing fixes them. I'm going to run that now (since I just let it run as is over the weekend) and see if all mine get fixed.
Even my Exchange memory classes are messed up for now...it appears the SP2 upgrade may have temporarily hosed most all of the Exchange WMI classes so my first suggestion is the "wmiadap /f" thing.
Even my Exchange memory classes are messed up for now...it appears the SP2 upgrade may have temporarily hosed most all of the Exchange WMI classes so my first suggestion is the "wmiadap /f" thing.
WMIADAP /f fixed all the IMF and UCE graphs broken by Exchange 2003 SP2.
Ok, mailbox stats (SendQ, ReceiveQ, Msgs/Min, etc) class name has changed when you upgrade Exchange 2003 to Service Pack 2.
If you use this script ("w32_exch_query_mailboxstats.pl") then you need to open it up in notepad, and change the fourth line down from
to
and then that will work again. I've also noticed that the user graphs don't seem to be working correctly for me since upgrading to SP2 so that's next.
Ok, mailbox stats (SendQ, ReceiveQ, Msgs/Min, etc) class name has changed when you upgrade Exchange 2003 to Service Pack 2.
If you use this script ("w32_exch_query_mailboxstats.pl") then you need to open it up in notepad, and change the fourth line down from
Code: Select all
my $Win32_Class = "Win32_PerfFormattedData_MSExchangeIS_MSExchangeISMailbox";
Code: Select all
my $Win32_Class = "Win32_PerfFormattedData_MSExchangeIS_MSExchangeISPublic";
Ok, so some of my Exchange servers are reporting valid data for the "Win32_PerfFormattedData_MSExchangeIS_MSExchangeIS" class (which I use for RPC, Memory, and User graphs of Exchange 2003), while my main one is not. I do not know if this is because it is a back-end Exchange server, or because I haven't rebooted it...but my front-ends are. So my suggestion to those of you who have updated Exchange 2003 to SP2 and are having problems, reboot, and run "wmiadap /f" and possibly reboot again. Somehow I got it working on my FE servers...hehe.
hello devilsun.
first of all thanks for your templates.
i have just one question. i use your Exchange Connection template/script to monitor our exchange FE Servers. I think the skript works, but i always have just 0 Users/ActiveUsers. What Users are monitored here..?
edit: its an 2003 server sp1
greez jan
first of all thanks for your templates.
i have just one question. i use your Exchange Connection template/script to monitor our exchange FE Servers. I think the skript works, but i always have just 0 Users/ActiveUsers. What Users are monitored here..?
edit: its an 2003 server sp1
greez jan
-
- Posts: 17
- Joined: Mon Nov 28, 2005 9:51 am
Is thease scripts worked on Linux?
I feel amazing about these scripts.
I am running Exchange 2003 with sp2 on windows 2003.
Is this possible for me running on Linux(Fedora Core 4)?
I already tried to import the templates but it shows only value "NA".
I am running Exchange 2003 with sp2 on windows 2003.
Is this possible for me running on Linux(Fedora Core 4)?
I already tried to import the templates but it shows only value "NA".
CptAhab: The user count I believe is the number of actual users using the information store at the time of the query, not the actual connections. I only run the user count on my BE, and get values for it, never used it for FE servers.
MMO: No, since upgrading to SP2, the delivery statistics stuff has no reported ANY values, where as before it did. I haven't had much time to look into it, but it appears either Microsoft stopped populating these values, or is using them much differently -- but I do know it stopped working as soon as I upgraded to SP2 on Exch2003.
MMO: No, since upgrading to SP2, the delivery statistics stuff has no reported ANY values, where as before it did. I haven't had much time to look into it, but it appears either Microsoft stopped populating these values, or is using them much differently -- but I do know it stopped working as soon as I upgraded to SP2 on Exch2003.
No value shows
Please refer to the following capture.
The values shown in the catpure is only 0 though a perl test is successful.
I don't know What's wrong with this?
Particulary I inputed the instance as "_Total"
The values shown in the catpure is only 0 though a perl test is successful.
I don't know What's wrong with this?
Particulary I inputed the instance as "_Total"
- Attachments
-
- K-20051202-103224-8.jpg (37.8 KiB) Viewed 9955 times
Re: No value shows
[quote="Kim"]Please refer to the following capture.
The values shown in the catpure is only 0 though a perl test is successful.
I don't know What's wrong with this?
Particulary I inputed the instance as "_Total"
And What I want to know is the difference between USERS and ACTIVE USERS
The values shown in the catpure is only 0 though a perl test is successful.
I don't know What's wrong with this?
Particulary I inputed the instance as "_Total"
And What I want to know is the difference between USERS and ACTIVE USERS
If any of you are having problems with hosts responding to your WMI queries, I suggest you read my faq. I just created one on how to get WMI working for a normal user account on a remote computer.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
WMI settings
Your WMI settings are only for Win2k3 right? I do not find the same options for Win2k.
Who is online
Users browsing this forum: No registered users and 1 guest