sl.snippet_api.platform_definitions module

enum sl.snippet_api.platform_definitions.AppType(value)

Bases: IntEnum

Dynamic Application types

Enum containing all Dynamic Application types and their respective id

Member Type:

int

Valid values are as follows:

SNMP_PERF = <AppType.SNMP_PERF: 0>
SNMP_CONFIG = <AppType.SNMP_CONFIG: 1>
TRAP = <AppType.TRAP: 2>
XML_PERF = <AppType.XML_PERF: 4>
XML_CONFIG = <AppType.XML_CONFIG: 5>
DB_PERF = <AppType.DB_PERF: 8>
DB_CONFIG = <AppType.DB_CONFIG: 9>
SOAP_PERF = <AppType.SOAP_PERF: 10>
SOAP_CONFIG = <AppType.SOAP_CONFIG: 11>
CPU = <AppType.CPU: 12>
MEM = <AppType.MEM: 13>
SNIPPET_PERF = <AppType.SNIPPET_PERF: 14>
SNIPPET_CONFIG = <AppType.SNIPPET_CONFIG: 15>
XSLT_PERF = <AppType.XSLT_PERF: 16>
XSLT_CONFIG = <AppType.XSLT_CONFIG: 17>
WMI_PERF = <AppType.WMI_PERF: 18>
WMI_CONFIG = <AppType.WMI_CONFIG: 19>
SNIPPET_JOURNAL = <AppType.SNIPPET_JOURNAL: 20>
ITSM_AGGREGATION = <AppType.ITSM_AGGREGATION: 21>
POWERSHELL_PERF = <AppType.POWERSHELL_PERF: 22>
POWERSHELL_CONFIG = <AppType.POWERSHELL_CONFIG: 23>
BULK_SNIPPET_PERF = <AppType.BULK_SNIPPET_PERF: 24>
BULK_SNIPPET_CONFIG = <AppType.BULK_SNIPPET_CONFIG: 25>
IC_INVENTORY = <AppType.IC_INVENTORY: 26>
IC_PERF = <AppType.IC_PERF: 27>
enum sl.snippet_api.platform_definitions.CollectionClassType(value)

Bases: IntEnum

Member Type:

int

Valid values are as follows:

UNKNOWN_CLASS = <CollectionClassType.UNKNOWN_CLASS: 0>
COUNTER_CLASS = <CollectionClassType.COUNTER_CLASS: 1>
PERCENT_CLASS = <CollectionClassType.PERCENT_CLASS: 2>
KILOBYTE_CLASS = <CollectionClassType.KILOBYTE_CLASS: 3>
GAUGE_CLASS = <CollectionClassType.GAUGE_CLASS: 4>
CHARACTER_CLASS = <CollectionClassType.CHARACTER_CLASS: 10>
ENUM_CLASS = <CollectionClassType.ENUM_CLASS: 11>
EPOC_CLASS = <CollectionClassType.EPOC_CLASS: 12>
STATIC_GAUGE_CLASS = <CollectionClassType.STATIC_GAUGE_CLASS: 14>
IDENTIFIER_CLASS = <CollectionClassType.IDENTIFIER_CLASS: 15>
TIMESTAMP_CLASS = <CollectionClassType.TIMESTAMP_CLASS: 16>
MAC_CLASS = <CollectionClassType.MAC_CLASS: 17>
IP_CLASS = <CollectionClassType.IP_CLASS: 18>
DATETIME_CLASS = <CollectionClassType.DATETIME_CLASS: 19>
XXX_CLASS = <CollectionClassType.XXX_CLASS: 20>
UNICODE_CLASS = <CollectionClassType.UNICODE_CLASS: 21>
JOURNAL_CHARACTER_CLASS = <CollectionClassType.JOURNAL_CHARACTER_CLASS: 22>
JOURNAL_ENUM_CLASS = <CollectionClassType.JOURNAL_ENUM_CLASS: 23>
JOURNAL_EPOC_CLASS = <CollectionClassType.JOURNAL_EPOC_CLASS: 24>
JOURNAL_STATIC_GAUGE_CLASS = <CollectionClassType.JOURNAL_STATIC_GAUGE_CLASS: 25>
JOURNAL_NUMERIC_CLASS = <CollectionClassType.JOURNAL_NUMERIC_CLASS: 26>
JOURNAL_TIMESTAMP_CLASS = <CollectionClassType.JOURNAL_TIMESTAMP_CLASS: 27>
JOURNAL_MAC_CLASS = <CollectionClassType.JOURNAL_MAC_CLASS: 28>
JOURNAL_IP_CLASS = <CollectionClassType.JOURNAL_IP_CLASS: 29>
JOURNAL_DATETIME_CLASS = <CollectionClassType.JOURNAL_DATETIME_CLASS: 30>
JOURNAL_JSON_OBJECT_CLASS = <CollectionClassType.JOURNAL_JSON_OBJECT_CLASS: 31>
JOURNAL_JSON_ARRAY_CLASS = <CollectionClassType.JOURNAL_JSON_ARRAY_CLASS: 32>
ICDA_OBJECT = <CollectionClassType.ICDA_OBJECT: 33>
DISCOVERY_CLASS = <CollectionClassType.DISCOVERY_CLASS: 100>
DESCRIPTOR_CLASS = <CollectionClassType.DESCRIPTOR_CLASS: 101>
DESCRIPTOR_CLASS_ALWAYS = <CollectionClassType.DESCRIPTOR_CLASS_ALWAYS: 104>
INDEX_CLASS = <CollectionClassType.INDEX_CLASS: 105>
DESCRIPTOR_CLASS_IF = <CollectionClassType.DESCRIPTOR_CLASS_IF: 106>
INDEX_OID_CLASS = <CollectionClassType.INDEX_OID_CLASS: 107>
DESCRIPTOR_CLASS_FOREIGN = <CollectionClassType.DESCRIPTOR_CLASS_FOREIGN: 108>
SOAP_SESSION_CLASS = <CollectionClassType.SOAP_SESSION_CLASS: 109>
DESCRIPTOR_CLASS_IP = <CollectionClassType.DESCRIPTOR_CLASS_IP: 110>
DESCRIPTOR_CLASS_IP_ALWAYS = <CollectionClassType.DESCRIPTOR_CLASS_IP_ALWAYS: 111>
enum sl.snippet_api.platform_definitions.CredentialType(value)

