Skip to main content

how can i get information about device uptime ?

  • Feb 26, 2025 12:13 PM UTC
  • 3 replies
  • 144 views
  • Translate All

Forum|alt.badge.img+2

how can i get information about device uptime ?

3 replies

AricaFN
Employee
Forum|alt.badge.img+4
  • Employee
  • Feb 26, 2025 3:58 PM UTC

We’ve added system uptime to the data model, and you can access it with the following NQE.

foreach device in network.devices
let system = device.system
select {
deviceName: device.name,
uptimeSeconds: system.uptimeSeconds,
uptime: system.uptime
}

 

Translate

Forum|alt.badge.img+2

thanks ​@AricaFN  , i got this information already via NQE , thanks again for the support.

 

Translate

davetee
Community Manager
Forum|alt.badge.img
  • Community Manager
  • Feb 26, 2025 7:59 PM UTC

Hi ​@Rohit_809 Kumar - good question. And thanks ​@AricaFN for the data model example. I’m including a couple other examples from the community that may also be helpful:

 

​@deronjohnson‘s article which demonstrates the data model 

​@AndyL created an NQE that offers more functionality.  

 

​@davetee 

Translate