Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any easy way to Ping?
#1
I have a router that occasionally locks-up, so I'm looking for an easy way to PING an outside address, and if its not there, I'll turn off and the on my router.
Any ideas?
Reply
#2
anogee Wrote:I have a router that occasionally locks-up, so I'm looking for an easy way to PING an outside address, and if its not there, I'll turn off and the on my router.
Any ideas?
You can't generate an ICMP ping from CQC. But you can do an HTTP request in CML - so point it at a reasonably reliable website and "GET /" from it. If you don't get an answer, something between you and it is broken.

Chris.
Reply
#3
I was hoping for either a non-CML code, or maybe CML code somebody might like to share. I'm not much of a CML programmer at this point, but maybe I'll look over the CQC 3.0 CML programming guide to see if its improved over 2.4
Reply
#4
If I were going to do this, I'd write a CML script to open each of the DNS servers from your provider and use that as an indicator. One isn't enough as the provider might take one down but it is improbable that they'd take down all of them.

Russ...
Reply
#5
Anogee -
I don't have a CQC solution - but you could do it pretty easily Nagios - depending on how you plan to power cycle the router.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to monitor tcp port or ping with CQC? bjkiller 12 7,359 04-12-2012, 03:08 PM
Last Post: Dean Roddey
  Its Easy to Turn on your Oven using your Cell Phone... anogee 1 1,712 08-25-2009, 02:32 PM
Last Post: wuench
  Need an Easy way to Cycle Power Remotely kblagron 8 4,389 07-16-2009, 08:02 PM
Last Post: Ira

Forum Jump:


Users browsing this thread: 1 Guest(s)