Thread: Get SRP Status
View Single Post
Old 08-07-2006, 08:40 PM   #5 (permalink)
blubyu
Thumbs Must Hurt
 
blubyu's Avatar
 
Join Date: Jun 2005
Model: 7520
Carrier: nextel
Posts: 116
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

snmp would be your best bet. Here is how I am doing it with php:

PHP Code:
$besSysHealthSrpConnectedStatexxx91;0xxx93; = snmpget(DBHOSTSNMPCOMMUNITY"1.3.6.1.4.1.3530.5.25.1.10.1"); 
This will return a 1 (connected) or 0 (disconnected). If you download a free snmp browser you will see all the things that you can query. Since you are doing vb you could probably also right in some snmp traps and have it alert you when the connection goes down.

I should add that I only have one BES server so the query above is kinda hard coded for that server. If you have more then one BES server to query then you will need to mod the snmp string above.

Last edited by blubyu : 08-07-2006 at 08:43 PM.
Offline