Bases: IntEnum

Member Type:

int

Valid values are as follows:

SNMP = <CredentialType.SNMP: 1>
DB = <CredentialType.DB: 2>
CURL = <CredentialType.CURL: 3>
LDAP = <CredentialType.LDAP: 4>
BASIC = <CredentialType.BASIC: 5>
SSH = <CredentialType.SSH: 6>
POWERSHELL = <CredentialType.POWERSHELL: 7>
UNIVERSAL = <CredentialType.UNIVERSAL: 8>
enum sl.snippet_api.platform_definitions.SiloXType(value)

Bases: IntEnum

XTypes used by ScienceLogic

These values can be used when something is requesting Xtype. Typically, there will be a Xid that is the ID for the XType. For example, If you wanted to specify device id 12, you would use XType=SiloXType.SILO_DEVICE and Xid=12.

Member Type:

int

Valid values are as follows:

SILO_ORGANIZATION = <SiloXType.SILO_ORGANIZATION: 0>
SILO_DEVICE = <SiloXType.SILO_DEVICE: 1>
SILO_ASSET = <SiloXType.SILO_ASSET: 2>
SILO_DOMAIN_NAME = <SiloXType.SILO_DOMAIN_NAME: 3>
SILO_NETWORK = <SiloXType.SILO_NETWORK: 4>
SILO_IF = <SiloXType.SILO_IF: 5>
SILO_VENDOR = <SiloXType.SILO_VENDOR: 6>
SILO_USER = <SiloXType.SILO_USER: 7>
SILO_VIF = <SiloXType.SILO_VIF: 8>
SILO_DEVICE_GROUP = <SiloXType.SILO_DEVICE_GROUP: 9>
SILO_SERVICE_POLICY = <SiloXType.SILO_SERVICE_POLICY: 10>
SILO_TICKET = <SiloXType.SILO_TICKET: 11>
SILO_BUSINESS_SERVICE = <SiloXType.SILO_BUSINESS_SERVICE: 14>
SILO_BUSINESS_IT_SERVICE = <SiloXType.SILO_BUSINESS_IT_SERVICE: 15>
SILO_DEVICE_SERVICE = <SiloXType.SILO_DEVICE_SERVICE: 16>
SILO_APPLICATION = <SiloXType.SILO_APPLICATION: 17>
SILO_APPLICATION_COMPONENT = <SiloXType.SILO_APPLICATION_COMPONENT: 18>
SILO_UNDEFINED_SERVICE = <SiloXType.SILO_UNDEFINED_SERVICE: 19>
enum sl.snippet_api.platform_definitions.SiloYType(value)

Bases: IntEnum

YTypes used by ScienceLogic

These values can be used when something is requesting Ytype. Typically, there will be a Yid that is the ID for the YType.

Member Type:

int

Valid values are as follows:

SILO_CPU = <SiloYType.SILO_CPU: 1>
SILO_DISK = <SiloYType.SILO_DISK: 2>
SILO_FILESYSTEM = <SiloYType.SILO_FILESYSTEM: 3>
SILO_MEMORY = <SiloYType.SILO_MEMORY: 4>
SILO_VIRTUAL_MEMORY = <SiloYType.SILO_VIRTUAL_MEMORY: 5>
SILO_COMPONENT = <SiloYType.SILO_COMPONENT: 6>
SILO_INTERFACE = <SiloYType.SILO_INTERFACE: 7>
SILO_SOFTWARE = <SiloYType.SILO_SOFTWARE: 8>
SILO_PROCESS = <SiloYType.SILO_PROCESS: 9>
SILO_PORT = <SiloYType.SILO_PORT: 10>
SILO_SERVICE = <SiloYType.SILO_SERVICE: 11>
SILO_CONTENT = <SiloYType.SILO_CONTENT: 12>
SILO_MAIL = <SiloYType.SILO_MAIL: 13>
SILO_DNS = <SiloYType.SILO_DNS: 14>
SILO_RSS = <SiloYType.SILO_RSS: 15>
SILO_CBQOS = <SiloYType.SILO_CBQOS: 16>