Exchange Database Size

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

Moderators: Developers, Moderators

User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Manually execute the vb script from the command line to see if you get any output. If you do under your logon, try using the same user account thats running the cacti scheduled task. That'll tell you if its a permission problem.
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

I executed from the command line, and still got the same syntax error I have been getting... Wouldn't think it to be a permissions issue, I am a computer/domain admin.
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Dacob9906 wrote:When I tryh to use this script, it is giving me this error in the cacti log:

04/26/2007 02:25:08 PM - CACTID: Poller[0] Host[63] DS[1790] WARNING: Result from SCRIPT not valid. Partial Result: ...
04/26/2007 02:25:08 PM - CACTID: Poller[0] Host[63] ERROR: Empty result [10.8.0.10]: 'cscript /nologo C:/Inetpub/wwwroot/cacti/scripts/exsize.vbs 10.8.0.10'


I also get a syntax error trying to run it from the command line on the 8th line 138th character. Thanks!
Did you share the directory that houses your exchange databases ? If you did, also check the share permission.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

Hmm, I must have missed that bit of info... do I need to share it for any of the exchnage monitoring scripts to work, or just this one? Not sure that we want to share it...
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Just this one. The share is so that the script doesn't have to parse a long path. You can set security (I've done this at my workplace) so that only the poller account gets access to this share...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

How would I do that. The exhcnage server doesn't know about the IIS or cacti accounts on thew cacti server, would I allow the computer account access to it...?? If you could tell me how I would do this, perhaps that would work. Thanks!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Jacob,

Your cacti server will need to connect to a share on the exchange server - this should be where the databases reside. Your poller account on the Cacti server will need rights to access this share and see the contents of it.

If you are using a system account for your poller, then this will need to change to a domain account that has rights to the share on the exchange server.

Hope this clarifies things a bit ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

Makes sense, I will check into this and give it some thought, I might do this, but honestly, graphong this out isn't all that imiportant to me, just would be cool. Anyways, thanks for all the info!!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
phantom_rgs
Posts: 41
Joined: Mon Jan 16, 2006 7:44 am
Location: Brasil
Contact:

Post by phantom_rgs »

Hi! I
Flavio Humberto Barcellos Dietze
MCP - MCDST - MCTS:SQL 2005 - CCA - MCSA - MCSE: Messaging & Security
phantom_rgs
Posts: 41
Joined: Mon Jan 16, 2006 7:44 am
Location: Brasil
Contact:

Post by phantom_rgs »

Wrong post :P

i have a hash error when importing the xml files in cacti 0.8.6g

any help?
Flavio Humberto Barcellos Dietze
MCP - MCDST - MCTS:SQL 2005 - CCA - MCSA - MCSE: Messaging & Security
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

phantom_rgs - These templates (as explained on the first post for this topic) were exported using Cacti version 0.8.6j - previous versions will not work.

if you want to use this template, you will need to upgrade to the latest version of CACTI.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mslivkoff
Posts: 18
Joined: Thu Jul 19, 2007 9:53 am

Post by mslivkoff »

Thanks for the great script. Saves us having to do this by hand.

Has anyone modded the script to handle multiple databases? If so, did you use different graphs for each of the databases?

Thanks!
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

I need to revisit this, as the script no longer services it's purpose for me - it was originally developed with one storage group in mind....

Time is of the essence at the moment...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
salt
Posts: 1
Joined: Wed Oct 24, 2007 8:42 am

Post by salt »

My Cacti is running on linux server. Has anybody a solution for this environment. It's very important to monitor the filesize of private and public store because of 18GB size limit on Exchange 2003.

Thanks in advance
edgonz
Posts: 19
Joined: Tue Sep 25, 2007 8:50 am

Post by edgonz »

Script is great, but in my case I need to monitor four databases, so I'm going to work on making a few changes to the script.

I will let you guys know the outcome of my testing. I should have something done by end of this week.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests