Documentation ¶
Index ¶
- func All() []*GoSNMPServer.PDUValueControlItem
- func DiskUsageOIDs(showTheseNameOnly ...NameOverride) []*GoSNMPServer.PDUValueControlItem
- func MemoryOIDs() []*GoSNMPServer.PDUValueControlItem
- func SetupLogger(i GoSNMPServer.ILogger)
- func SystemLoadOIDs() []*GoSNMPServer.PDUValueControlItem
- func SystemStatsOIDs() []*GoSNMPServer.PDUValueControlItem
- type NameOverride
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All() []*GoSNMPServer.PDUValueControlItem
All function provides a list of common used OID in UCD-MIB
func DiskUsageOIDs ¶
func DiskUsageOIDs(showTheseNameOnly ...NameOverride) []*GoSNMPServer.PDUValueControlItem
DiskUsageOIDs Returns a list of disk usages.
Args: showTheseNameOnly: what path whill this oid returns. empty means all. see http://www.net-snmp.org/docs/mibs/ucdavis.html#DisplayString
func MemoryOIDs ¶
func MemoryOIDs() []*GoSNMPServer.PDUValueControlItem
MemoryOIDs Returns a list of memory operation.
see http://www.net-snmp.org/docs/mibs/ucdavis.html#DisplayString
func SystemLoadOIDs ¶
func SystemLoadOIDs() []*GoSNMPServer.PDUValueControlItem
SystemLoadOIDs Returns a list of system Load.
see http://www.net-snmp.org/docs/mibs/ucdavis.html#DisplayString
func SystemStatsOIDs ¶
func SystemStatsOIDs() []*GoSNMPServer.PDUValueControlItem
SystemStatsOIDs Returns a list of memory operation.
see http://www.net-snmp.org/docs/mibs/ucdavis.html#DisplayString
Types ¶
type NameOverride ¶
type NameOverride struct { // RealPath in this pc. RealPath string // ShowName indicate what will it show in oid: // in currentDskPath 1.3.6.1.4.1.2021.9.1.2.xxx // currentDskDevice 1.3.6.1.4.1.2021.9.1.3.xxx ShowName string }
NameOverride configs what path disk usage will returns.
Click to show internal directories.
Click to hide internal directories.