I have two very much identical systems running Asterisk 11 with the SNMP
module included.

I have found that the order of channel types on the two systems is different.
One system has:

ASTERISK-MIB::astChanTypeName.1 = STRING: ConfBridgeRec
ASTERISK-MIB::astChanTypeName.2 = STRING: Local
ASTERISK-MIB::astChanTypeName.3 = STRING: SIP
ASTERISK-MIB::astChanTypeName.4 = STRING: Agent
ASTERISK-MIB::astChanTypeName.5 = STRING: IAX2
ASTERISK-MIB::astChanTypeName.6 = STRING: Bridge
ASTERISK-MIB::astChanTypeName.7 = STRING: MulticastRTP
ASTERISK-MIB::astChanTypeName.8 = STRING: DAHDI

But the other has:

ASTERISK-MIB::astChanTypeName.1 = STRING: ConfBridgeRec
ASTERISK-MIB::astChanTypeName.2 = STRING: Local
ASTERISK-MIB::astChanTypeName.3 = STRING: Bridge
ASTERISK-MIB::astChanTypeName.4 = STRING: SIP
ASTERISK-MIB::astChanTypeName.5 = STRING: IAX2
ASTERISK-MIB::astChanTypeName.6 = STRING: Agent
ASTERISK-MIB::astChanTypeName.7 = STRING: MulticastRTP
ASTERISK-MIB::astChanTypeName.8 = STRING: DAHDI

This makes it difficult to have a common MRTG configuration between them
monitoring for SIP channel usage.

Can anyone tell me:

1. What determines the order of channel types?

2. Is this likely to vary between reboots or rebuilds?

3. Is there a way I can make the order predictable and fixed? modules.conf?

4. Or alternatively, a way I can make MRTG find the correct index dynamically?

Thanks for any advice,
Tony

-- 
Tony Mountifield
Work: [email protected] - http://www.softins.co.uk
Play: [email protected] - http://tony.mountifield.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to