I am trying to manually test the following:
I get the following:perl /usr/share/cacti/site/scripts/w32_exch_query_mailboxstats.pl mailxx.xxx.local get SendQueueSize,RecieveQueueSize,MessagesSentPermin,MessagesSubmittedPermin,MessagesDeliveredPermin _Total
The first couple of lines from the script "w32_exch_query_mailboxstats.pl":Can't locate Win32/OLE.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/cacti/site/scripts/w32_exch_query_mailboxstats.pl line 4.
BEGIN failed--compilation aborted at /usr/share/cacti/site/scripts/w32_exch_query_mailboxstats.pl line 4.
I have the nsclient installed on my Exchange server and I have a succesful test in nagios using "check_ping". I know I am connecting to the nsclient.#!/usr/bin/perl
use strict;
use Win32::OLE;
my $output_delimeter = " ";
my $argCount = scalar(@ARGV);
my $Win32_Class = "Win32_PerfFormattedData_MSExchangeIS_MSExchangeISPublic";
#Display help if
if ($argCount == 0) {
My System:
Debian Kernal 2.4.27-2-386
Cacti Version 0.8.6g
PHP4 4.3.10-16
MySql Ver 14.7 Distrib 4.1.11
Nagios 2.0rc2