system

package
v0.0.0-...-ee18996 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Audit

func Audit(d *data.DiscoverJSON)

Audit fetches audit rules from auditctl -l Linux command

func ChassisType

func ChassisType(d *data.DiscoverJSON)

ChassisType detects the Chassis type like notebook, VM, server

func Cron

func Cron(d *data.DiscoverJSON)

Cron fetches all crontabs

func DmesgErrors

func DmesgErrors(d *data.DiscoverJSON)

DmesgErrors detects err, emerg, crit, alert messages

func Lsmod

func Lsmod(d *data.DiscoverJSON)

Lsmod lists the currently loaded kernel modules

func Processes

func Processes(d *data.DiscoverJSON)

Processes collects the process table with basic metrics

func Stats

func Stats(d *data.DiscoverJSON)

Stats discovers host metrics

func Sysctl

func Sysctl(d *data.DiscoverJSON)

Sysctl collects system sysctl kernel parameters

func SystemctlFailed

func SystemctlFailed(d *data.DiscoverJSON)

SystemctlFailed collects failed systemd units

func SystemdTimers

func SystemdTimers(d *data.DiscoverJSON)

SystemdTimers captures all cron like jobs within Systemd

func TimeZone

func TimeZone(d *data.DiscoverJSON)

TimeZone runs Linux command date to fetch timezone

func Users

func Users(d *data.DiscoverJSON)

Users fetches all users on the system from /etc/passwd on NIX systems

func UsersLoggedIn

func UsersLoggedIn(d *data.DiscoverJSON)

UsersLoggedIn fetches all users logged into Linux or OS X

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL