name stringlengths 3 72 | description stringlengths 141 229 | ci_type stringlengths 11 38 | pattern_type stringclasses 4
values | pattern stringlengths 196 32k | pattern_commented stringlengths 393 48.2k |
|---|---|---|---|---|---|
Amazon AWS - Get Internet Gateways (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Internet Gateways (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Internet Gateways (LP)"
id = "9fcde2acbe4041b4aa4fd3bfec0a7ece"
description = "null"
step {
name = "Parse all gateways"
if {
condition = is_not_empty {get_attr {"igateway_rest"}}
on_true = parse_var_to_var {
from_var_name = "igateway_rest"
to_var_names = table {
... | library {
name = "Amazon AWS - Get Internet Gateways (LP)"
id = "9fcde2acbe4041b4aa4fd3bfec0a7ece" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the ... |
Amazon AWS - parse the Application and Network LoadBalancers Subnets | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - parse the Application and Network LoadBalancers Subnets. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - parse the Application and Network LoadBalancers Subnets"
id = "a2098945db2a5300d504788dbf96196f"
description = "null"
step {
name = "Parse Subnets for the LBs"
parse_var_to_var {
from_var_name = "rest_resp_elb_v2"
to_var_names = table {
name = "subnets"
col_names = "... | library {
name = "Amazon AWS - parse the Application and Network LoadBalancers Subnets"
id = "a2098945db2a5300d504788dbf96196f" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single act... |
Windows - CPU | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - CPU. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - CPU"
id = "9f594ed6dbc12200c06776231f9619aa"
description = ""
step {
name = "Get partial CPU data from Win32_Processor"
comment = "https://msdn.microsoft.com/en-us/library/aa394373(v=vs.85).aspx"
run_wmi_query_to_var {
namespace = "root\\CIMV2"
query = "SELECT NumberOfLogical... | library {
name = "Windows - CPU"
id = "9f594ed6dbc12200c06776231f9619aa" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get partial ... |
Collect MSSQL Components Info using Utility | I would like for you to help me build a Pattern that helps achieve Discovery of Collect MSSQL Components Info using Utility. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Collect MSSQL Components Info using Utility"
id = "82351d31476161106e1e7104836d43e1"
description = "null"
step {
name = "Add default MSSQL path"
set_attr {
"tmp"
eval {"javascript: var temp = ${mssql_components} + \",PropertyStrValue=C:\\\\Program Files\\\\Microsoft SQL Server\";
CTX.set... | library {
name = "Collect MSSQL Components Info using Utility"
id = "82351d31476161106e1e7104836d43e1" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in ... |
Get Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Get Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get Tags"
id = "91986c05db0d3300bbebf13bbf961949"
description = "null"
step {
name = "Get tags"
custom_operation {
attributes {
attribute {
name = "url"
value = concat {
"https://tagging."
get_attr {"ldc[1].object_id"}
".amazonaws.com/"
}
}
attri... | library {
name = "Get Tags"
id = "91986c05db0d3300bbebf13bbf961949" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get tags"
c... |
Google GCP - Get Network data | I would like for you to help me build a Pattern that helps achieve Discovery of Google GCP - Get Network data. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google GCP - Get Network data"
id = "a1da5d980b89330059ec0d2835673a0a"
description = "null"
step {
name = "Get networks"
custom_operation {
attributes {
attribute {
name = "url"
value = concat {
"https://www.googleapis.com/compute/"
get_attr {"API_version"}
"... | library {
name = "Google GCP - Get Network data"
id = "a1da5d980b89330059ec0d2835673a0a" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Kubernetes Pod | I would like for you to help me build a Pattern that helps achieve Discovery of Kubernetes Pod. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Kubernetes Pod"
id = "8c1b275e9f5213002b9b92ec757fcfa3"
description = ""
step {
name = "get pods"
custom_operation {
attributes {attribute {
name = "resource"
value = "pods"
}}
sys_id_op = "354649149f7303002ae692ec757fcfac"
to_var_names = "SystemVariable"
parsing_stra... | library {
name = "Kubernetes Pod"
id = "8c1b275e9f5213002b9b92ec757fcfa3" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "get pods"
... |
Get Tags for ElastiCache Clusters | I would like for you to help me build a Pattern that helps achieve Discovery of Get Tags for ElastiCache Clusters. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get Tags for ElastiCache Clusters"
id = "5163798e9703c1105da6377e6253af70"
description = "Get Tags for ElastiCache Clusters"
step {
name = "Set Resource Type"
set_attr {
"resource_type"
"elasticache"
}
}
step {
name = "Get All ElastiCache Tags"
ref {refid = "91986c05db0d3300bbebf... | library {
name = "Get Tags for ElastiCache Clusters"
id = "5163798e9703c1105da6377e6253af70" // Unique identifier for the pattern
description = "Get Tags for ElastiCache Clusters" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or... |
Get Tags for MemoryDB Cluster | I would like for you to help me build a Pattern that helps achieve Discovery of Get Tags for MemoryDB Cluster. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get Tags for MemoryDB Cluster"
id = "46c47e1d97670d505da6377e6253af73"
description = "Get Tags for MemoryDB Clusters"
step {
name = "Set Resource Type"
set_attr {
"resource_type"
"memorydb"
}
}
step {
name = "Get Tags for Resource Type"
ref {refid = "91986c05db0d3300bbebf13bbf961... | library {
name = "Get Tags for MemoryDB Cluster"
id = "46c47e1d97670d505da6377e6253af73" // Unique identifier for the pattern
description = "Get Tags for MemoryDB Clusters" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of... |
UNIX Cluster - Linux Pacemaker Cluster | I would like for you to help me build a Pattern that helps achieve Discovery of UNIX Cluster - Linux Pacemaker Cluster. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "UNIX Cluster - Linux Pacemaker Cluster"
id = "46631de51bdc901409c1a64fad4bcb34"
description = "UNIX Cluster - Linux Pacemaker Cluster"
step {
name = "UNIX Cluster - Linux Pacemaker Cluster"
ref {refid = "1068bcf41bf3cc584762dd3fbd4bcb61"}
}
}
| library {
name = "UNIX Cluster - Linux Pacemaker Cluster"
id = "46631de51bdc901409c1a64fad4bcb34" // Unique identifier for the pattern
description = "UNIX Cluster - Linux Pacemaker Cluster" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single... |
Linux - Cloud | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Cloud. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Cloud"
id = "4660f86edb057200c12ef9361d96190c"
description = ""
step {
name = "Linux - AWS"
ref {refid = "5540b86edb057200c12ef9361d9619f6"}
}
step {
name = "Linux - Azure"
ref {refid = "3f7e3e18db5932003398f1351d9619e5"}
}
}
| library {
name = "Linux - Cloud"
id = "4660f86edb057200c12ef9361d96190c" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Linux - AWS"... |
Netscaler NS.conf information | I would like for you to help me build a Pattern that helps achieve Discovery of Netscaler NS.conf information. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Netscaler NS.conf information"
id = "2ac19077fb373200d4b7710a51af872d"
description = "null"
step {
name = "NS.CONF information "
comment = "Get the entire ns.conf file to have all the needed information"
runcmd_to_var {
cmd = "show ns.conf"
var_names = "nsconf"
parsing_strategy = de... | library {
name = "Netscaler NS.conf information"
id = "2ac19077fb373200d4b7710a51af872d" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
IBM Get Security Group | I would like for you to help me build a Pattern that helps achieve Discovery of IBM Get Security Group. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM Get Security Group"
id = "44d72fd7738323008c51d6dcb7f6a78c"
description = "null"
step {
name = "Get Security Group"
custom_operation {
attributes {
attribute {
name = "url"
value = "https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getSecurityGroups?objectMask=mask[rul... | library {
name = "IBM Get Security Group"
id = "44d72fd7738323008c51d6dcb7f6a78c" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = ... |
Google GCP - Get Network ACL and ACL Rules | I would like for you to help me build a Pattern that helps achieve Discovery of Google GCP - Get Network ACL and ACL Rules. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google GCP - Get Network ACL and ACL Rules"
id = "44c09a500b41330059ec0d2835673a9f"
description = "null"
step {
name = "Get firewall rules"
custom_operation {
attributes {
attribute {
name = "url"
value = concat {
"https://www.googleapis.com/compute/"
get_attr {"AP... | library {
name = "Google GCP - Get Network ACL and ACL Rules"
id = "44c09a500b41330059ec0d2835673a9f" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in t... |
MQ Enrich Attributes Library | I would like for you to help me build a Pattern that helps achieve Discovery of MQ Enrich Attributes Library. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "MQ Enrich Attributes Library"
id = "44ba8eeeb0a143b0b7375285682e7259"
description = ""
step {
name = "change user - non windows"
if {
condition = neq {
get_attr {"computer_system.osFamily"}
"WINDOWS"
}
on_true = change_user {credentials = credentials {ciTypeId = "cmdb_ci_appl_... | library {
name = "MQ Enrich Attributes Library"
id = "44ba8eeeb0a143b0b7375285682e7259" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name ... |
Windows Identity - Hardware Information | I would like for you to help me build a Pattern that helps achieve Discovery of Windows Identity - Hardware Information. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows Identity - Hardware Information"
id = "2ba886d6dbc12200c06776231f96194b"
description = "null"
step {
name = "Get MID property for bios or baseboard insertion"
set_attr {
"baseboardOrBiosSerial"
eval {"javascript: var test = Packages.com.service_now.mid.services.Config.get().getPr... | library {
name = "Windows Identity - Hardware Information"
id = "2ba886d6dbc12200c06776231f96194b" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the ... |
Azure Express Route Circuit Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Express Route Circuit Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Express Route Circuit Tags"
id = "440a77b01b4a34103c55eced7b4bcb6e"
description = "Azure Express Route Circuit Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Express Route Circuit Tags\");
var res... | library {
name = "Azure Express Route Circuit Tags"
id = "440a77b01b4a34103c55eced7b4bcb6e" // Unique identifier for the pattern
description = "Azure Express Route Circuit Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or s... |
Image License | I would like for you to help me build a Pattern that helps achieve Discovery of Image License. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Image License"
id = "43cbc0281b3a18d0cd14dce7cc4bcb2c"
description = "Image License"
step {
name = "Parse Executable Image License details"
parse_var_to_var {
from_var_name = "image_resp_executable"
to_var_names = table {
name = "license_details_executable"
col_names = "platform_... | library {
name = "Image License"
id = "43cbc0281b3a18d0cd14dce7cc4bcb2c" // Unique identifier for the pattern
description = "Image License" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = ... |
Windows - Hyper-V | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - Hyper-V. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - Hyper-V"
id = "4386161edbc12200c06776231f961939"
description = ""
step {
name = "Hyper-V - Virtual Machines"
ref {refid = "b74e4c759f6032001d753758442e70e6"}
}
step {
name = "Hyper-V - Virtual Networks"
ref {refid = "7a7e8c759f6032001d753758442e706b"}
}
step {
name = "Hyper... | library {
name = "Windows - Hyper-V"
id = "4386161edbc12200c06776231f961939" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Hyper-V ... |
Google Cloud Platform (GCP) - HTTP LB - Create Relations | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - HTTP LB - Create Relations. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - HTTP LB - Create Relations"
id = "43408ffef340330059ec423423612b91"
description = "null"
step {
name = "Create relation between cmdb_ci_cloud_load_balancer and cmdb_ci_lb_service"
if {
condition = is_not_empty {get_attr {"cmdb_ci_lb_service"}}
on_true = rela... | library {
name = "Google Cloud Platform (GCP) - HTTP LB - Create Relations"
id = "43408ffef340330059ec423423612b91" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set o... |
Solaris - Network ARP Tables | I would like for you to help me build a Pattern that helps achieve Discovery of Solaris - Network ARP Tables. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Solaris - Network ARP Tables"
id = "2c095bab9f2032001d753758442e70a1"
description = ""
step {
name = "Get ARP"
runcmd_to_var {
cmd = "arp -an"
var_names = table {
name = "ARP_table"
col_names = "ip","macFlag","makNone"
}
parsing_strategy = delimited_parsing {
exclude_li... | library {
name = "Solaris - Network ARP Tables"
id = "2c095bab9f2032001d753758442e70a1" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name ... |
Get SAP Patch Level | I would like for you to help me build a Pattern that helps achieve Discovery of Get SAP Patch Level. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get SAP Patch Level"
id = "431289a6db2f8010b02e309d7c96196b"
description = "null"
step {
name = "get permisison command"
set_attr {
"privilege_cmd"
eval {"return ${ctx}.getDiscoveryProvider(com.snc.sw.dto.ProviderType.SSH).getPrivilegedCommand()"}
}
}
step {
name = "get sap process... | library {
name = "Get SAP Patch Level"
id = "431289a6db2f8010b02e309d7c96196b" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "ge... |
OpenStack Nova KeyPairs | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack Nova KeyPairs. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack Nova KeyPairs"
id = "43121654db810010bf2fe0a1ca961995"
description = "null"
step {
name = "Get KeyPairs details"
if {
condition = is_not_empty {get_attr {"links_compute"}}
on_true = set_attr {
"tmp"
eval {"javascript: //Java class loading
var httpCall = Packages.com.snc... | library {
name = "OpenStack Nova KeyPairs"
id = "43121654db810010bf2fe0a1ca961995" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name =... |
OpenStack - Get Compute Resources Tags | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack - Get Compute Resources Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack - Get Compute Resources Tags"
id = "4264c34f1bb14010f3540f28cc4bcb20"
description = "OpenStack - Get Compute Resources Tags"
step {
name = "Parse the servers tags"
if {
condition = is_not_empty {get_attr {"servers"}}
on_true = set_attr {
"tmp"
eval {"javascript: var log... | library {
name = "OpenStack - Get Compute Resources Tags"
id = "4264c34f1bb14010f3540f28cc4bcb20" // Unique identifier for the pattern
description = "OpenStack - Get Compute Resources Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single... |
Linux - Azure | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Azure. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Azure"
id = "3f7e3e18db5932003398f1351d9619e5"
description = "null"
step {
name = "Create isAzure variable"
if {
condition = eq {
get_attr {"shouldDiscoverAzure"}
"true"
}
on_true = set_attr {
"isAzure"
"false"
}
on_false = nop {}
}
}
step {
name = ... | library {
name = "Linux - Azure"
id = "3f7e3e18db5932003398f1351d9619e5" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Create i... |
Unix-Linux Name Formatting | I would like for you to help me build a Pattern that helps achieve Discovery of Unix-Linux Name Formatting. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Unix-Linux Name Formatting"
id = "46d81a979f10320055063758442e707f"
description = "null"
step {
name = "Get system info"
runcmd_to_var {
cmd = "uname -a"
var_names = "uname"
parsing_strategy = delimited_parsing {
selected_positions = 1
}
if_not_found_do = nop {}
cache_fla... | library {
name = "Unix-Linux Name Formatting"
id = "46d81a979f10320055063758442e707f" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
Keep Pool Info relevant to EP port and FQDN | I would like for you to help me build a Pattern that helps achieve Discovery of Keep Pool Info relevant to EP port and FQDN. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Keep Pool Info relevant to EP port and FQDN"
id = "46e906ea1b20ad509649fc49cc4bcbb7"
description = "null"
step {
name = "parse fqdn prefix"
if {
condition = contains {
get_attr {"entry_point.host_name"}
"-"
}
on_true = parse_var_to_var {
from_var_name = "entry_point.host_n... | library {
name = "Keep Pool Info relevant to EP port and FQDN"
id = "46e906ea1b20ad509649fc49cc4bcbb7" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in ... |
IBM PowerHA Cluster (HACMP) Library | I would like for you to help me build a Pattern that helps achieve Discovery of IBM PowerHA Cluster (HACMP) Library. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM PowerHA Cluster (HACMP) Library"
id = "487f43fedb8c489035cb3a8f299619e9"
description = ""
step {
name = "Create isCluster variable"
set_attr {
"isCluster"
"false"
}
}
step {
name = "Check clstrmgrES process is running"
runcmd_to_var {
cmd = "lssrc -s clstrmgrES"
var_nam... | library {
name = "IBM PowerHA Cluster (HACMP) Library"
id = "487f43fedb8c489035cb3a8f299619e9" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Update Oracle RAC Single Node CI | I would like for you to help me build a Pattern that helps achieve Discovery of Update Oracle RAC Single Node CI. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Update Oracle RAC Single Node CI"
id = "5152778d1bb64110faae8485624bcb67"
description = "Update Oracle RAC Single Node CI"
step {
name = "Set Oracle Base"
parse_var_to_var {
from_var_name = "process.executablePath"
to_var_names = "oracle_base"
parsing_strategy = delimited_parsing {
... | library {
name = "Update Oracle RAC Single Node CI"
id = "5152778d1bb64110faae8485624bcb67" // Unique identifier for the pattern
description = "Update Oracle RAC Single Node CI" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or s... |
Solaris LDOM SN | I would like for you to help me build a Pattern that helps achieve Discovery of Solaris LDOM SN. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Solaris LDOM SN"
id = "50ef6cd51b75d01467a962007e4bcb82"
description = "Solaris LDOM SN"
step {
name = "Get the virtinfo response"
comment = "How do I build the SN from this for the contoller and the guest VMs? is it the name plus Chassis serial or what?"
runcmd_to_var {
cmd = "sudo /usr/... | library {
name = "Solaris LDOM SN"
id = "50ef6cd51b75d01467a962007e4bcb82" // Unique identifier for the pattern
description = "Solaris LDOM SN" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
Oracle OCI - Network Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Oracle OCI - Network Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Oracle OCI - Network Tags"
id = "50e0a0251bad20500735a9f36b4bcba5"
description = "Oracle OCI - Network Tags"
step {
name = "Parse Tags"
ref {refid = "0ad0a5751be960500735a9f36b4bcba6"}
}
step {
name = "Parse definedTags Tags"
ref {refid = "b5b342b11bdf345009b2ed34b24bcba5"}
}
step {
... | library {
name = "Oracle OCI - Network Tags"
id = "50e0a0251bad20500735a9f36b4bcba5" // Unique identifier for the pattern
description = "Oracle OCI - Network Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions ... |
AIX - Installed Software | I would like for you to help me build a Pattern that helps achieve Discovery of AIX - Installed Software. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "AIX - Installed Software"
id = "505325149ffc32001d753758442e7026"
description = ""
step {
name = "Get installed software"
if {
condition = eq {
get_attr {"shouldDiscoverSoftware"}
"true"
}
on_true = runcmd_to_var {
cmd = "lslpp -Lc"
var_names = table {
name = "Aix... | library {
name = "AIX - Installed Software"
id = "505325149ffc32001d753758442e7026" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "G... |
Google Cloud Platform (GCP) - Get HTTP LB Backend Service | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - Get HTTP LB Backend Service. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - Get HTTP LB Backend Service"
id = "5035a9b6f340330059ec423423612b45"
description = ""
step {
name = "Get GCP backendServices"
comment = "Rest call to get the backend services which will populate to the cmdb_ci_lb_service."
custom_operation {
attributes {
... | library {
name = "Google Cloud Platform (GCP) - Get HTTP LB Backend Service"
id = "5035a9b6f340330059ec423423612b45" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of a... |
Windows - Printers | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - Printers. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - Printers"
id = "4ff41edadbc12200c06776231f9619dd"
description = ""
step {
name = "Get printers data from Win32_Printer"
comment = "https://msdn.microsoft.com/en-us/library/aa394363(v=vs.85).aspxMerged with Win32_TCPIPPrinterPort for full printer\u2019s data"
run_wmi_query_to_var {
... | library {
name = "Windows - Printers"
id = "4ff41edadbc12200c06776231f9619dd" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get pri... |
populate process name | I would like for you to help me build a Pattern that helps achieve Discovery of populate process name. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "populate process name"
id = "4f9c010813637e00d4013192e144b05e"
description = "null"
step {
name = "populate process name from pid_info"
comment = "populate process name from pid_info."
set_attr {
"process_name"
get_attr {"pid_info[1].executable"}
}
}
step {
name = "populate proce... | library {
name = "populate process name"
id = "4f9c010813637e00d4013192e144b05e" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "... |
Windows - Identity | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - Identity. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - Identity"
id = "4e9dcc359f6032001d753758442e7027"
description = ""
step {
name = "Windows - Hardware Information"
ref {refid = "2ba886d6dbc12200c06776231f96194b"}
}
step {
name = "Windows - Network"
ref {refid = "7dc49adadbc12200c06776231f96197d"}
}
}
| library {
name = "Windows - Identity"
id = "4e9dcc359f6032001d753758442e7027" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Windows... |
F5 - SNMP Cluster | I would like for you to help me build a Pattern that helps achieve Discovery of F5 - SNMP Cluster. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "F5 - SNMP Cluster"
id = "4e8ade4353a01300355bf625a11c08cb"
description = "F5 - SNMP Cluster"
step {
name = "Gather Cluster Information"
ref {refid = "e7c75a18db945300fdaf5845dc961956"}
}
}
| library {
name = "F5 - SNMP Cluster"
id = "4e8ade4353a01300355bf625a11c08cb" // Unique identifier for the pattern
description = "F5 - SNMP Cluster" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Azure Private DNS Zone Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Private DNS Zone Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Private DNS Zone Tags"
id = "4dc3099f1bbdb0103c55eced7b4bcbc5"
description = "Azure Private DNS Zone Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Private DNS Zone Tags\");
var resource_table = n... | library {
name = "Azure Private DNS Zone Tags"
id = "4dc3099f1bbdb0103c55eced7b4bcbc5" // Unique identifier for the pattern
description = "Azure Private DNS Zone Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of acti... |
IBM Cloud Organizations | I would like for you to help me build a Pattern that helps achieve Discovery of IBM Cloud Organizations. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM Cloud Organizations"
id = "4bfabad8db772300fc825414dc961923"
description = "null"
step {
name = "Parse account region query"
custom_operation {
attributes {
attribute {
name = "url"
value = "https://accountmanagement.bluemix.net/coe/v2/accounts"
}
attribute {
... | library {
name = "IBM Cloud Organizations"
id = "4bfabad8db772300fc825414dc961923" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name =... |
AIX - Disk Space | I would like for you to help me build a Pattern that helps achieve Discovery of AIX - Disk Space. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "AIX - Disk Space"
id = "462b1059872d89102b2aea8d0ebb358d"
description = "null"
step {
name = "Get Disk Space"
runcmd_to_var {
cmd = "df -k"
execution_mode = "DEFAULT"
var_names = "output"
parsing_strategy = delimited_parsing {
exclude_lines_pattern = "Filesystem"
delimiters... | library {
name = "AIX - Disk Space"
id = "462b1059872d89102b2aea8d0ebb358d" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get D... |
Get DNS Names for IPs | I would like for you to help me build a Pattern that helps achieve Discovery of Get DNS Names for IPs. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get DNS Names for IPs"
id = "4bc39226db968010b0fa5635dc96190e"
description = "null"
step {
name = "Duplicate ip_address table"
union {
table1_name = "cmdb_ci_ip_address"
table2_name = "extra_dns"
result_table_name = "extra_dns"
}
}
step {
name = "Get DNS Names"
transform {
... | library {
name = "Get DNS Names for IPs"
id = "4bc39226db968010b0fa5635dc96190e" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "... |
OT Kubernetes Node | I would like for you to help me build a Pattern that helps achieve Discovery of OT Kubernetes Node. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OT Kubernetes Node"
id = "4a6a42031b55cd50d9a0db1de54bcb71"
description = "null"
step {
name = "get nodes"
comment = "getting nodes from kubernetes api server"
custom_operation {
attributes {attribute {
name = "resource"
value = "nodes"
}}
sys_id_op = "354649149f7303002ae... | library {
name = "OT Kubernetes Node"
id = "4a6a42031b55cd50d9a0db1de54bcb71" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "get... |
Istio Service Mesh | I would like for you to help me build a Pattern that helps achieve Discovery of Istio Service Mesh. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Istio Service Mesh"
id = "49a3ad09dba094107643dfea5e961971"
description = "Istio Service Mesh"
step {
name = "get PODs info"
custom_operation {
attributes {attribute {
name = "resource"
value = "pods"
}}
sys_id_op = "354649149f7303002ae692ec757fcfac"
to_var_names = "Syst... | library {
name = "Istio Service Mesh"
id = "49a3ad09dba094107643dfea5e961971" // Unique identifier for the pattern
description = "Istio Service Mesh" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern... |
Amazon AWS - Parse Virtual Server Compute Security Groups | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Parse Virtual Server Compute Security Groups. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Parse Virtual Server Compute Security Groups"
id = "4922ac86db2a5300d504788dbf961976"
description = "null"
step {
name = "Set filter initial value"
set_attr {
"filter"
""
}
}
step {
name = "Set variable for trigger of the API"
set_attr {
"trigger"
"yes"
}
}
... | library {
name = "Amazon AWS - Parse Virtual Server Compute Security Groups"
id = "4922ac86db2a5300d504788dbf961976" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set ... |
Categories (Tags) | I would like for you to help me build a Pattern that helps achieve Discovery of Categories (Tags). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Categories (Tags)"
id = "490a9569db5ef30097db90c7db9619b9"
description = "Categories (Tags)"
step {
name = "Untitled Step"
ref {refid = "dc242baadb8abb0097db90c7db96194d"}
}
}
| library {
name = "Categories (Tags)"
id = "490a9569db5ef30097db90c7db9619b9" // Unique identifier for the pattern
description = "Categories (Tags)" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Route Table Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Route Table Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Route Table Tags"
id = "41d94a8cdb0384109149f2131f961956"
description = "Route Table Tags"
step {
name = "Parse Route Table Tags"
parse_var_to_var {
from_var_name = "route_rest"
to_var_names = table {
name = "cmdb_key_value"
col_names = "object_id","key","value"
}
parsing_s... | library {
name = "Route Table Tags"
id = "41d94a8cdb0384109149f2131f961956" // Unique identifier for the pattern
description = "Route Table Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
n... |
Azure Local Network Gateway Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Local Network Gateway Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Local Network Gateway Tags"
id = "2cc3a6641b06b0103c55eced7b4bcbd0"
description = "Azure Local Network Gateway Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Local Network Gateway Tags\");
var res... | library {
name = "Azure Local Network Gateway Tags"
id = "2cc3a6641b06b0103c55eced7b4bcbd0" // Unique identifier for the pattern
description = "Azure Local Network Gateway Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or s... |
Azure Storage Account Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Storage Account Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Storage Account Tags"
id = "391371eddbd11010b2a1f96275961971"
description = "Azure Storage Account Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Storage Account Tags\");
var resource_table = new ... | library {
name = "Azure Storage Account Tags"
id = "391371eddbd11010b2a1f96275961971" // Unique identifier for the pattern
description = "Azure Storage Account Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of action... |
Solaris - Memory | I would like for you to help me build a Pattern that helps achieve Discovery of Solaris - Memory. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Solaris - Memory"
id = "3026d76b9f2032001d753758442e704f"
description = ""
step {
name = "Get memory data"
runcmd_to_var {
cmd = "prtconf | grep Memory"
var_names = "ram"
parsing_strategy = delimited_parsing {
include_lines_pattern = "Memory size"
delimiters = " ",":"
sele... | library {
name = "Solaris - Memory"
id = "3026d76b9f2032001d753758442e704f" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get memor... |
Get service name from etc_services file | I would like for you to help me build a Pattern that helps achieve Discovery of Get service name from etc_services file. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get service name from etc_services file"
id = "37baf792db1b3a006221b701ef9619cb"
description = "null"
step {
name = "set privilege command"
if {
condition = eq {
get_attr {"computer_system.osFamily"}
"UNIX"
}
on_true = set_attr {
"permissions_root"
eval {"return ${ctx}... | library {
name = "Get service name from etc_services file"
id = "37baf792db1b3a006221b701ef9619cb" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the ... |
Amazon AWS - Parse Virtual Servers Storage Mapping | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Parse Virtual Servers Storage Mapping. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Parse Virtual Servers Storage Mapping"
id = "377ed442db2a5300d504788dbf961991"
description = "null"
step {
name = "Parse Storage Mapping"
comment = "Parse the storage mapping attributes, while skipping the IPaddress as not every instance has it, so the IP will be parsed in separat... | library {
name = "Amazon AWS - Parse Virtual Servers Storage Mapping"
id = "377ed442db2a5300d504788dbf961991" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of acti... |
Linux - Storage | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Storage. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Storage"
id = "303407279f2032001d753758442e708c"
description = "null"
step {
name = "Run storage script file"
custom_operation {
attributes {attribute {
name = "fileName"
value = "storage.bash"
}}
sys_id_op = "68367a239fc13200e9123758442e7083"
to_var_names = "stO... | library {
name = "Linux - Storage"
id = "303407279f2032001d753758442e708c" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Run st... |
Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool Manually | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool Manually. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool Manually"
id = "305d5121736433008c51d6dcb7f6a78a"
description = ""
step {
name = "Filter out empty target pools"
comment = "The BackEnd Service Type of Load Balancers do not have target instances, so filtering them out."
filter {
src_... | library {
name = "Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool Manually"
id = "305d5121736433008c51d6dcb7f6a78a" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or se... |
SNMP - IP Device Handler | I would like for you to help me build a Pattern that helps achieve Discovery of SNMP - IP Device Handler. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SNMP - IP Device Handler"
id = "36580a7ddba92200868a7c841f961985"
description = "null"
step {
name = "Get entPhysicalTable"
comment = "mgmt.mib-2.entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable
http://oidref.com/1.3.6.1.2.1.47.1.1.1"
run_snmp_to_var {
snmp_object_ids = table {
... | library {
name = "SNMP - IP Device Handler"
id = "36580a7ddba92200868a7c841f961985" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name ... |
IBM Cloud Virtual Server Network | I would like for you to help me build a Pattern that helps achieve Discovery of IBM Cloud Virtual Server Network. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM Cloud Virtual Server Network"
id = "33eb7507db03230001bedf8b4b961982"
description = "null"
step {
name = "Reference to library \"IBM Cloud Virtual Server Network Interface\""
ref {refid = "7bf18ddf1b9b23007aeb11fc2d4bcb77"}
}
step {
name = "Reference to library \"IBM Cloud Virtual Serv... | library {
name = "IBM Cloud Virtual Server Network"
id = "33eb7507db03230001bedf8b4b961982" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern... |
Google Get Virtual Machines | I would like for you to help me build a Pattern that helps achieve Discovery of Google Get Virtual Machines. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Get Virtual Machines"
id = "33abf2c2db002300d504788dbf96193f"
description = "null"
step {
name = "Google get Virtual Machines data"
if {
condition = contains {
"1"
"2"
}
on_true = set_attr {
"vm_data"
eval {"javascript: var rtrn = \"\";
var zones = ${region_zone... | library {
name = "Google Get Virtual Machines"
id = "33abf2c2db002300d504788dbf96193f" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
na... |
Google Cloud Platform (GCP) - Get instanceGroups Intances | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - Get instanceGroups Intances. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - Get instanceGroups Intances"
id = "3120af851ba2f9106f80dc61ab4bcb66"
description = ""
step {
name = "Check if instanceGroups Instances should be pulled"
set_attr {
"discover_gcp_instanceGroups_instances"
eval {"javascript: var rtrn = \"false\"; //setting def... | library {
name = "Google Cloud Platform (GCP) - Get instanceGroups Intances"
id = "3120af851ba2f9106f80dc61ab4bcb66" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of a... |
log file monitor library | I would like for you to help me build a Pattern that helps achieve Discovery of log file monitor library. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "log file monitor library"
id = "33454a6f4e8b4b52906c1dcec295d3d0"
description = ""
step {
name = "match log file exists"
match {any {
is_not_empty {get_attr {"logFile"}}
is_not_empty {get_attr {"type"}}
}}
}
step {
name = "match pattern exists"
match {is_not_empty {get_attr {"... | library {
name = "log file monitor library"
id = "33454a6f4e8b4b52906c1dcec295d3d0" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "m... |
API Gateway Tags | I would like for you to help me build a Pattern that helps achieve Discovery of API Gateway Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "API Gateway Tags"
id = "332c6b47db813300b0f0f9c9bf96199e"
description = "API Gateway Tags"
step {
name = "Set resource type"
set_attr {
"resource_type"
"apigateway"
}
}
step {
name = "get API Gateway tags"
ref {refid = "91986c05db0d3300bbebf13bbf961949"}
}
step {
name = "Keep... | library {
name = "API Gateway Tags"
id = "332c6b47db813300b0f0f9c9bf96199e" // Unique identifier for the pattern
description = "API Gateway Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
n... |
Coldfusion relations | I would like for you to help me build a Pattern that helps achieve Discovery of Coldfusion relations. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Coldfusion relations"
id = "3322c8ae13011300dd3336328144b07b"
description = "null"
step {
name = "HD - Populate CF Application"
if {
condition = eq {
get_attr {"discovery_type"}
"horizontal"
}
on_true = transform {
src_table_name = "apps"
target_table_name = "cf_applic... | library {
name = "Coldfusion relations"
id = "3322c8ae13011300dd3336328144b07b" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "H... |
OpenStack Octavia Pool Members | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack Octavia Pool Members. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack Octavia Pool Members"
id = "32dfeb2ddb850010bf2fe0a1ca961996"
description = "null"
step {
name = "Parse Pool Members with pool_id"
if {
condition = is_not_empty {get_attr {"pools"}}
on_true = parse_var_to_var {
from_var_name = "pools_details_response"
to_var_names = tab... | library {
name = "OpenStack Octavia Pool Members"
id = "32dfeb2ddb850010bf2fe0a1ca961996" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Windows - AWS | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - AWS. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - AWS"
id = "48ea6f8edb093200c12ef9361d9619aa"
description = "null"
step {
name = "Get EC2 server details"
if {
condition = eq {
get_attr {"shouldDiscoverAmazon"}
"true"
}
on_true = runcmd_to_var {
cmd = "powershell -command \"& { Try { (Invoke-WebRequest -Uri 'htt... | library {
name = "Windows - AWS"
id = "48ea6f8edb093200c12ef9361d9619aa" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get EC2 ... |
HP-UX - CPU Speed | I would like for you to help me build a Pattern that helps achieve Discovery of HP-UX - CPU Speed. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "HP-UX - CPU Speed"
id = "313334779fa032001d753758442e705d"
description = "null"
step {
name = "Get machine hardware info"
runcmd_to_var {
cmd = "/usr/contrib/bin/machinfo"
var_names = "machine_data"
parsing_strategy = delimited_parsing {
selected_positions = 1
}
if_not_found... | library {
name = "HP-UX - CPU Speed"
id = "313334779fa032001d753758442e705d" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get ... |
Juniper Firewall Discovery | I would like for you to help me build a Pattern that helps achieve Discovery of Juniper Firewall Discovery. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Juniper Firewall Discovery"
id = "31fd50a3db67c4147faf89584b961963"
description = "null"
step {
name = "Get Model Description"
run_snmp_to_var {
snmp_object_ids = "1.3.6.1.4.1.2636.3.1.2"
var_names = "jnxBoxDescr"
if_not_found_do = nop {}
cache_flag = 0
}
}
step {
name = "Par... | library {
name = "Juniper Firewall Discovery"
id = "31fd50a3db67c4147faf89584b961963" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
UNIX Cluster - Linux Red Hat Cluster | I would like for you to help me build a Pattern that helps achieve Discovery of UNIX Cluster - Linux Red Hat Cluster. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "UNIX Cluster - Linux Red Hat Cluster"
id = "3a088d0af3b0130005d9423423612b15"
description = "UNIX Cluster - Linux Red Hat Cluster"
step {
name = "UNIX Cluster - Linux Red Hat Cluster"
ref {refid = "c4eabd514fe3c3c0a9f9011f0310c730"}
}
}
| library {
name = "UNIX Cluster - Linux Red Hat Cluster"
id = "3a088d0af3b0130005d9423423612b15" // Unique identifier for the pattern
description = "UNIX Cluster - Linux Red Hat Cluster" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single act... |
IBM Cloud Virtual Server Security Groups | I would like for you to help me build a Pattern that helps achieve Discovery of IBM Cloud Virtual Server Security Groups. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM Cloud Virtual Server Security Groups"
id = "2fe601d6db572300d3e15414dc96199c"
description = "null"
step {
name = "Get Security Groups response"
if {
condition = is_not_empty {get_attr {"cmdb_ci_vm_instance[1].object_id"}}
on_true = custom_operation {
attributes {
attribute {... | library {
name = "IBM Cloud Virtual Server Security Groups"
id = "2fe601d6db572300d3e15414dc96199c" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the... |
Azure Security Group Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Security Group Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Security Group Tags"
id = "3ab39a6ddb951010b2a1f962759619f9"
description = "Azure Security Group Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Security Group Tags\");
var resource_table = new Pac... | library {
name = "Azure Security Group Tags"
id = "3ab39a6ddb951010b2a1f962759619f9" // Unique identifier for the pattern
description = "Azure Security Group Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions ... |
Network Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Network Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Network Tags"
id = "4176465073d733008c51d6dcb7f6a703"
description = "Network Tags"
step {
name = "Parse Network Tags"
parse_var_to_var {
from_var_name = "vpc_rest"
to_var_names = table {
name = "cmdb_key_value"
col_names = "object_id","key","value"
}
parsing_strategy = xml_... | library {
name = "Network Tags"
id = "4176465073d733008c51d6dcb7f6a703" // Unique identifier for the pattern
description = "Network Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "P... |
Bosh Deployed Products | I would like for you to help me build a Pattern that helps achieve Discovery of Bosh Deployed Products. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Bosh Deployed Products"
id = "2cf5727a1bbad910e00999ffbd4bcb00"
description = "PCF Bosh"
step {
name = "Verify the Opsman Authentication URL"
match {
all {
is_not_empty {get_attr {"URL_OPSMAN_AUTH"}}
contains {
get_attr {"URL_OPSMAN_AUTH"}
"/oauth/token"
}
}
term... | library {
name = "Bosh Deployed Products"
id = "2cf5727a1bbad910e00999ffbd4bcb00" // Unique identifier for the pattern
description = "PCF Bosh" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
Linux - Memory | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Memory. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Memory"
id = "4103cbe39f2032001d753758442e709a"
description = ""
step {
name = "Get memory"
runcmd_to_var {
cmd = "grep MemTotal /proc/meminfo"
var_names = "Ram"
parsing_strategy = delimited_parsing {
include_lines_pattern = "MemTotal"
delimiters = " "
selected_pos... | library {
name = "Linux - Memory"
id = "4103cbe39f2032001d753758442e709a" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get memory"... |
Amazon AWS - Get Subnet (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Subnet (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Subnet (LP)"
id = "40712a5944a34a8db04e7870be241537"
description = "null"
step {
name = "Describe Subnets rest call"
comment = "AWS rest call for obtaining data for the subnet table. Assigning the variable 'subnet_rest' in order to collect the needed information."
custom_ope... | library {
name = "Amazon AWS - Get Subnet (LP)"
id = "40712a5944a34a8db04e7870be241537" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
n... |
OpenStack - Get Load Balancer Resources Tags | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack - Get Load Balancer Resources Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack - Get Load Balancer Resources Tags"
id = "405d4c971b710010f3540f28cc4bcb7c"
description = "OpenStack - Get Load Balancer Resources Tags"
step {
name = "Parse the Load Balancers tags"
if {
condition = is_not_empty {get_attr {"load_balancers"}}
on_true = set_attr {
"tmp"
... | library {
name = "OpenStack - Get Load Balancer Resources Tags"
id = "405d4c971b710010f3540f28cc4bcb7c" // Unique identifier for the pattern
description = "OpenStack - Get Load Balancer Resources Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represe... |
Solaris - Installed Software | I would like for you to help me build a Pattern that helps achieve Discovery of Solaris - Installed Software. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Solaris - Installed Software"
id = "2d2a13eb9f2032001d753758442e7010"
description = ""
step {
name = "Get software data"
if {
condition = eq {
get_attr {"shouldDiscoverSoftware"}
"true"
}
on_true = runcmd_to_var {
cmd = "pkginfo -l | egrep 'PKGINST|NAME|CATEGORY|VERSION|V... | library {
name = "Solaris - Installed Software"
id = "2d2a13eb9f2032001d753758442e7010" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name ... |
Azure Route Table Tag | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Route Table Tag. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Route Table Tag"
id = "3fcceaa9db991010b2a1f96275961914"
description = "Azure Route Table Tag"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Route Table Tags\");
var resource_table = new Packages.java.... | library {
name = "Azure Route Table Tag"
id = "3fcceaa9db991010b2a1f96275961914" // Unique identifier for the pattern
description = "Azure Route Table Tag" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the p... |
AIX - Network | I would like for you to help me build a Pattern that helps achieve Discovery of AIX - Network. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "AIX - Network"
id = "2e7f55509ffc32001d753758442e708c"
description = "null"
step {
name = "Get IP addresses"
runcmd_to_var {
cmd = "/etc/ifconfig -au | grep inet"
var_names = table {
name = "IpAddress"
col_names = "Version","Ipaddres","netMask"
}
parsing_strategy = delimite... | library {
name = "AIX - Network"
id = "2e7f55509ffc32001d753758442e708c" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get IP a... |
Coldfusion HD handle relations | I would like for you to help me build a Pattern that helps achieve Discovery of Coldfusion HD handle relations. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Coldfusion HD handle relations"
id = "3fb1c86e13011300dd3336328144b02f"
description = ""
step {
name = "Match Process"
match {
contains {
get_attr {"process.commandLine"}
"coldfusion"
}
}
}
step {
name = "HD - Populate CF Application"
transform {
src_table_name = "app... | library {
name = "Coldfusion HD handle relations"
id = "3fb1c86e13011300dd3336328144b02f" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
path separator | I would like for you to help me build a Pattern that helps achieve Discovery of path separator. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "path separator"
id = "2f34065ae0854f67a25dc12b691e31c6"
description = ""
step {
name = "slash"
set_attr {
"ps"
"/"
}
}
step {
name = "backslash"
if {
condition = eq {
get_attr {"computer_system.osFamily"}
"WINDOWS"
}
on_true = set_attr {
"ps"
"\\"
}
... | library {
name = "path separator"
id = "2f34065ae0854f67a25dc12b691e31c6" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "slash"
se... |
Collect SAP Hana DB Catalog | I would like for you to help me build a Pattern that helps achieve Discovery of Collect SAP Hana DB Catalog. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Collect SAP Hana DB Catalog"
id = "2fdb0bf147bd25d05abe7db5536d4311"
description = "Collect SAP Hana DB Catalog"
step {
name = "Graceful termination if not running on Unix OS family"
match {
eq {
get_attr {"computer_system.osFamily"}
"UNIX"
}
terminate_op = graceful
termina... | library {
name = "Collect SAP Hana DB Catalog"
id = "2fdb0bf147bd25d05abe7db5536d4311" // Unique identifier for the pattern
description = "Collect SAP Hana DB Catalog" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of acti... |
Azure - Databases instances to Database | I would like for you to help me build a Pattern that helps achieve Discovery of Azure - Databases instances to Database. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure - Databases instances to Database"
id = "3d7b1f21674c03008ec4a4db2685ef54"
description = ""
step {
name = "Filter to match only MS SQL"
filter {
src_table_name = "cmdb_ci_cloud_database"
target_table_name = "databases_per_database_instances"
condition = contains {
get_attr {... | library {
name = "Azure - Databases instances to Database"
id = "3d7b1f21674c03008ec4a4db2685ef54" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patt... |
get service name for Linux server | I would like for you to help me build a Pattern that helps achieve Discovery of get service name for Linux server. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "get service name for Linux server"
id = "3ceb033c13e23200d4013192e144b0f9"
description = "null"
step {
name = "get list of services - Ubuntu - Linux"
comment = "Run command to get all the list of the active services.
We are parsing the output to have only the service name."
if {
conditio... | library {
name = "get service name for Linux server"
id = "3ceb033c13e23200d4013192e144b0f9" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patter... |
Stacked Switches | I would like for you to help me build a Pattern that helps achieve Discovery of Stacked Switches. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Stacked Switches"
id = "3cc3da63db71d3406ec43220ad96197a"
description = ""
step {
name = "Get entPhysicalTable1"
comment = "mgmt.mib-2.entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable
http://oidref.com/1.3.6.1.2.1.47.1.1.1"
if {
condition = eq {
get_attr {"isSwitch"}
"tr... | library {
name = "Stacked Switches"
id = "3cc3da63db71d3406ec43220ad96197a" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get entPh... |
HMC - Get and Set RAM for HMC Server | I would like for you to help me build a Pattern that helps achieve Discovery of HMC - Get and Set RAM for HMC Server. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "HMC - Get and Set RAM for HMC Server"
id = "3cbdbde3db723700777cb8ff299619e0"
description = "null"
step {
name = "Get memory"
runcmd_to_var {
cmd = "grep MemTotal /proc/meminfo"
var_names = "Ram"
parsing_strategy = delimited_parsing {
include_lines_pattern = "MemTotal"
delimit... | library {
name = "HMC - Get and Set RAM for HMC Server"
id = "3cbdbde3db723700777cb8ff299619e0" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pat... |
SNMP - Next Hops | I would like for you to help me build a Pattern that helps achieve Discovery of SNMP - Next Hops. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SNMP - Next Hops"
id = "3c8a80749f47030055063758442e7007"
description = "null"
step {
name = "Get routing table from ipCidrRouteTable"
comment = "mgmt.mib-2.ip.ipForward.ipCidrRouteTable
Holds routing table.ipCidrRouteTable if not empty, ipRouteTable otherwise"
if {
condition = is_empty {... | library {
name = "SNMP - Next Hops"
id = "3c8a80749f47030055063758442e7007" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get r... |
Get SAP modules info | I would like for you to help me build a Pattern that helps achieve Discovery of Get SAP modules info. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get SAP modules info"
id = "3ade35bc76e8499a86d8a71a63dcf992"
description = "null"
step {
name = "set soap command to get modules version"
if {
condition = is_not_empty {get_attr {"entry_point.url"}}
on_true = set_attr {
"soap_cmd"
"<soapenv:Envelope xmlns:soapenv=\"http://schema... | library {
name = "Get SAP modules info"
id = "3ade35bc76e8499a86d8a71a63dcf992" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "s... |
UNIX Cluster - VERITAS Cluster Library | I would like for you to help me build a Pattern that helps achieve Discovery of UNIX Cluster - VERITAS Cluster Library. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "UNIX Cluster - VERITAS Cluster Library"
id = "31e32fbddb539b0083cf7f698c96196e"
description = "null"
step {
name = "Determine sudo"
comment = "Run script to find the privileged command to use."
set_attr {
"sudo"
eval {"return ${ctx}.getDiscoveryProvider(com.snc.sw.dto.ProviderType.SSH)... | library {
name = "UNIX Cluster - VERITAS Cluster Library"
id = "31e32fbddb539b0083cf7f698c96196e" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the p... |
OpenStack Cinder | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack Cinder. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack Cinder"
id = "64884df5dbb00010bf2fe0a1ca961958"
description = "null"
step {
name = "Filter the Service publik links"
comment = "Cinder Storage services require endpoints for each service entity, but the list storages works only for the URL without the v1/v2/v3 entity, so getting only... | library {
name = "OpenStack Cinder"
id = "64884df5dbb00010bf2fe0a1ca961958" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Filte... |
Google Cloud Platform (GCP) - Get HTTP LB Pools (instance groups) | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - Get HTTP LB Pools (instance groups). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - Get HTTP LB Pools (instance groups)"
id = "6aea11edf360330059ec423423612b6f"
description = ""
step {
name = "Get Instance group data (Pools)"
comment = "Rest call to collect the instance group which are the pools of the LB.
Instance groups are Regional resources. ... | library {
name = "Google Cloud Platform (GCP) - Get HTTP LB Pools (instance groups)"
id = "6aea11edf360330059ec423423612b6f" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or ... |
SNMP - Subnets | I would like for you to help me build a Pattern that helps achieve Discovery of SNMP - Subnets. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SNMP - Subnets"
id = "6af20f639f9e830055063758442e708f"
description = "null"
step {
name = "Get routing table from ipCidrRouteTable"
comment = "mgmt.mib-2.ip.ipForward.ipCidrRouteTable
Holds routing table.ipCidrRouteTable if not empty, ipRouteTable otherwise"
if {
condition = is_empty {ge... | library {
name = "SNMP - Subnets"
id = "6af20f639f9e830055063758442e708f" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get rou... |
NVME Storage Devices | I would like for you to help me build a Pattern that helps achieve Discovery of NVME Storage Devices. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "NVME Storage Devices"
id = "6b7251e21b44ecd01672da09dc4bcb04"
description = "null"
step {
name = "Get nvme disk table"
runcmd_to_var {
cmd = "ls -l /dev/nvme*"
var_names = table {
name = "nvme_disk_table"
col_names = "key"
}
parsing_strategy = regex_parsing {regex = ".*\\/d... | library {
name = "NVME Storage Devices"
id = "6b7251e21b44ecd01672da09dc4bcb04" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "G... |
Get and Set information for Load Balancer Services - A10 - SSH Commands | I would like for you to help me build a Pattern that helps achieve Discovery of Get and Set information for Load Balancer Services - A10 - SSH Commands. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get and Set information for Load Balancer Services - A10 - SSH Commands"
id = "6b75c0faf3a003004149423423612bf1"
description = "null"
step {
name = "Get SLB Virtual Servers"
runcmd_to_var {
cmd = "show slb virtual-server bind"
var_names = table {
name = "slb_virtual_servers_table"
... | library {
name = "Get and Set information for Load Balancer Services - A10 - SSH Commands"
id = "6b75c0faf3a003004149423423612bf1" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single ... |
Azure Network Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Network Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Network Tags"
id = "6bc60ef9dbd11010b2a1f96275961917"
description = "Azure Network Tags"
step {
name = "Parse the Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Network Tags\");
var resource_table = new Packages.java.util.A... | library {
name = "Azure Network Tags"
id = "6bc60ef9dbd11010b2a1f96275961917" // Unique identifier for the pattern
description = "Azure Network Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern... |
Solaris - Storage | I would like for you to help me build a Pattern that helps achieve Discovery of Solaris - Storage. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Solaris - Storage"
id = "6c0a5fab9f2032001d753758442e7079"
description = "null"
step {
name = "Get disks"
runcmd_to_var {
cmd = "iostat -Enr | tr ',' '\\n' | sed 's/^[cnsv][a-zA-Z0-9_]*/DiskSection: Name: &/g'; echo ''"
var_names = "disks"
parsing_strategy = vertical_parsing {
se... | library {
name = "Solaris - Storage"
id = "6c0a5fab9f2032001d753758442e7079" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get ... |
SAP App Connection library | I would like for you to help me build a Pattern that helps achieve Discovery of SAP App Connection library. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SAP App Connection library"
id = "6c2ccb5e64754a93a2b81cfdff756a79"
description = "null"
step {
name = "remove \" from profile"
parse_var_to_var {
from_var_name = "config_directory"
to_var_names = "config_directory"
parsing_strategy = regex_parsing {regex = "([^\"].*)"}
if_not_foun... | library {
name = "SAP App Connection library"
id = "6c2ccb5e64754a93a2b81cfdff756a79" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
Azure Private Gateway Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Private Gateway Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Private Gateway Tags"
id = "6ce26ea1db591010b2a1f962759619de"
description = "Azure Private Gateway Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Private Gateway Tags\");
var resource_table = new ... | library {
name = "Azure Private Gateway Tags"
id = "6ce26ea1db591010b2a1f962759619de" // Unique identifier for the pattern
description = "Azure Private Gateway Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of action... |
Collect information from netsh to set service name - Windows | I would like for you to help me build a Pattern that helps achieve Discovery of Collect information from netsh to set service name - Windows. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Collect information from netsh to set service name - Windows"
id = "6d7bc4b713d7fa00d4013192e144b01b"
description = "null"
step {
name = "get netsh command info"
comment = "Run command: netsh http show servicestate
Find best URL group with best match URL"
if {
condition = eq {
get_att... | library {
name = "Collect information from netsh to set service name - Windows"
id = "6d7bc4b713d7fa00d4013192e144b01b" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or s... |
Solaris - Identity | I would like for you to help me build a Pattern that helps achieve Discovery of Solaris - Identity. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Solaris - Identity"
id = "6ab5d76b9f2032001d753758442e7042"
description = ""
step {
name = "Solaris - Serial Number"
ref {refid = "fd65536b9f2032001d753758442e70df"}
}
step {
name = "Solaris - Network"
ref {refid = "a995d76b9f2032001d753758442e70f9"}
}
}
| library {
name = "Solaris - Identity"
id = "6ab5d76b9f2032001d753758442e7042" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Solaris... |
Oracle OCI - Autonomous DB Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Oracle OCI - Autonomous DB Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Oracle OCI - Autonomous DB Tags"
id = "6963c221dba1a050d258623b4b96190f"
description = "Oracle OCI - Autonomous DB Tags"
step {
name = "Oracle OCI - parse Tags"
ref {refid = "0ad0a5751be960500735a9f36b4bcba6"}
}
step {
name = "Parse definedTags Tags"
ref {refid = "b5b342b11bdf345009b2ed3... | library {
name = "Oracle OCI - Autonomous DB Tags"
id = "6963c221dba1a050d258623b4b96190f" // Unique identifier for the pattern
description = "Oracle OCI - Autonomous DB Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set... |
Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool"
id = "654d99ed732433008c51d6dcb7f6a729"
description = ""
step {
name = "Get Instance group data"
comment = "The step is collecting the instance group id."
custom_operation {
attributes {
attribute {
name = "url"
value =... | library {
name = "Google Cloud Platform (GCP) - Get TCP - UDP Cloud Pool"
id = "654d99ed732433008c51d6dcb7f6a729" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of acti... |
Amazon Executable Images | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon Executable Images. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon Executable Images"
id = "655b75c483813190789e4cf16daad377"
description = ""
step {
name = "Extract AWS Host"
set_attr {
"awsHost"
eval {"javascript: rtrn = \"\";
var host = '';
var region = ${cmdb_ci_aws_datacenter[1].name};
var dc_url = ${service_account[1].datacenter_url};
try ... | library {
name = "Amazon Executable Images"
id = "655b75c483813190789e4cf16daad377" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "E... |
Linux - Installed Software | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Installed Software. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Installed Software"
id = "656487279f2032001d753758442e705c"
description = ""
step {
name = "Run LinuxPKG script file"
if {
condition = eq {
get_attr {"shouldDiscoverSoftware"}
"true"
}
on_true = custom_operation {
attributes {attribute {
name = "fileName"
... | library {
name = "Linux - Installed Software"
id = "656487279f2032001d753758442e705c" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.