salt.modules.inspectlib.collector module

class salt.modules.inspectlib.collector.Inspector(db_path=None, pid_file=None)
DEFAULT_MINION_CONFIG_PATH = '/etc/salt/minion'
IGNORE_FS_TYPES = ['autofs', 'cifs', 'nfs', 'nfs4']
IGNORE_MOUNTS = ['proc', 'sysfs', 'devtmpfs', 'tmpfs', 'fuse.gvfs-fuse-daemon']
IGNORE_PATHS = ['/tmp', '/var/tmp', '/lost+found', '/var/run', '/var/lib/rpm', '/.snapshots', '/.zfs', '/etc/ssh', '/root', '/home']
MODE = ['configuration', 'payload', 'all']
request_snapshot(mode, priority=19, **kwargs)

Take a snapshot of the system.

snapshot(mode)

Take a snapshot of the system.

salt.modules.inspectlib.collector.is_alive(pidfile)

Check if PID is still alive.

salt.modules.inspectlib.collector.main(dbfile, pidfile, mode)

Main analyzer routine.