That is one sexy script. Didn't realize PHP could be used so "easily" with the API.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Tue, May 3, 2011 at 5:22 PM, Gerard Dupont <ger...@shelbybb.com> wrote: > I threw this together for you using the Mikrotik API. You will need to > make sure the API is enabled under ip -> services on your Mikrotik's. > You will need to modify the search strings and routers to match your > network. Run from the command line, "php > find_user_on_pppoe_server.php", and it should do its thing. > > http://code.google.com/p/wisp-scripts/source/browse/#svn%2Fmikrotik%2Fapi > > Gerard > > > > On Tue, May 3, 2011 at 4:48 PM, john <j...@rcsaccess.net> wrote: > > We use the Mikrotik as our concentrators for PPPOE. We use a default > > account to setup PPPoE on the radios and the sorts. We have many of > these > > concentrators and I was wondering if there was a way to search a Mikrotik > > remotely to find out if there is a PPPoE Session started on it with the > > username "install" or "install1". With 16 Mikrotiks it would be nice to > run > > a batch file or snmp script that could output if a session has been > > discovered. > > > > -- > > John Babineaux > > Network Admin > > Radio Communications Service > > Crowley, Louisiana > > > > > > _______________________________________________ > > Mikrotik mailing list > > Mikrotik@mail.butchevans.com > > http://www.butchevans.com/mailman/listinfo/mikrotik > > > > Visit http://blog.butchevans.com/ for tutorials related to Mikrotik > RouterOS > > > _______________________________________________ > Mikrotik mailing list > Mikrotik@mail.butchevans.com > http://www.butchevans.com/mailman/listinfo/mikrotik > > Visit http://blog.butchevans.com/ for tutorials related to Mikrotik > RouterOS > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.butchevans.com/pipermail/mikrotik/attachments/20110503/925822ba/attachment.html> _______________________________________________ Mikrotik mailing list Mikrotik@mail.butchevans.com http://www.butchevans.com/mailman/listinfo/mikrotik Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS