Development

From WanWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:04, 8 November 2007 (edit)
Marlow (Talk | contribs)
(Mikrotik RouterOS Queue Tree's)
← Previous diff
Revision as of 13:04, 8 November 2007 (edit)
Marlow (Talk | contribs)
(Mikrotik RouterOS Memory)
Next diff →
Line 42: Line 42:
* Import ''xml/cacti_data_template_mikrotik_memory_total.xml'' * Import ''xml/cacti_data_template_mikrotik_memory_total.xml''
* Import ''xml/cacti_graph_template_mikrotik_memory_load.xml'' * Import ''xml/cacti_graph_template_mikrotik_memory_load.xml''
 +<br/>
 +=== Sample Graph ===
 +[[Image:Mikrotik memory sample.png]]
 +<br/>
<br/> <br/>

Revision as of 13:04, 8 November 2007

There is a development server on the WAN, that provides a bit of a development "area" for people that interested, like for example development of the wifimap.

Available are:

  • web
  • mysql (incl. phpMyAdmin access)
  • cvs (incl. auto deployment to web)
  • daily backup of cvs and sql
  • local ssh access on waldorf

So if you need any of those for your own project, you can contact me and I'll supply you with an account to use this development platform.

If you're wondering who or what waldorf is: It's the Cobalt RAQ server, that is one of the public hosts for the Wan.

Current active projects:

Contents

Cacti Templates

The cacti templates repository contains a selection of templates specific to monitoring of wireless platforms like Mikrotik. All templates are minimum Cacti Version 0.8.6i.

Access via CVS:

/usr/bin/cvs -d :pserver:%USER%@thewan.net:/var/lib/cvs co cacti

There is an overall host template xml/cacti_host_template_mikrotik_routeros.xml, that has all you need for a Mikrotik Router.
A copy of the repository has been uploaded to http://coyote.ie.tuxbox.nu/~marlow/cacti/.

Mikrotik RouterOS CPU

Source: Marlow

Installation

  • Import xml/cacti_data_template_mikrotik_cpu_load.xml
  • Import xml/cacti_graph_template_mikrotik_cpu_load.xml


Mikrotik RouterOS Memory

Source: Marlow

Installation

  • Import xml/cacti_data_template_mikrotik_memory_load.xml
  • Import xml/cacti_data_template_mikrotik_memory_total.xml
  • Import xml/cacti_graph_template_mikrotik_memory_load.xml


Sample Graph

Image:Mikrotik memory sample.png

Mikrotik RouterOS Queue Tree's

Source: arci, with fixes from Marlow

Installation

  • Copy snmp_queries/ipacmikro.xml to <cactidir>/resource/snmp_queries/ on the Cacti server.
  • Import xml/cacti_data_query_mikrotik_queue_tree.xml
  • Import xml/cacti_data_template_mikrotik_queue.xml
  • Import xml/cacti_graph_template_mikrotik_queue_tree_bytes.xml


Sample Graph

Image:Mikrotik queue sample.png

Mikrotik RouterOS Signal using SNMP

Source: Templates by mojiro, script and modifications for use via SNMP and multiple clients by Marlow

This template supports ap-bridge mode, client mode and multiple clients. Queries are done via SNMP, so no configuration needed on the router beyond SNMP.

When adding a link, the remote host has to be associated. Interfaces, that have no connection, will not be listed.

Installation

  • Copy script_server/mikrotik_wireless_interfaces.xml to <cactidir>/resource/script_server/ on the Cacti server.
  • Copy scripts/mikrotik_wireless_interfaces.php to <cactidir>/site/scripts/ on the Cacti server.
  • Import xml/cacti_data_query_mikrotik_get_wireless_interfaces_mac_based.xml.
  • Import xml/cacti_data_template_mikrotik_wireless_signal_strength_mac_based.xml.
  • Import xml/cacti_graph_template_mikrotik_signal_strength_mac_based.xml.


Sample Graph

Image:Mikrotik signal sample.png

WifiMap

The project is developed on waldorf and the outcome of changes are automatically available at http://thewan.net/dev/wifimap/

Database is available at http://voice.airwire.ie/dbadmin/ - user and password can be found in the source-code.

Access via CVS:

/usr/bin/cvs -d :pserver:%USER%@thewan.net:/var/lib/cvs co wifimap

A release tarball can be fetched at http://coyote.ie.tuxbox.nu/~marlow/wifimap/
The changelog can be found at http://www.thewan.net/dev/wifimap/CHANGELOG

WifiMap can be discussed in the forums at the WiFiMap Section

New releases are also announced on Freshmeat.