Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_blackberry_5.0
This is an updated version of check_blackberry by Philipp Deneu for BES Server 5.0.0.110, it includes all the latest oid snmp values. I've also updated the script to convert epochs into human readable format for the last SRP connect. Just like the original this script tells you:
* Connection Status to SRP Router
* Last SRP Connect - in human readable format
* Version of BES
* Number of messages pending
* Number of used Licenses
Examples:
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.027 -C public -Q bes-version
BlackBerry Enterprise Server Version: 5.0.0.110
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.0.27 -C public -Q srpconnect
OK: Successful connected to SRP-Router. Last Connection: Fri Dec 11 13:47:46 EST 2009
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.0.27 -C public -Q pending -w 10 -c 20
CRITICAL: Pending Mails: 1260554597|Pending=1260554597;10;20;;
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.0.27 -C public -Q licenses -w 85 -c 90
OK: Licenses used: 81|Licenses=81;85;90;;
Enjoy!
-Ross
* Connection Status to SRP Router
* Last SRP Connect - in human readable format
* Version of BES
* Number of messages pending
* Number of used Licenses
Examples:
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.027 -C public -Q bes-version
BlackBerry Enterprise Server Version: 5.0.0.110
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.0.27 -C public -Q srpconnect
OK: Successful connected to SRP-Router. Last Connection: Fri Dec 11 13:47:46 EST 2009
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.0.27 -C public -Q pending -w 10 -c 20
CRITICAL: Pending Mails: 1260554597|Pending=1260554597;10;20;;
$ /usr/lib64/nagios/plugins/check_blackberry -H 10.0.0.27 -C public -Q licenses -w 85 -c 90
OK: Licenses used: 81|Licenses=81;85;90;;
Enjoy!
-Ross
Reviews (2)
On BES Version 5.0.3.33 the pending messages OID should be 1.3.6.1.4.1.3530.6.7.10.40.10.1.16.1.20 ('besagentEmailToStatsPropertypending.1.20' if you got the MIB file).
Another value which could be interesting is besagentEmailToStatsPropertyerrorOnDelivery (OID: .1.3.6.1.4.1.3530.6.7.10.40.10.1.10.1.20). It shows "The number of messages that the BlackBerry Messaging Agent failed to process."
Another value which could be interesting is besagentEmailToStatsPropertyerrorOnDelivery (OID: .1.3.6.1.4.1.3530.6.7.10.40.10.1.10.1.20). It shows "The number of messages that the BlackBerry Messaging Agent failed to process."
byfuewol, May 3, 2010
I checked with SNMP and the OID shall be:
.1.3.6.1.4.1.3530.5.25.1.25.23
.1.3.6.1.4.1.3530.5.25.1.25.23