Skip to content

Commit

Permalink
Merge remote branch 'taras/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ssOleg committed Oct 15, 2013
2 parents 036e672 + dd4b70d commit 01ed8b8
Show file tree
Hide file tree
Showing 3 changed files with 372 additions and 436 deletions.
16 changes: 0 additions & 16 deletions ZenPacks/zenoss/MySqlMonitor/dsplugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@

from ZenPacks.zenoss.MySqlMonitor.utils import parse_mysql_connection_string

class RandomPlugin(PythonDataSourcePlugin):
@defer.inlineCallbacks
def collect(self, config):
print '*' * 200
for ds in config.datasources:
yield

def onSuccess(self, result, config):
return {
'events': [],
'values': {
'localhost.localdomain': {
'random': (2, time.time()),
},
},
}

class MySqlMonitorPlugin(PythonDataSourcePlugin):
proxy_attributes = ('zMySQLConnectionString',)
Expand Down
Loading

0 comments on commit 01ed8b8

Please sign in to comment.