13.3.4.2. ssh Package

13.3.4.2.1. admin Module

The apps.actions.monitoring.ssh.admin module contains the Django administration pages for the ssh app

class apps.monitoring.ssh.admin.SshCounterAdmin(model, admin_site)

The SshCounterAdmin class represents the SshCounter model administration page

13.3.4.2.2. models Module

The apps.monitoring.ssh.models module contains the Django models for the ssh app.

class apps.monitoring.ssh.models.SshCounter(*args, **kwargs)

Bases: apps.monitoring.models.Counter

The SshCounter* model implements a Counter and reprents a script to be execute via SSH on a remote destination and returns a single numeric value

13.3.4.2.3. tasks Module

The apps.monitoring,ssh.tasks module contains the Celery tasks for the ssh app.

apps.monitoring.ssh.tasks.getSshTriggerCounters(node, jvm, trigger)

The getSshTriggerCounters task connects to the Node parameter and executes all associated SshCounter from the Trigger parameter

13.3.4.2.4. urls Module

This file contains the URL definitions for the ssh module

13.3.4.2.5. views Module

The apps.monitoring.ssh.views module contains the Django views definitions for the ssh app.
These views mainly handle the PyScaler web frontend.
apps.monitoring.ssh.views.SshCounterData(node, counter)

The SshCounterData function connects to memcached and gathers last 24 hours performance data for a specific counter

apps.monitoring.ssh.views.cluster(request, cluster)

The cluster view shows SSH graphs for a specific Cluster.

apps.monitoring.ssh.views.clusterCounterValues(request, cluster, counter)

The clusterCounterValues view returns last 24h of performance data for a specific Cluster and Counter in JSON format,

apps.monitoring.ssh.views.index(request)

The index function is to as an entry to the SshCounter graphs pages. It uses the ssh.html template.

apps.monitoring.ssh.views.nodeCounterValues(request, node, counter)

The nodeCounterValues view returns last 24h of performance data for a specific Node and Counter in JSON format,

Project Versions

Table Of Contents

Previous topic

13.3.4.1. jmx Package

Next topic

14. Troubleshooting

This Page