In the (wrapped) line:
wscript.echo "Priv1:" & priv1.size & " Pub1:" & pub1.size & " Priv1stm:" & priv1stm.size & " Pub1stm:" & pub1stm.size & " Priv1Total:" &
priv1.size+priv1stm.size & " Pub1Total:" & pub1.size+pub1stm.size
I removed the extra line wrap after "Priv1Total:"& and stopped getting syntax errors when I ran it from the command line and the Cacti log shows it working.
Exchange Database Size
Moderators: Developers, Moderators
Re: Exchange Database Size
Hello All,
Please where do I get this .vbs?
Thanks in advance,
Mario.
Please where do I get this .vbs?
Thanks in advance,
Mario.
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Re: Exchange Database Size
Wow ! I posted this nearly 4 years ago - has it been that long ?rower wrote:Hello All,
Please where do I get this .vbs?
Thanks in advance,
Mario.
Nontheless, it looks as though the original vbs script has been somehow removed. I still have this, so here you are
- Attachments
-
- EXSize.vbs.txt
- Remove the ".txt" part off the end of the filename, so you are left with EXSize.vbs
- (604 Bytes) Downloaded 220 times
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Re: Exchange Database Size
Many thanks friend!
Best regards,
Mario.
Best regards,
Mario.
Re: Exchange Database Size
Hello,
I need some help, in your 1st post, the 1st step is, Import both the data and graph templates included, can you send me or include ina a new post?
And this vbs, can run from a Cacti Linux instalation?
Thanks
RC
I need some help, in your 1st post, the 1st step is, Import both the data and graph templates included, can you send me or include ina a new post?
And this vbs, can run from a Cacti Linux instalation?
Thanks
RC
mcutting wrote:I put this graph together, as I had a need to monitor Exchange Database sizes
You need to share the MDBDATA directory on your Exchange server for this script to work.
Steps:
1. Import both the data and graph templates included
2. Download the file EXSize.vbs.txt, rename to EXSize.vbs, and save to your SCRIPTS directory
3. Create your graph
4. Wait for a couple of poller runs, and check your data
NOTE: These templates were exported using 0.8.6j
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Re: Exchange Database Size
1. See First post, as the data and graph template have been uploaded here again. Just as well I still had an old 0.8.7g install lurking around, as I deleted this template when I no longer had a need for it !rcorveira wrote:Hello,
I need some help, in your 1st post, the 1st step is, Import both the data and graph templates included, can you send me or include ina a new post?
And this vbs, can run from a Cacti Linux instalation?
Thanks
RC
2. Sorry, no. You can't run a VBScript under Windows.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 3 guests