Flussonic Media Server documentation

SNMP

Flussonic has simple implementation of SNMP protocol.

You need to configure it in config:

snmp 4000;
edit_auth admin password;

This will enable listener on port 4000

Now let's try to fetch stats via snmp:

apt-get -y install snmp
cd /opt/flussonic
snmpwalk -c admin -v 2c -M +apps/snmp2/mibs/ -m FLUSSONIC-MIB 127.0.0.1:4000 .

Here we specify key -c admin that means "community" in terms of SNMP.

SNMP community is equal to admin login.

If everything is ok, you will see something like:

# snmpwalk -c flussonic -v 2c -M +apps/snmp2/mibs/ -m FLUSSONIC-MIB 127.0.0.1:4000 .
Created directory: /var/lib/snmp/mib_indexes
SNMPv2-SMI::mib-2.1.1.0 = STRING: "Flussonic 4.6.15"
SNMPv2-SMI::mib-2.1.2.0 = OID: FLUSSONIC-MIB::flussonicModule
SNMPv2-SMI::mib-2.1.3.0 = Timeticks: (258134) 0:43:01.34
SNMPv2-SMI::mib-2.1.4.0 = STRING: "info@erlyvideo.org"
SNMPv2-SMI::mib-2.1.5.0 = STRING: "Flussonic"
SNMPv2-SMI::mib-2.1.6.0 = STRING: "Erlang"
SNMPv2-SMI::mib-2.1.7.0 = INTEGER: 72
SNMPv2-SMI::mib-2.1.8.0 = Timeticks: (0) 0:00:00.00
SNMPv2-SMI::mib-2.11.1.0 = Counter32: 143
SNMPv2-SMI::mib-2.11.3.0 = Counter32: 0
SNMPv2-SMI::mib-2.11.4.0 = Counter32: 12
SNMPv2-SMI::mib-2.11.5.0 = Counter32: 0
SNMPv2-SMI::mib-2.11.6.0 = Counter32: 0
SNMPv2-SMI::mib-2.11.30.0 = INTEGER: 1
SNMPv2-SMI::mib-2.11.31.0 = Counter32: 0
SNMPv2-SMI::mib-2.11.32.0 = Counter32: 0
FLUSSONIC-MIB::streamsNum.0 = Gauge32: 12
FLUSSONIC-MIB::sName.1 = STRING: stream1
FLUSSONIC-MIB::sName.2 = STRING: stream2
...
FLUSSONIC-MIB::sClientCount.1 = Gauge32: 3
FLUSSONIC-MIB::sClientCount.2 = Gauge32: 0
...
FLUSSONIC-MIB::sRetryCount.1 = Gauge32: 0
FLUSSONIC-MIB::sRetryCount.2 = Gauge32: 168
...
FLUSSONIC-MIB::sLifeTime.1 = Counter64: 10638344
FLUSSONIC-MIB::sLifeTime.2 = Counter64: 0
...
FLUSSONIC-MIB::sBitrate.1 = Counter64: 1750
FLUSSONIC-MIB::sBitrate.2 = Counter64: 0
...
FLUSSONIC-MIB::sBytesIn.1 = Counter64: 2357155155
FLUSSONIC-MIB::sBytesIn.2 = Counter64: 0
...
FLUSSONIC-MIB::sBytesOut.1 = Counter64: 2663036544
FLUSSONIC-MIB::sBytesOut.2 = Counter64: 0
...
FLUSSONIC-MIB::sStatus.1 = INTEGER: active(1)
FLUSSONIC-MIB::sStatus.2 = INTEGER: active(1)
...
SNMPv2-SMI::snmpModules.1.1.6.1.0 = INTEGER: 1970179785
SNMPv2-SMI::snmpModules.10.2.1.1.0 = STRING: "flussonicID"
SNMPv2-SMI::snmpModules.10.2.1.2.0 = INTEGER: 1
SNMPv2-SMI::snmpModules.10.2.1.3.0 = INTEGER: 2582
SNMPv2-SMI::snmpModules.10.2.1.4.0 = INTEGER: 484
SNMPv2-SMI::snmpModules.11.2.1.1.0 = Counter32: 0
SNMPv2-SMI::snmpModules.11.2.1.2.0 = Counter32: 0
SNMPv2-SMI::snmpModules.11.2.1.3.0 = Counter32: 0
SNMPv2-SMI::snmpModules.11.2.1.3.0 = No more variables left
in this MIB View (It is past the end of the MIB tree)