After getting our BlackBerry Enterprise Server running in a VMware
server, I’ve added health monitoring of some of its services to
Nagios. Apart from network connectivity (ping), we
are checking the Domino server of course, as well as successful SRP
connections to the BlackBerry network. This I enabled by installing an
Apache server onto the BES machine and adding a small Perl CGI script
based on the one found in the BlackBerry Hacks book (hack #75: Send an
Alert When Your SRP Is Down). Considering there is a full Domino server on
the machine, I could have used Domino’s otherwise idle HTTP task, but I prefer
Apache. Nagios also does two sets of SNMP queries on OID
1.3.6.1.4.1.3530.5.2.0 (besTotMsgsPending) and on OID
1.3.6.1.4.1.3530.5.25.1.10.1 (besSysHealthSrpConnectedState), whereby I
cannot get the latter to show a zero, so I hope the SRP test performed with
bbsrptest is more reliable.