# I want to use these parameters to ping any IP address on the router and display the result on the GenieACS page

**URL:** <https://forum.genieacs.com/t/i-want-to-use-these-parameters-to-ping-any-ip-address-on-the-router-and-display-the-result-on-the-genieacs-page/5523>\
**Category:** Uncategorized\
**Created:** [June 3, 2024, 6:26pm UTC](https://forum.genieacs.com/t/i-want-to-use-these-parameters-to-ping-any-ip-address-on-the-router-and-display-the-result-on-the-genieacs-page/5523 "2024-06-03T18:26:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gopalubhale](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/gopalubhale/32/985_2.png) [@gopalubhale](https://forum.genieacs.com/u/gopalubhale)\
**Post date:** [June 3, 2024, 6:26pm UTC](https://forum.genieacs.com/t/i-want-to-use-these-parameters-to-ping-any-ip-address-on-the-router-and-display-the-result-on-the-genieacs-page/5523/1 "2024-06-03T18:26:09Z")

</div>

I want to use these parameters to ping any IP address on the router and display the result on the GenieACS page. How can this be done? My router has a ping option in the diagnostics section with the following parameters. Can anyone tell me how to do this?

- InternetGatewayDevice.IPPingDiagnostics
- InternetGatewayDevice.IPPingDiagnostics.AverageResponseTime
- InternetGatewayDevice.IPPingDiagnostics.DSCP
- InternetGatewayDevice.IPPingDiagnostics.DataBlockSize
- InternetGatewayDevice.IPPingDiagnostics.DiagnosticsState
- InternetGatewayDevice.IPPingDiagnostics.FailureCount
- InternetGatewayDevice.IPPingDiagnostics.Host
- InternetGatewayDevice.IPPingDiagnostics.Interface
- InternetGatewayDevice.IPPingDiagnostics.MaximumResponseTime
- InternetGatewayDevice.IPPingDiagnostics.MinimumResponseTime
- InternetGatewayDevice.IPPingDiagnostics.NumberOfRepetitions
- InternetGatewayDevice.IPPingDiagnostics.SuccessCount
- InternetGatewayDevice.IPPingDiagnostics.Timeout

im add thi following config to my device page its correct or not

 ![pingt](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/a/a6844f313d458a03090e75176e9b5eaed70a1cd7.png)

- label: “‘IP PING’”  
parameter: InternetGatewayDevice.IPPingDiagnostics  
type: “‘parameter-table’”  
childParameters:
  - label: “‘AVG ResponseTime’”  
parameter: AverageResponseTime

  - label: “‘DSCP’”  
parameter: DSCP

  - label: “‘DataBlockSize’”  
parameter: DataBlockSize

  - label: “‘DiagnosticsState’”  
parameter: DiagnosticsState

  - label: “‘FailureCount’”  
parameter: FailureCount

  - label: “'Host '”  
parameter: Host

  - label: “‘Interface’”  
parameter: Interface

  - label: “‘MaximumResponseTime’”  
parameter: MaximumResponseTime

  - label: “‘MinimumResponseTime’”  
parameter: MinimumResponseTime

  - label: “‘SuccessCount’”  
parameter: SuccessCount

  - label: “‘Timeout’”  
parameter: Timeout

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [June 3, 2024, 7:38pm UTC](https://forum.genieacs.com/t/i-want-to-use-these-parameters-to-ping-any-ip-address-on-the-router-and-display-the-result-on-the-genieacs-page/5523/2 "2024-06-03T19:38:29Z")

</div>

Please use the code block feature of the forum and paste in your yaml again. Code blocks can be created with three backticks (```) on a new line.

---

<div class="post-metadata">

**Author:** ![gopalubhale](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/gopalubhale/32/985_2.png) [@gopalubhale](https://forum.genieacs.com/u/gopalubhale)\
**Post date:** [June 3, 2024, 8:00pm UTC](https://forum.genieacs.com/t/i-want-to-use-these-parameters-to-ping-any-ip-address-on-the-router-and-display-the-result-on-the-genieacs-page/5523/3 "2024-06-03T20:00:11Z")

</div>

Give me 1 example

 ![IMG_20240604_013203](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/d/d88e4be684f620b74459614c744bc4031916e549.jpeg)

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [June 3, 2024, 8:41pm UTC](https://forum.genieacs.com/t/i-want-to-use-these-parameters-to-ping-any-ip-address-on-the-router-and-display-the-result-on-the-genieacs-page/5523/4 "2024-06-03T20:41:25Z")

</div>

The type `parameter-table` is for items with an instance ID, like `InternetGatewayDevice.LANDevice.1.Hosts.Host` and so it will not work for this purpose.

You can `parameter-list` to get close to accomplishing what you would like. It won’t be listed in a table though. You will need to change the param names to match your setup.

```auto
- type: "'parameter-list'"
  parameters:
      - label: "'Ping Avg ResponseTime'"
        parameter: Device.IP.Diagnostics.IPPing.AverageResponseTime
      - label: "'Ping DSCP'"
        parameter: Device.IP.Diagnostics.IPPing.DSCP
      - label: "'Ping DataBlockSize'"
        parameter: Device.IP.Diagnostics.IPPing.DataBlockSize
      - label: "'Ping Host'"
        parameter: Device.IP.Diagnostics.IPPing.Host
      - label: "'Ping Interface'"
        parameter: Device.IP.Diagnostics.IPPing.Interface

```
