fixed class_check behavior, added minimal.json

This commit is contained in:
Rafael.Timmerberg 2013-06-19 23:04:13 +02:00
commit fca615e8d9
9 changed files with 60 additions and 30 deletions

View file

@ -9,7 +9,7 @@ to just report this code and not use a parser.
"""
import urllib
from service import Service
from lib.services.service import Service
class HttpService(Service):

View file

@ -3,7 +3,7 @@ The ping service in pure Python.
"""
# http://code.activestate.com/recipes/409689-icmplib-library-for-creating-and-reading-icmp-pack/
from service import Service
from lib.services.service import Service
class PingService(Service):

View file

@ -2,7 +2,7 @@
The shell service. This is for executing local shell commands and retrieve the output.
"""
from service import Service
from lib.services.service import Service
class ShellService(Service):

View file

@ -3,7 +3,7 @@ The snmpget service in pure Python.
"""
#from pysnmp.entity.rfc3413.oneliner import cmdgen
from service import Service
from lib.services.service import Service
class SnmpgetService(Service):

View file

@ -7,7 +7,7 @@ This service is using paramiko (http://www.lag.net/paramiko/).
import paramiko
import pprint
import os
from service import Service
from lib.services.service import Service
class SshService(Service):

View file

@ -6,7 +6,7 @@ not use a parser.
"""
import socket
from service import Service
from lib.services.service import Service
class TcpconnectService(Service):