Hi,
I'm trying to create a graph of SIP calls in progress on a router with CUBE.
I've found that there is a list of Call ID's on 1.3.6.1.4.1.9.9.63.1.3.2.1.1 (http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.63.1.3.2.1.1&translate=Translate)
The Call ID's listed in the returned list are 2 per call, 1 for the internal leg, and one for the outward to the SIP provider.
I've written a small shell script to get this value in MRTG / Cacti etc, however i'm not able to figure out how to do the same thing in Solarwinds.
#/bin/bash
router_count=`snmpwalk -c $2 -v2c $1 1.3.6.1.4.1.9.9.63.1.3.2.1.1 |wc -l`
trunk_count=`echo "$router_count"/2 |bc`
echo $trunk_count
Script takes 2 parameters, the IP address of the router, and the SNMP community string. It gets a count of call ID's and devides by 2, giving trunks in use.
Is there any way to achieve the same thing? I have experimented with Transforms in the Universal device poller, however there appears to be no function to "Count" returned entries.
Any help appreciated 
/James