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:
My router is managed in IOT Operation Center.I have uploaded EI-Agent (Edge Intelligence) application.The application is running, but the agent is not registering in EI-Cloud.The application in IOX Local Device Manager is showing : app : unhealthy ...
Hello,I do receive this message in loop.
What is the problem ?
Sep 29 16:05:14.125: %IOX-6-SOCK_MESSAGE: Received IOX_REQUEST message with opcode IOX_REQUEST_GET_PROTECT_KEY from IOX Client
Sep 29 16:05:14.333: %IOX-6-SOCK_SEND: Sending...
HiIs IOX 100% Docker compatible?I'm trying to run phpmyadmin as a docker from my Catalyst 9300 (running v17.03.01).I pull the image from here: https://hub.docker.com/r/phpmyadmin/phpmyadminSaving it, and uploading it to usbflash1:After runningapp-hosting ...
Hi everyone! Regarding IR1101 application hosting: are the cellular interfaces mapped to the container that runs the application (via VirtualPortGroup)? Is it possible for a Docker type C based application to send/receive (via sockets) TCP frame...
C9500 does not have the AppGigabitEthernet interface for IOx apps, so it is slightly different from C9300. All the examples I have found on Cisco documents/blogs relating to IOx containers on C9500 only point to using management network for connectiv...