Hi

I recently came across the OpenChange project and thought that it would
be an ideal way for us to add some extra checks into our (Linux) Nagios
monitoring system against our Exchange cluster. I took the libMAPI (0.4
WARP) RPM and used this to write a plugin based around the ability of
"openchangeclient" to retrieve mail from the server. In this way, we can
also graph response times of the Exchange Servers within the cluster.
Inexplicably, the plugin worked fine against 5 of the machines in the
cluster, but failed against the 6th. I was certain this was a bug in the
software as each service account had been set up identically.

As a result, I've taken the latest libMAPI version (0.7 PHASER) -
unfortunately, there was no RPM for this version. Hence, I've had to
compile it. The new version appears to work fine across all 6 servers in
the cluster, proving that the bug in the previous release has been fixed
(Thanks, guys!).

I'm not really a code developer by any stretch of the imagination, but I
thought it would be worth feeding back the couple of issues I found
while compiling the code - our OS on the monitoring server is CentOS
release 5
(Final). Obviously, this is likely to be true for RHEL 5, at least.

1. I had to alter the gssapi reference in:

/usr/local/samba/include/krb5.h

From:

#include <gssapi/gssapi.h>

To:

#include <gssglue/gssapi/gssapi.h>

2. I had to create some simlinks to enable the openchange binaries to
run as they weren't created automatically:

ln -s libmapi.so.0.7 libmapi.so.0
ln -s libocpf.so.0.7 libocpf.so.0

The only other thing that I found a bit odd was when I used OWA to
access the service accounts, after initially only using the
"openchangeclient" from the WARP version, was that all the folder names
were created in French. Anyone got any ideas why this should be the
case? Ultimately, it doesn't matter for these accounts as they're just
doing some basic checking of the service.

Not being a "true" code developer, there may be better (right) ways to
do this, but these steps worked for me. The Nagios plugin that I have
developed isn't as clever as the existing Windows implementation, but it
does work from our Linux monitoring server and does what we want. I can
make it available, if required. Indeed, I would be grateful for any
further details of any reasonable checks that I could usefully add to
the plugin.

Regards,
Bill

Bill Edmunds
University of Exeter
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to