Dynamically change ...
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Solved] Dynamically change what IP adress to ping

3 Posts
2 Users
1 Reactions
1,615 Views
(@idoofix)
New Member Registered
Joined: 1 year ago
Posts: 2
Topic starter  

Hi!

I'm wondering if it it is possible to dynamically change what IP that currently being pinged, in my case i want to see the latency to my RDP client.

WMI=text:,interval:10,alarms:(%11 ge 34 0088f0),namespace:root\cimv2,query:Win32_PingStatus where address='1.1.1.1',display:Latency: %ResponseTime%ms from 1.1.1.1

Pseudocode 
WMI=text:,interval:10,alarms:(%11 ge 34 0088f0),namespace:root\cimv2,query:Win32_PingStatus where address='RDS=display:%8',display:Latency: %ResponseTime%ms from RDS client

 

Thanks Glenn for all the work that has gone in to making this wonderful software over the years!


   
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 1867
 

looks like you're wanting to embed another item. maybe something like this:

RDS=set:rds-latency=%8,hidden:1
WMI=text:,interval:10,alarms:(%11 ge 34 0088f0),namespace:root\cimv2,query:Win32_PingStatus where address='%rds-latency%',display:Latency: %ResponseTime%ms from RDS client

 


   
(@idoofix)
New Member Registered
Joined: 1 year ago
Posts: 2
Topic starter  

Yes, exactly like that. Tested and it works.

Thank you!


   
Glenn reacted
Glenn's Page