Source

eyes / eyeswebapp / core / urls.py

# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template

urlpatterns = patterns('core.views',
    (r'^$', 'index'),  # shows list of monitoring plugins
    (r'^monitor/(\d+)/$', 'monitor_detail'),  # , name='monitor_detail'
    (r'^host/(\d+)/$', 'host_detail'),  # , name='host_detail'
    (r'^datastore/(\d+)/$', 'datastore_detail'),  # , name='datastore_detail'
    (r'^datastore/(\d+)/png$', 'datastore_image'),  # , name='datastore_image'
    (r'^host_list/$', 'host_list'),  # shows list of hosts
    (r'^monitor_list/$', 'monitor_list'),  # shows list of monitoring plugins
    # ajax views
    (r'^ajax_monitor/(\w+)/$', 'ajax_monitor'),  # ajax view to invoke a monitor plugindirectly
    # test URLs
    (r'^visualtest/$', 'visual_test'),
    (r'^monitor_list/$', 'monitor_list'),  # testing for new monitor...
    (r'^testmonitor/(\w+)/$', 'test_monitor'),  # trial a monitor - probably nuke...
)