Community discussions

MikroTik App
 
richedav
Member Candidate
Member Candidate
Topic Author
Posts: 114
Joined: Mon Dec 13, 2010 12:13 am

Getting RouterOS to send status via HTTP WGET

Tue Dec 14, 2010 9:37 pm

Hi

Ive been using Robin Mesh, and really like the fact that I can get the routers to check in via HTTP so you can check they are running etc vi a status page. Ive had a quick google on the site, but cannot find out if its possible to implement something similar via the schedule/crontab.

Im thinking that i could just do a wget http://checkin.server.com/checkin.php?r ... uptime=id2 etc, replacing ids with the results from variables using script.

Is this possible on the routerOS?

regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Getting RouterOS to send status via HTTP WGET

Tue Dec 14, 2010 10:34 pm

Yes.
http://wiki.mikrotik.com/wiki/Manual:Tools/Fetch

However, have you considered using a network monitoring tool instead that allows you to monitor the network via ICMP and SNMP?
 
richedav
Member Candidate
Member Candidate
Topic Author
Posts: 114
Joined: Mon Dec 13, 2010 12:13 am

Re: Getting RouterOS to send status via HTTP WGET

Tue Dec 14, 2010 11:48 pm

Yes.
http://wiki.mikrotik.com/wiki/Manual:Tools/Fetch

However, have you considered using a network monitoring tool instead that allows you to monitor the network via ICMP and SNMP?
Thanks for the reply.

I wish we could use better monitoring tools, however, at many locations we are forced to install behind firewalls where we have no control over the core router. By having the routers check into a web page every 5 minutes we can at least see when they are on and give the customer an automated SMS/IVR call when they get turned off.

Who is online

Users browsing this forum: Amazon [Bot], FAB1150, tgkmilo and 183 guests