jetrmm

package module
v0.0.0-...-6d5b520 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 0 Imported by: 3

README

rmm-shared

A set of shared structs between JetRMM projects.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentHeaderNats

type AgentHeaderNats struct {
	AgentId string `json:"agent_id"`
	Version string `json:"version"`
}

type AgentInfoNats

type AgentInfoNats struct {
	AgentId       string  `json:"agent_id"`
	Username      string  `json:"logged_in_username"`
	Hostname      string  `json:"hostname"`
	OS            string  `json:"operating_system"`
	Platform      string  `json:"plat"`
	TotalRAM      float64 `json:"total_ram"`
	BootTime      int64   `json:"boot_time"`
	RebootPending bool    `json:"reboot_pending"` // was "needs_reboot"
	GoArch        string  `json:"goarch"`
}

type PublicIPNats

type PublicIPNats struct {
	AgentId  string `json:"agent_id"`
	PublicIP string `json:"public_ip"`
}

type Software

type Software struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	Publisher   string `json:"publisher"`
	InstallDate string `json:"install_date"`
	Size        string `json:"size"`
	Source      string `json:"source"`
	Location    string `json:"location"`
	Uninstall   string `json:"uninstall"`
}

type SoftwareList

type SoftwareList struct {
	AgentId  string     `json:"agent_id"`
	Software []Software `json:"software"`
}

type StorageDrive

type StorageDrive struct {
	Device  string `json:"device"`
	Fstype  string `json:"fstype"` // Filesystem Type
	Total   string `json:"total"`
	Used    string `json:"used"`
	Free    string `json:"free"`
	Percent int    `json:"percent"`
}

type StorageNats

type StorageNats struct {
	AgentId string         `json:"agent_id"`
	Drives  []StorageDrive `json:"drives"`
}

type WinSvcNats

type WinSvcNats struct {
	AgentId string           `json:"agent_id"`
	WinSvcs []WindowsService `json:"services"`
}

type WinWMINats

type WinWMINats struct {
	AgentId string      `json:"agent_id"`
	WMI     interface{} `json:"wmi"`
}

type WindowsService

type WindowsService struct {
	Name         string `json:"name"`
	Status       string `json:"status"`
	DisplayName  string `json:"display_name"`
	BinPath      string `json:"binpath"`
	Description  string `json:"description"`
	Username     string `json:"username"`
	PID          uint32 `json:"pid"`
	StartType    string `json:"start_type"`
	DelayedStart bool   `json:"delayed_start"`
}

Jump to

Keyboard shortcuts

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