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 188.8.131.52.4.1.35184.108.40.206 (besTotMsgsPending) and on OID 220.127.116.11.4.1.3518.104.22.168.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.