ROSInfo is a simple tool for monitoring signal levels, traffic, and network latency of x86 machines, RouterBoards, and other devices running Mikrotik RouterOS.
The project was designed to be used with Mikrotik RouterOS 2.9 and is being developed and tested on a large network with many Mikrotik routers.
Currently supported and tested are all versions of Mikrotik RouterOS 2.9.
- PHP5 with support for snmp
- RRDTool 1.2
- php-rrdtool (not mandatory)
- SNMP utilities
- Cron or another scheduling daemon
- Unpack the tarball to a directory accessible by Apache.
- Make sure, that the ./rrd directory and it's subdirectories are writable by
Apache. Use chown and chmod to achieve this.
- Open file ./include/config.inc and change the contents to fit your needs.
- Setup cron to start the fetchexec.php file every 5 minutes.
You can use the following statement placed in /etc/crontab. Make sure you correct the path to the file fetchexec.php and php binary.
*/5 * * * * www-data /usr/bin/php /path/to/rosinfo/fetchexec.php > /dev/null 2>&1
Adding new routers:
New routers can be added in file include/config.inc. Adjust the variable $systems to fit your needs. Note that the link "Add a new router" on www pages only instructs your network administrators what to do.
Do not start the fetchexec.php file manualy unless you are logged in as a user under which Apache is running. You can use something like su www-data and then start the fetchexec.php.
If you want to see some debug information from the fetchexec process, uncomment
the line $debug=1; in file config.inc. The output will be saved in a few logfiles.