fixed class_check behavior, added minimal.json
This commit is contained in:
parent
8e53382e70
commit
fca615e8d9
9 changed files with 60 additions and 30 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ not use a parser.
|
|||
"""
|
||||
|
||||
import socket
|
||||
from service import Service
|
||||
from lib.services.service import Service
|
||||
|
||||
|
||||
class TcpconnectService(Service):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue