Exchange 2003 scripts from Windows Cacti

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
DAP
Posts: 43
Joined: Mon Jul 18, 2005 10:42 pm
Location: Melbourne, Australia

Post by DAP »

Check your scheduled task and make sure you it is scheduled "Daily" and not "At Logon".
bballard
Posts: 35
Joined: Thu Jan 19, 2006 11:58 am

Post by bballard »

Yes, I scheduled it for daily. I log on as a different user and can see the schedule run.

I am sure I covered all the bases. Is there anything I can provide you for help?
DAP
Posts: 43
Joined: Mon Jul 18, 2005 10:42 pm
Location: Melbourne, Australia

Post by DAP »

Very strange... try logging in as the user the script is running as and recreate the task there.
cybersloth
Posts: 5
Joined: Tue Aug 02, 2005 6:55 am

Error: XML: Hash version does not exist.

Post by cybersloth »

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
jwashburn
Posts: 33
Joined: Fri Jun 09, 2006 12:56 pm

Post by jwashburn »

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

Code: Select all

C:\websites\cacti\scripts>perl windows_exchangedb.pl
DatabaseReadsSec:0 DatabaseWritesSec:0 LogReadsSec:0 LogWritesSec:0
Here is my cacti log.

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:  
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

Code: Select all

c:\Perl\bin\perl.exe <path_cacti>/scripts/windows_exchangedb.pl <hostname)
I have also tried

Code: Select all

<path_cacti>/scripts/windows_exchangedb.pl <hostname)
So i dont think its the input string.

Any ideas?
Attachments
Screenshot from erros
Screenshot from erros
untitled.JPG (66.16 KiB) Viewed 12510 times
tnjb
Posts: 3
Joined: Thu Jun 29, 2006 9:59 am

No Data in MSExchangeISMailbox but there is in SMTPServer

Post by tnjb »

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.
Attachments
exchangemessages.JPG
exchangemessages.JPG (47.15 KiB) Viewed 12485 times
DAP
Posts: 43
Joined: Mon Jul 18, 2005 10:42 pm
Location: Melbourne, Australia

Post by DAP »

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.
tnjb
Posts: 3
Joined: Thu Jun 29, 2006 9:59 am

both problems sorted

Post by tnjb »

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.
DAP
Posts: 43
Joined: Mon Jul 18, 2005 10:42 pm
Location: Melbourne, Australia

Post by DAP »

I'm glad you're up and running! Cacti is a great piece of software and has a bit of learning curb (for me anyway :o ) but it is well worth the effort.

Cheers
pavelkolak
Posts: 9
Joined: Mon Jun 05, 2006 5:25 am

Post by pavelkolak »

:( 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
tnjb
Posts: 3
Joined: Thu Jun 29, 2006 9:59 am

what is the messages actually graphing

Post by tnjb »

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.
DAP
Posts: 43
Joined: Mon Jul 18, 2005 10:42 pm
Location: Melbourne, Australia

Post by DAP »

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.
fonseca
Posts: 7
Joined: Wed Nov 01, 2006 5:39 am

Scripts Exchange queues and IMF scripts

Post by fonseca »

Hello,
Please I need your help on the exchange queues and IMF scripts, because
I use exchange 2003 and I
cclai
Posts: 2
Joined: Sun Nov 12, 2006 9:47 pm

Post by cclai »

Dears,

How can I do?
I got the error message "Error: XML: Generated with a newer version of Cacti." while importing the template.

thanks.
cc
cclai
Posts: 2
Joined: Sun Nov 12, 2006 9:47 pm

Post by cclai »

I already solved my problem.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests