07-21-2009, 06:32 AM
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?
Any ideas?
Any easy way to Ping?
|
07-21-2009, 06:32 AM
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?
07-21-2009, 06:42 AM
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.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.
07-21-2009, 02:40 PM
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
07-21-2009, 04:50 PM
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...
07-21-2009, 05:07 PM
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. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
how to monitor tcp port or ping with CQC? | bjkiller | 12 | 7,370 |
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,392 |
07-16-2009, 08:02 PM Last Post: Ira |