Exchange 2003 scripts from Windows Cacti
Moderators: Developers, Moderators
-
- Posts: 5
- Joined: Tue Aug 02, 2005 6:55 am
Error: XML: Hash version does not exist.
Im Running Version 0.8.6g" => "0010" but not bale to import any of the templates? getting "Error: XML: Hash version does not exist.!
Anyone else had the same problem ? have imported lots before without this issue before?!!!
$hash_version_codes = array(
"0.8.4" => "0000",
"0.8.5" => "0001",
"0.8.5a" => "0002",
"0.8.6" => "0003",
"0.8.6a" => "0004",
"0.8.6b" => "0005",
"0.8.6c" => "0006",
"0.8.6d" => "0007",
"0.8.6e" => "0008",
"0.8.6f" => "0009",
"0.8.6g" => "0010"
);
Thanks
Rob
Anyone else had the same problem ? have imported lots before without this issue before?!!!
$hash_version_codes = array(
"0.8.4" => "0000",
"0.8.5" => "0001",
"0.8.5a" => "0002",
"0.8.6" => "0003",
"0.8.6a" => "0004",
"0.8.6b" => "0005",
"0.8.6c" => "0006",
"0.8.6d" => "0007",
"0.8.6e" => "0008",
"0.8.6f" => "0009",
"0.8.6g" => "0010"
);
Thanks
Rob
I am using Exchange 2003 with SP2. When I run the scripts manually they all run except the db one. I then found the post about the server name. I put my server name in there and ran it manually, it didnt error out, but i dont get any data
Here is my cacti log.
I have included a screenshot of when the cacti poller runs. The ot enough arguments and file not found make it seem like I have a path error somwhere so I am going to research that.
My input string is as follows
I have also tried
So i dont think its the input string.
Any ideas?
Code: Select all
C:\websites\cacti\scripts>perl windows_exchangedb.pl
DatabaseReadsSec:0 DatabaseWritesSec:0 LogReadsSec:0 LogWritesSec:0
Code: Select all
06/28/2006 09:11:43 AM - CMDPHP: Poller[0] Host[10] DS[82] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:43 AM - CMDPHP: Poller[0] Host[10] DS[81] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:43 AM - CMDPHP: Poller[0] Host[10] DS[80] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:43 AM - CMDPHP: Poller[0] Host[10] DS[79] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:43 AM - CMDPHP: Poller[0] Host[10] DS[78] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:13 AM - SYSTEM STATS: Time:13.1201 Method:cmd.php Processes:1 Threads:N/A Hosts:17 HostsPerProcess:17 DataSources:151 RRDsProcessed:93
06/28/2006 09:11:08 AM - CMDPHP: Poller[0] Host[10] DS[82] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:08 AM - CMDPHP: Poller[0] Host[10] DS[81] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:08 AM - CMDPHP: Poller[0] Host[10] DS[80] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:08 AM - CMDPHP: Poller[0] Host[10] DS[79] WARNING: Result from CMD not valid. Partial Result:
06/28/2006 09:11:08 AM - CMDPHP: Poller[0] Host[10] DS[78] WARNING: Result from CMD not valid. Partial Result:
My input string is as follows
Code: Select all
c:\Perl\bin\perl.exe <path_cacti>/scripts/windows_exchangedb.pl <hostname)
Code: Select all
<path_cacti>/scripts/windows_exchangedb.pl <hostname)
Any ideas?
- Attachments
-
- Screenshot from erros
- untitled.JPG (66.16 KiB) Viewed 12739 times
No Data in MSExchangeISMailbox but there is in SMTPServer
Hello,
I have spent the day trying to get one messages graph working for exchange 2003 sp2.
I have a problem, and also a doubt that the values that I am getting are correct.
First the problem:
I have got some data on the graphs, but only from the WMI class:
Win32_PerfRawData_SMTPSVC_SMTPServer
Do not yield any data for the WMI class:
Win32_PerfRawData_MSExchangeIS_MSExchangeISMailbox
After reading previous troubleshooting posts, I downloaded Scriptomatic 2.0. I can see both WMI class is the program, but when I run the created scripts to see the output, I get data back for the SMTP class, but not the Exchange IS class.
This makes sense to me why I'm not getting any data graphed for Exchange IS but I do not understand why there is no data being returned in scriptomatic.
Problem number 2:
Below is an example of the my graph. I'm very suspicious about the data being returned. It is saying that about 20 - 30 messages per second are being sent and received. This is not true. The exchange server only hosts about 40 mailboxes and is not partiularly busy. I would suspect 20-30 message every 5 minutes, tops?
Also, all my values are very low, adding to my suspecion that something just isn't right.
Any help with this would be much appreciated.
Terry.
I have spent the day trying to get one messages graph working for exchange 2003 sp2.
I have a problem, and also a doubt that the values that I am getting are correct.
First the problem:
I have got some data on the graphs, but only from the WMI class:
Win32_PerfRawData_SMTPSVC_SMTPServer
Do not yield any data for the WMI class:
Win32_PerfRawData_MSExchangeIS_MSExchangeISMailbox
After reading previous troubleshooting posts, I downloaded Scriptomatic 2.0. I can see both WMI class is the program, but when I run the created scripts to see the output, I get data back for the SMTP class, but not the Exchange IS class.
This makes sense to me why I'm not getting any data graphed for Exchange IS but I do not understand why there is no data being returned in scriptomatic.
Problem number 2:
Below is an example of the my graph. I'm very suspicious about the data being returned. It is saying that about 20 - 30 messages per second are being sent and received. This is not true. The exchange server only hosts about 40 mailboxes and is not partiularly busy. I would suspect 20-30 message every 5 minutes, tops?
Also, all my values are very low, adding to my suspecion that something just isn't right.
Any help with this would be much appreciated.
Terry.
- Attachments
-
- exchangemessages.JPG (47.15 KiB) Viewed 12714 times
Hi tnjb, to answer your last question first, the results show not 20-30 msgs per second but rather 0.2 to 0.3 msgs per second (notice the little 'm'). I'm not sure, it could be 0.002 - 0.003 msgs/sec?
If you can't see the PerfFormatted WMI classes, try running WMIADAP /f on your exchange server and then restarting the WMI service.
What Windows version are your running? PerfFormatted is only available in Windows 2003.
If you can't see the PerfFormatted WMI classes, try running WMIADAP /f on your exchange server and then restarting the WMI service.
What Windows version are your running? PerfFormatted is only available in Windows 2003.
both problems sorted
G'day DAP,
Cheers for your reply. Running the command you mention sorted out the problem of both recording the ISMailbox details, as well as recording the total statistics which is wasn't doing before.
Also, thanks for the clarification on the figures, that makes a lot more sense now.
I'm pretty happy considering this is only my 3rd day of using cacti. Nice bit of software and also nice work in creating these graphs. Putting them together is tought me a few things.
Thanks again,
Terry.
Cheers for your reply. Running the command you mention sorted out the problem of both recording the ISMailbox details, as well as recording the total statistics which is wasn't doing before.
Also, thanks for the clarification on the figures, that makes a lot more sense now.
I'm pretty happy considering this is only my 3rd day of using cacti. Nice bit of software and also nice work in creating these graphs. Putting them together is tought me a few things.
Thanks again,
Terry.
-
- Posts: 9
- Joined: Mon Jun 05, 2006 5:25 am
need help..
i can't import this template to my cacti.
"xml parse error"..
althoug, I've already grant IUSR to "winnt\temp" folder..but,same error still appear..does anybody can explain to me why this things happens?? or maybe could you folks tell me how to do it..
currently my version of cacti is 0.8.6g..
thanks before
i can't import this template to my cacti.
"xml parse error"..
althoug, I've already grant IUSR to "winnt\temp" folder..but,same error still appear..does anybody can explain to me why this things happens?? or maybe could you folks tell me how to do it..
currently my version of cacti is 0.8.6g..
thanks before
what is the messages actually graphing
Hi DAP,
Just a quick couple of questions that I hope you can answer in regard to the messages graph.
What is SMTP graphing compared to Mbox?
If I was a betting man, I would say that SMTP is only external email and Mbox is how many messages are going in and out of the mailbox regardless where it came from (internal or external).
Also, what does submitted actually mean?
Cheers
Terry.
Just a quick couple of questions that I hope you can answer in regard to the messages graph.
What is SMTP graphing compared to Mbox?
If I was a betting man, I would say that SMTP is only external email and Mbox is how many messages are going in and out of the mailbox regardless where it came from (internal or external).
Also, what does submitted actually mean?
Cheers
Terry.
Hi Terry, they can be a bit confusing. I have tried to simplify here.
Cheers
MBox Msgs Delivered - Messages delivered to recipients.
MBox Msgs Submitted - Messages Submitted by clients. ie for sending.
MBox Msgs Sent - Messages sent to the transport. ie not local.
SMTP Msgs Delivered - Messages delivered to local mailboxes.
SMTP Msgs Received - Inbound messages accepted.
SMTP Msgs Sent - Outbound messages sent.
Cheers
MBox Msgs Delivered - Messages delivered to recipients.
MBox Msgs Submitted - Messages Submitted by clients. ie for sending.
MBox Msgs Sent - Messages sent to the transport. ie not local.
SMTP Msgs Delivered - Messages delivered to local mailboxes.
SMTP Msgs Received - Inbound messages accepted.
SMTP Msgs Sent - Outbound messages sent.
Scripts Exchange queues and IMF scripts
Hello,
Please I need your help on the exchange queues and IMF scripts, because
I use exchange 2003 and I
Please I need your help on the exchange queues and IMF scripts, because
I use exchange 2003 and I
Who is online
Users browsing this forum: No registered users and 2 guests