Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Exchange 2003 scripts from Windows Cacti
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
DAP



Joined: 18 Jul 2005
Posts: 43
Location: Melbourne, Australia

PostPosted: Thu Jun 08, 2006 5:34 am    Post subject: Reply with quote

Check your scheduled task and make sure you it is scheduled "Daily" and not "At Logon".
Back to top
bballard



Joined: 19 Jan 2006
Posts: 35

PostPosted: Thu Jun 08, 2006 10:35 pm    Post subject: Reply with quote

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?
Back to top
DAP



Joined: 18 Jul 2005
Posts: 43
Location: Melbourne, Australia

PostPosted: Tue Jun 13, 2006 6:56 pm    Post subject: Reply with quote

Very strange... try logging in as the user the script is running as and recreate the task there.
Back to top
cybersloth



Joined: 02 Aug 2005
Posts: 5

PostPosted: Wed Jun 28, 2006 5:51 am    Post subject: Error: XML: Hash version does not exist. Reply with quote

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
Back to top
jwashburn



Joined: 09 Jun 2006
Posts: 33

PostPosted: Wed Jun 28, 2006 11:26 am    Post subject: Reply with quote

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:
C:\websites\cacti\scripts>perl windows_exchangedb.pl
DatabaseReadsSec:0 DatabaseWritesSec:0 LogReadsSec:0 LogWritesSec:0


Here is my cacti log.

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

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


I have also tried
Code:
<path_cacti>/scripts/windows_exchangedb.pl <hostname)

So i dont think its the input string.

Any ideas?



untitled.JPG
 Description:
Screenshot from erros
 Filesize:  66.16 KB
 Viewed:  5343 Time(s)

untitled.JPG


Back to top
tnjb



Joined: 29 Jun 2006
Posts: 3

PostPosted: Thu Jun 29, 2006 11:43 am    Post subject: No Data in MSExchangeISMailbox but there is in SMTPServer Reply with quote

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.



exchangemessages.JPG
 Description:
 Filesize:  47.15 KB
 Viewed:  5318 Time(s)

exchangemessages.JPG


Back to top
DAP



Joined: 18 Jul 2005
Posts: 43
Location: Melbourne, Australia

PostPosted: Thu Jun 29, 2006 11:39 pm    Post subject: Reply with quote

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.
Back to top
tnjb



Joined: 29 Jun 2006
Posts: 3

PostPosted: Fri Jun 30, 2006 3:47 am    Post subject: both problems sorted Reply with quote

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.
Back to top
DAP



Joined: 18 Jul 2005
Posts: 43
Location: Melbourne, Australia

PostPosted: Fri Jun 30, 2006 6:00 am    Post subject: Reply with quote

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 ) but it is well worth the effort.

Cheers
Back to top
pavelkolak



Joined: 05 Jun 2006
Posts: 9

PostPosted: Fri Jun 30, 2006 6:33 am    Post subject: Reply with quote

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
Back to top
tnjb



Joined: 29 Jun 2006
Posts: 3

PostPosted: Wed Jul 05, 2006 9:44 am    Post subject: what is the messages actually graphing Reply with quote

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.
Back to top
DAP



Joined: 18 Jul 2005
Posts: 43
Location: Melbourne, Australia

PostPosted: Sun Jul 09, 2006 7:54 pm    Post subject: Reply with quote

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.
Back to top
fonseca



Joined: 01 Nov 2006
Posts: 6

PostPosted: Tue Nov 07, 2006 3:06 pm    Post subject: Scripts Exchange queues and IMF scripts Reply with quote

Hello,
Please I need your help on the exchange queues and IMF scripts, because
I use exchange 2003 and I
Back to top
cclai



Joined: 12 Nov 2006
Posts: 2

PostPosted: Sun Nov 12, 2006 9:52 pm    Post subject: Reply with quote

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
Back to top
cclai



Joined: 12 Nov 2006
Posts: 2

PostPosted: Mon Nov 13, 2006 2:55 am    Post subject: Reply with quote

I already solved my problem.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 of 7

 



Powered by phpBB © 2001, 2005 phpBB Group