How to I get the gateway Cellular RSSI from Cisco IOx ?
If you have an IOx application that requires tp capture the cellular modem signal strength (for example to include in telemetry data along with GPS position and map signal with location), you will find that there is no direct way to get it from IOx. The reason is that the application hosting environment is virtualized and therefore Cisco IOS metrics are not directly accessible.
Simple Network Management Protocol (SNMP) which is an IOS feature can be leverage to exposed this variable or any other SNMP variable. SNMP can be easily configured on the gateway with just a few lines:
On a Cisco IR829 with guest-os running in the 192.168.1.0/24 range, where 192.168.1.1 is being assigned to the virtual Gigabit Ethernet 5 interface, then this is what it takes to give SNMP access to all the virtual instances running on the gateway:
IR829(config)# access-list 10 permit 192.168.1.0 0.0.0.255
IR829(config)# snmp-server community public RO 10
The IOx application can then poll the right SNMP OIDs straight from the gateway, and this OID may change depending on the particular model. Always refer the device's MIB.
For example in Python to poll both cellular interface's RSSI on a Cisco IR829M:
from pysnmp.entity.rfc3413.oneliner import cmdgen
SNMP_HOST = '192.168.1.1'
SNMP_PORT = 161
SNMP_COMMUNITY = 'public'
cmdGen = cmdgen.CommandGenerator()
errorIndication, errorStatus, errorIndex, varBinds = cmdGen.getCmd(
for name, val in varBinds:
print('%s = %s' % (name.prettyPrint(), val.prettyPrint()))
You should see the RSSI signal (in dBm) returned like so:
Hi, everyone. I can generate, deploy, activate and run the my own Docker type C based application on the IR-1101, and this application works correctly using the IP protocol. But a requirement of this application is to run a GOOSE subscriber to receiv...
Just as described. It happens irregardless of browser used (also happens when using the CLI).Happens with custom apps or Cisco ones (Edge Intelligence).It's incredibly annoying.Am I the only one with this problem? Best regardsSilla Rizzoli  ...
Hi everyone! The information related to the network interfce when I execute the 'show app-hosting detail' command does not include the IP address, as shown below. Shouldn't information related to the IP address be displayed? The commands to configure...
Hi, everyone. Through minor adaptations in the Cisco roadmap for the demo application, I can generate, deploy, activate and run the my own application (with id SGG) on the IR-1101. As can be seen below through the response to the 'show app-hosting de...
Hi everyone!I am following the Tutorial: Build Sample Docker Type C Based Simple App (https://developer.cisco.com/docs/iox/#!tutorial-build-sample-docker-type-c-based-simple-app/overview), and all the steps described in the tutorial work, except...