|
|
| Author |
Message |
jazer
Joined: 26 May 2005 Posts: 3 Location: Rome - Italy
|
Posted: Wed May 17, 2006 10:46 am Post subject: |
|
|
DAP,
I've a problem of WMI connection. My cacti box is a win2k3 and it is in domain A. My Exchange server (2003 sp1) is in domain B and the comunication is through a firewall (but from A to B is all open).
Can you help me?
when i run "perl windows_exchangemessages.pl srvexchange" i receive WMI connection failed.
|
|
| Back to top |
|
 |
DAP
Joined: 18 Jul 2005 Posts: 43 Location: Melbourne, Australia
|
Posted: Tue May 23, 2006 9:03 am Post subject: |
|
|
"WMI connection failed" messages usually are a permission problem with either the account you are running the script from manually, or the WMI permissions on the remote server. See my previous post about enabling "Remote enable" and see if that helps.
Cheers
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Wed May 24, 2006 3:58 pm Post subject: |
|
|
I am able to manually run every script and get back results I want, but it breaks all of my graphing when I add them to my Exchange Server device.
Thoughts?
Win2K3 Server
IIS6
RRDTool 1.2.12
Cacti v 0.8.6h
MySql 5.0.21
PHP 5.1.4
|
|
| Back to top |
|
 |
DAP
Joined: 18 Jul 2005 Posts: 43 Location: Melbourne, Australia
|
Posted: Sat May 27, 2006 12:05 am Post subject: |
|
|
| Did you fix the script path for the Data Input method?
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Sat May 27, 2006 11:58 am Post subject: |
|
|
Yeah I saw the post.
perl <path_cacti>/scripts/windows_exchangemessages.pl <hostname>
Can I zip up some logs and get someone to look them over?
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Sat May 27, 2006 12:14 pm Post subject: |
|
|
Here is the debug from my datasource.
| Description: |
|
| Filesize: |
109.41 KB |
| Viewed: |
6102 Time(s) |

|
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Sat May 27, 2006 12:17 pm Post subject: |
|
|
Hear is what I get when I run it manually.
C:\Inetpub\wwwroot\cacti\scripts>perl windows_exchangemessages.pl mail0301.hchb.local
MB_MsgsSubmitted:726
MB_MsgsDelivered:3415
MB_MsgsSent:895
SMTP_MsgBytesReceived:80563155
SMTP_MsgBytesSent:59688239
SMTP_MsgsDelivered:1622
SMTP_MsgsReceived:1355
SMTP_MsgsSent:669
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Sat May 27, 2006 12:21 pm Post subject: |
|
|
Here are my RRD files.
| Description: |
|
| Filesize: |
38.17 KB |
| Viewed: |
6099 Time(s) |

|
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Sat May 27, 2006 12:24 pm Post subject: |
|
|
Poller manually ran
C:\Inetpub\wwwroot\cacti>c:\php\php.exe c:\inetpub\wwwroot\cacti\poller.php
05/27/2006 01:22:14 PM - SYSTEM STATS: Time:7.2064 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1 RRDsProcessed:1
OK u:0.05 s:0.03 r:5.06
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Sat May 27, 2006 12:27 pm Post subject: |
|
|
Cacti Log snipet
| Description: |
|
| Filesize: |
179.5 KB |
| Viewed: |
6097 Time(s) |

|
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Tue May 30, 2006 10:09 am Post subject: |
|
|
I think I found out what is wrong. The Exchange graphing only works when I am logged in as the user that the scheduler uses to run every five minutes.
Is there a policy or something I need to set? I will go through my local server policies and see if I missed something.
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Wed May 31, 2006 3:21 pm Post subject: |
|
|
| Can anyone help me on this one?
|
|
| Back to top |
|
 |
DAP
Joined: 18 Jul 2005 Posts: 43 Location: Melbourne, Australia
|
Posted: Thu Jun 01, 2006 1:26 am Post subject: |
|
|
Make sure your POLLER scheduled task is running under an account with sufficient access to your servers. See how you go then
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Thu Jun 01, 2006 7:23 am Post subject: |
|
|
| The account I use is a domain admin.
|
|
| Back to top |
|
 |
bballard
Joined: 19 Jan 2006 Posts: 35
|
Posted: Thu Jun 01, 2006 8:01 am Post subject: |
|
|
| DAP, is your Windows/Cacti installation in an 2003 Active Directory environment? It is weird that the poller runs, but only updates the files while the user account is logged in. I made sure that the check mark in the scheduled task is unchecked for "user must be logged in".
|
|
| Back to top |
|
 |
|