Checking Thing Connection via Ping
In this section you may learn how you may check if your Monogoto SIM card (Thing) is connected to a network using ping.
Last updated
Was this helpful?
In this section you may learn how you may check if your Monogoto SIM card (Thing) is connected to a network using ping.
Last updated
Was this helpful?
Was this helpful?
curl -X GET "https://console.monogoto.io/thing/ThingId_ICCID_<<<_THING_ICCID_>>>/" -H "accept: application/json" -H "Authorization: Bearer <<<_TOKEN_HERE_>>>"curl -X GET "https://console.monogoto.io/thing/ThingId_ICCID_8912372646888991/" -H "accept: application/json" -H "Authorization: Bearer eyJhbGciOiJIUzI1N2R5cCI6IkpXVCJ9.eyJSb2x5oiVXNlclByb2ZpbGVJZF9kZGM2MThhNC0wNTI1LTQ2MmUtYtNlNt03NzhhMGQxYmQyNGYiLCJSZWFsiSI6ImFkbWluIiwiQ3VzdG9tZXJJZfI6bnVsbCwiVXNlcklkIjoiVXNlcklkXzg52OG486TUwZjUtNDQ1Ny05NThhLTEzZjA0MzJhZDE3YyIsImp3dGlkIjoiZjE0iMzZWYtZjViNC00MzQ1LWFlZWQag1YWM1NWUzNjQ5IiwiaWF0IjoxN784MTA2LCJleHAiOjE2MDMyMTI15DZ9.7U26dqOGSz-4qZJaG6bC4J6--0x3-_6dAWLRTALXMAk"{
"ThingName": "ICCID 8912372646888991",
"ThingDescription": "Auto-activated by provision process",
"ActiveMobileSubscriber": "123456789101112",
"State": "ACTIVE",
"BatchId": "Tutorial SIM Card",
"MSISDN": "+4420412389916",
"ExternalUniqueId": "8912372646888991",
"ExternalUniqueType": "ICCID",
"ExternalBatchId": "Tutorial SIM Card",
"OrganizationId": "OrganizationId_23789d7d-dd59-4739-ab2c-1ec7d9d8b11a",
"CreatedBy": "UserId_90b777a3-60f5-4557-958ba-15f04333d17b",
"ThingsGroupId": "ThingsGroupId_ca140991-be66-4ddd-a777-711595c5a30d",
"CustomerId": "cid_c256463da-742-491b-911b-8850177ef5121",
"DateAssignedToCustomer": 1610443297454,
"SimType": null,
"IPs": [
{
"IP": "11.111.11.211",
"IPAllocationPolicy": "dynamic",
"IPLock": false,
"IPPoolId": "IPPoolId_0cbby8ae-ddx7-4nx6-8588-b7e451f114e3",
"IPvType": "IPv4",
"NetworkId": "NetworkId_ec8dc935-35a1-499a-aacd-4e190ad41673",
"ApnShortId": "1000"
}
...curl -X POST "https://console.monogoto.io/thing/ThingId_ICCID_<<<_THING_ICCID_>>>/ping" -H "accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer <<<_TOKEN_HERE_>>>" -H "apikey: <<<_CUSTOMER_ID_>>>" -d "{ \"IPAddress\": \"<<<_THING_IP_ADDRESS_>>>\"}"curl -X POST "https://console.monogoto.io/thing/ThingId_ICCID_899721124171098197991/ping" -H "accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer eyJhbGciOiJIUzI1N2R5cCI6IkpXVCJ9.eyJSb2x5oiVXNlclByb2ZpbGVJZF9kZGM2MThhNC0wNTI1LTQ2MmUtYtNlNt03NzhhMGQxYmQyNGYiLCJSZWFsiSI6ImFkbWluIiwiQ3VzdG9tZXJJZfI6bnVsbCwiVXNlcklkIjoiVXNlcklkXzg52OG486TUwZjUtNDQ1Ny05NThhLTEzZjA0MzJhZDE3YyIsImp3dGlkIjoiZjE0iMzZWYtZjViNC00MzQ1LWFlZWQag1YWM1NWUzNjQ5IiwiaWF0IjoxN784MTA2LCJleHAiOjE2MDMyMTI15DZ9.7U26dqOGSz-4qZJaG6bC4J6--0x3-_6dAWLRTALXMAk" -H "apikey: cid_c256463da-742-491b-911b-8850177ef5121" -d "{ \"IPAddress\": \"11.111.11.211\"}"[
{
"host": "11.111.11.211",
"size": "56",
"ttl": "63",
"time": "82ms",
"sent": "1",
"received": "1",
"packetLoss": "0"
},
{
"host": "11.111.11.211",
"size": "56",
"ttl": "60",
"time": "89ms",
"sent": "2",
"received": "2",
"packetLoss": "0"
},
{
"host": "11.111.11.211",
"size": "56",
"ttl": "73",
"time": "60ms",
"sent": "3",
"received": "3",
"packetLoss": "0"
}
]