From a17cbce4e12ce5bde306a6d1a3ce05a31cef1a50 Mon Sep 17 00:00:00 2001 From: Moritz Kiemer Date: Sun, 6 Oct 2024 00:23:32 +0200 Subject: [PATCH] legacy checks: 'maincheckify' the check names Add the 'maincheckified' names to the check definitions. That way we can soon remove 'maincheckify'. Change-Id: Iadabc9d77413132dd0be2321387db342aeb2f7e3 --- cmk/base/config.py | 4 +++- cmk/base/legacy_checks/3ware_disks.py | 1 + cmk/base/legacy_checks/3ware_info.py | 1 + cmk/base/legacy_checks/3ware_units.py | 1 + cmk/base/legacy_checks/acme_certificates.py | 1 + cmk/base/legacy_checks/acme_fan.py | 1 + cmk/base/legacy_checks/acme_powersupply.py | 1 + cmk/base/legacy_checks/acme_sbc_snmp.py | 1 + cmk/base/legacy_checks/acme_temp.py | 1 + cmk/base/legacy_checks/acme_voltage.py | 1 + cmk/base/legacy_checks/ad_replication.py | 1 + cmk/base/legacy_checks/adva_fsp_temp.py | 1 + cmk/base/legacy_checks/aironet_errors.py | 1 + cmk/base/legacy_checks/aix_hacmp_resources.py | 1 + cmk/base/legacy_checks/aix_paging.py | 1 + cmk/base/legacy_checks/akcp_daisy_temp.py | 1 + cmk/base/legacy_checks/alcatel_temp.py | 1 + cmk/base/legacy_checks/alcatel_temp_aos7.py | 1 + cmk/base/legacy_checks/alcatel_timetra_cpu.py | 1 + cmk/base/legacy_checks/allnet_ip_sensoric.py | 4 ++++ cmk/base/legacy_checks/apc_ats_output.py | 1 + cmk/base/legacy_checks/apc_ats_status.py | 1 + cmk/base/legacy_checks/apc_humidity.py | 1 + cmk/base/legacy_checks/apc_inrow_airflow.py | 1 + cmk/base/legacy_checks/apc_inrow_temp.py | 1 + cmk/base/legacy_checks/apc_rackpdu_power.py | 1 + cmk/base/legacy_checks/apc_sts_inputs.py | 1 + cmk/base/legacy_checks/apc_symmetra.py | 3 +++ cmk/base/legacy_checks/apc_symmetra_ext_temp.py | 1 + cmk/base/legacy_checks/apc_symmetra_input.py | 1 + cmk/base/legacy_checks/apc_symmetra_output.py | 1 + cmk/base/legacy_checks/apc_symmetra_test.py | 1 + cmk/base/legacy_checks/appdynamics_memory.py | 1 + cmk/base/legacy_checks/appdynamics_sessions.py | 1 + .../legacy_checks/appdynamics_web_container.py | 1 + cmk/base/legacy_checks/arris_cmts_cpu.py | 1 + cmk/base/legacy_checks/arris_cmts_mem.py | 1 + cmk/base/legacy_checks/arris_cmts_temp.py | 1 + cmk/base/legacy_checks/artec_temp.py | 1 + cmk/base/legacy_checks/aruba_cpu_util.py | 1 + cmk/base/legacy_checks/atto_fibrebridge_chassis.py | 2 ++ cmk/base/legacy_checks/atto_fibrebridge_fcport.py | 1 + cmk/base/legacy_checks/avaya_45xx_cpu.py | 1 + cmk/base/legacy_checks/avaya_45xx_temp.py | 1 + cmk/base/legacy_checks/avaya_88xx.py | 2 ++ cmk/base/legacy_checks/avaya_88xx_cpu.py | 1 + cmk/base/legacy_checks/avaya_chassis_temp.py | 1 + .../legacy_checks/aws_cloudwatch_alarms_limits.py | 1 + cmk/base/legacy_checks/aws_costs_and_usage.py | 2 ++ cmk/base/legacy_checks/aws_dynamodb_limits.py | 1 + cmk/base/legacy_checks/aws_dynamodb_summary.py | 1 + cmk/base/legacy_checks/aws_dynamodb_table.py | 4 ++++ cmk/base/legacy_checks/aws_ebs_summary.py | 2 ++ cmk/base/legacy_checks/aws_ec2_limits.py | 1 + cmk/base/legacy_checks/aws_ec2_security_groups.py | 1 + cmk/base/legacy_checks/aws_elb.py | 6 ++++++ cmk/base/legacy_checks/aws_elb_health.py | 1 + cmk/base/legacy_checks/aws_elb_limits.py | 1 + cmk/base/legacy_checks/aws_elb_summary.py | 1 + cmk/base/legacy_checks/aws_elbv2_application.py | 5 +++++ .../aws_elbv2_application_target_groups_http.py | 1 + .../aws_elbv2_application_target_groups_lambda.py | 1 + cmk/base/legacy_checks/aws_elbv2_limits.py | 1 + cmk/base/legacy_checks/aws_elbv2_network.py | 5 +++++ cmk/base/legacy_checks/aws_elbv2_summary.py | 2 ++ cmk/base/legacy_checks/aws_elbv2_target_groups.py | 2 ++ cmk/base/legacy_checks/aws_glacier.py | 2 ++ cmk/base/legacy_checks/aws_glacier_limits.py | 1 + cmk/base/legacy_checks/aws_rds_limits.py | 1 + cmk/base/legacy_checks/aws_rds_summary.py | 2 ++ cmk/base/legacy_checks/aws_s3.py | 2 ++ cmk/base/legacy_checks/aws_s3_limits.py | 1 + cmk/base/legacy_checks/aws_s3_requests.py | 5 +++++ cmk/base/legacy_checks/aws_wafv2_limits.py | 1 + cmk/base/legacy_checks/aws_wafv2_summary.py | 1 + cmk/base/legacy_checks/aws_wafv2_web_acl.py | 1 + cmk/base/legacy_checks/azure_ad.py | 2 ++ cmk/base/legacy_checks/azure_agent_info.py | 1 + cmk/base/legacy_checks/azure_databases.py | 6 ++++++ cmk/base/legacy_checks/azure_sites.py | 1 + cmk/base/legacy_checks/azure_storageaccounts.py | 3 +++ cmk/base/legacy_checks/azure_usagedetails.py | 1 + cmk/base/legacy_checks/barracuda_mail_latency.py | 1 + cmk/base/legacy_checks/barracuda_mailqueues.py | 1 + .../legacy_checks/barracuda_system_cpu_util.py | 1 + cmk/base/legacy_checks/bintec_cpu.py | 1 + cmk/base/legacy_checks/bintec_sensors.py | 4 ++++ cmk/base/legacy_checks/blade_bays.py | 1 + cmk/base/legacy_checks/blade_bx_powerfan.py | 1 + cmk/base/legacy_checks/blade_bx_temp.py | 1 + cmk/base/legacy_checks/bluecat_command_server.py | 1 + cmk/base/legacy_checks/bluecat_ha.py | 1 + cmk/base/legacy_checks/bluecat_ntp.py | 1 + cmk/base/legacy_checks/bluecat_threads.py | 1 + cmk/base/legacy_checks/bluenet_meter.py | 1 + cmk/base/legacy_checks/bluenet_sensor.py | 2 ++ cmk/base/legacy_checks/brocade.py | 4 ++++ cmk/base/legacy_checks/brocade_mlx.py | 4 ++++ cmk/base/legacy_checks/brocade_mlx_temp.py | 1 + cmk/base/legacy_checks/brocade_sys.py | 2 ++ cmk/base/legacy_checks/brocade_tm.py | 1 + cmk/base/legacy_checks/bvip_fans.py | 1 + cmk/base/legacy_checks/bvip_link.py | 1 + cmk/base/legacy_checks/bvip_poe.py | 1 + cmk/base/legacy_checks/bvip_temp.py | 1 + cmk/base/legacy_checks/bvip_util.py | 1 + cmk/base/legacy_checks/cadvisor_cpu.py | 1 + cmk/base/legacy_checks/cadvisor_df.py | 1 + cmk/base/legacy_checks/cadvisor_memory.py | 1 + cmk/base/legacy_checks/carel_sensors.py | 1 + cmk/base/legacy_checks/casa_cpu_mem.py | 1 + cmk/base/legacy_checks/casa_cpu_temp.py | 1 + cmk/base/legacy_checks/casa_cpu_util.py | 1 + cmk/base/legacy_checks/checkpoint_fan.py | 1 + cmk/base/legacy_checks/checkpoint_memory.py | 1 + cmk/base/legacy_checks/checkpoint_packets.py | 1 + cmk/base/legacy_checks/checkpoint_temp.py | 1 + cmk/base/legacy_checks/checkpoint_tunnels.py | 1 + cmk/base/legacy_checks/checkpoint_voltage.py | 1 + cmk/base/legacy_checks/checkpoint_vsx.py | 5 +++++ cmk/base/legacy_checks/cisco_asa_connections.py | 1 + cmk/base/legacy_checks/cisco_cpu.py | 1 + cmk/base/legacy_checks/cisco_fru_powerusage.py | 1 + cmk/base/legacy_checks/cisco_ip_sla.py | 1 + cmk/base/legacy_checks/cisco_nexus_cpu.py | 1 + cmk/base/legacy_checks/cisco_oldcpu.py | 1 + .../cisco_prime_wifi_access_points.py | 1 + .../legacy_checks/cisco_prime_wifi_connections.py | 1 + cmk/base/legacy_checks/cisco_srst_state.py | 1 + cmk/base/legacy_checks/cisco_sys_mem.py | 1 + cmk/base/legacy_checks/cisco_ucs_cpu.py | 1 + cmk/base/legacy_checks/cisco_ucs_hdd.py | 1 + cmk/base/legacy_checks/cisco_ucs_lun.py | 1 + cmk/base/legacy_checks/cisco_ucs_mem_total.py | 1 + cmk/base/legacy_checks/cisco_ucs_psu.py | 1 + cmk/base/legacy_checks/cisco_ucs_raid.py | 1 + cmk/base/legacy_checks/cisco_ucs_system.py | 1 + cmk/base/legacy_checks/cisco_ucs_temp_env.py | 1 + cmk/base/legacy_checks/cisco_ucs_temp_mem.py | 1 + cmk/base/legacy_checks/cisco_vpn_sessions.py | 1 + cmk/base/legacy_checks/citrix_licenses.py | 1 + cmk/base/legacy_checks/citrix_serverload.py | 1 + cmk/base/legacy_checks/citrix_sessions.py | 1 + cmk/base/legacy_checks/climaveneta_fan.py | 1 + cmk/base/legacy_checks/climaveneta_temp.py | 1 + cmk/base/legacy_checks/cmc_temp.py | 1 + cmk/base/legacy_checks/cmciii_lcp_water.py | 1 + cmk/base/legacy_checks/cmctc.py | 1 + cmk/base/legacy_checks/couchbase_buckets_cache.py | 1 + .../couchbase_buckets_fragmentation.py | 1 + cmk/base/legacy_checks/couchbase_buckets_items.py | 1 + cmk/base/legacy_checks/couchbase_buckets_mem.py | 1 + .../legacy_checks/couchbase_buckets_operations.py | 2 ++ .../legacy_checks/couchbase_buckets_vbuckets.py | 2 ++ cmk/base/legacy_checks/couchbase_nodes_cache.py | 1 + cmk/base/legacy_checks/couchbase_nodes_info.py | 1 + cmk/base/legacy_checks/couchbase_nodes_items.py | 1 + .../legacy_checks/couchbase_nodes_operations.py | 2 ++ cmk/base/legacy_checks/couchbase_nodes_size.py | 4 ++++ cmk/base/legacy_checks/couchbase_nodes_stats.py | 3 +++ cmk/base/legacy_checks/cups_queues.py | 1 + cmk/base/legacy_checks/datapower_cpu.py | 1 + cmk/base/legacy_checks/datapower_fs.py | 1 + cmk/base/legacy_checks/datapower_mem.py | 1 + cmk/base/legacy_checks/datapower_temp.py | 1 + cmk/base/legacy_checks/db2_backup.py | 1 + cmk/base/legacy_checks/db2_bp_hitratios.py | 1 + cmk/base/legacy_checks/db2_connections.py | 1 + cmk/base/legacy_checks/db2_counters.py | 1 + cmk/base/legacy_checks/db2_logsizes.py | 1 + cmk/base/legacy_checks/db2_mem.py | 1 + cmk/base/legacy_checks/db2_sort_overflow.py | 1 + cmk/base/legacy_checks/db2_tablespaces.py | 1 + cmk/base/legacy_checks/ddn_s2a_errors.py | 1 + cmk/base/legacy_checks/ddn_s2a_faultsbasic.py | 10 ++++++++++ cmk/base/legacy_checks/ddn_s2a_stats.py | 3 +++ cmk/base/legacy_checks/ddn_s2a_statsdelay.py | 1 + cmk/base/legacy_checks/ddn_s2a_uptime.py | 1 + cmk/base/legacy_checks/ddn_s2a_version.py | 1 + cmk/base/legacy_checks/decru_fans.py | 1 + cmk/base/legacy_checks/decru_perf.py | 1 + cmk/base/legacy_checks/decru_temps.py | 1 + cmk/base/legacy_checks/dell_chassis_temp.py | 1 + .../legacy_checks/dell_compellent_controller.py | 1 + cmk/base/legacy_checks/dell_compellent_disks.py | 1 + .../legacy_checks/dell_compellent_enclosure.py | 1 + cmk/base/legacy_checks/dell_compellent_folder.py | 1 + cmk/base/legacy_checks/dell_idrac_fans.py | 1 + cmk/base/legacy_checks/dell_om_fans.py | 1 + cmk/base/legacy_checks/dell_om_sensors.py | 1 + cmk/base/legacy_checks/dell_om_vdisks.py | 1 + cmk/base/legacy_checks/dell_powerconnect_cpu.py | 1 + cmk/base/legacy_checks/dell_powerconnect_temp.py | 1 + cmk/base/legacy_checks/dell_poweredge_amperage.py | 3 +++ cmk/base/legacy_checks/dell_poweredge_cpu.py | 1 + cmk/base/legacy_checks/dell_poweredge_mem.py | 1 + cmk/base/legacy_checks/dell_poweredge_netdev.py | 1 + cmk/base/legacy_checks/dell_poweredge_pci.py | 1 + cmk/base/legacy_checks/dell_poweredge_status.py | 1 + cmk/base/legacy_checks/dell_poweredge_temp.py | 1 + .../legacy_checks/didactum_can_sensors_analog.py | 3 +++ cmk/base/legacy_checks/didactum_sensors_analog.py | 3 +++ .../legacy_checks/didactum_sensors_discrete.py | 1 + cmk/base/legacy_checks/didactum_sensors_outlet.py | 1 + cmk/base/legacy_checks/docker_node_disk_usage.py | 1 + cmk/base/legacy_checks/docker_node_info.py | 2 ++ .../legacy_checks/docsis_channels_downstream.py | 1 + cmk/base/legacy_checks/docsis_channels_upstream.py | 1 + cmk/base/legacy_checks/docsis_cm_status.py | 1 + cmk/base/legacy_checks/domino_mailqueues.py | 1 + cmk/base/legacy_checks/domino_transactions.py | 1 + cmk/base/legacy_checks/domino_users.py | 1 + cmk/base/legacy_checks/dotnet_clrmemory.py | 1 + cmk/base/legacy_checks/drbd.py | 4 ++++ .../legacy_checks/elasticsearch_cluster_health.py | 3 +++ cmk/base/legacy_checks/elasticsearch_nodes.py | 1 + cmk/base/legacy_checks/eltek_battery.py | 3 +++ cmk/base/legacy_checks/eltek_fans.py | 1 + cmk/base/legacy_checks/eltek_outdoor_temp.py | 1 + cmk/base/legacy_checks/eltek_systemstatus.py | 1 + cmk/base/legacy_checks/emc_datadomain_disks.py | 1 + cmk/base/legacy_checks/emc_datadomain_fans.py | 1 + cmk/base/legacy_checks/emc_datadomain_fs.py | 1 + cmk/base/legacy_checks/emc_datadomain_mtree.py | 1 + cmk/base/legacy_checks/emc_datadomain_nvbat.py | 1 + cmk/base/legacy_checks/emc_datadomain_power.py | 1 + cmk/base/legacy_checks/emc_datadomain_temps.py | 1 + cmk/base/legacy_checks/emc_isilon.py | 5 +++++ cmk/base/legacy_checks/emc_isilon_cpu.py | 1 + cmk/base/legacy_checks/emc_isilon_diskstatus.py | 1 + cmk/base/legacy_checks/emc_isilon_fans.py | 1 + cmk/base/legacy_checks/emc_isilon_ifs.py | 1 + cmk/base/legacy_checks/emc_isilon_power.py | 1 + cmk/base/legacy_checks/emc_isilon_temp.py | 2 ++ cmk/base/legacy_checks/emc_vplex_cpu.py | 1 + cmk/base/legacy_checks/emcvnx_agent.py | 1 + cmk/base/legacy_checks/emcvnx_disks.py | 1 + cmk/base/legacy_checks/emcvnx_hba.py | 1 + cmk/base/legacy_checks/emcvnx_hwstatus.py | 1 + cmk/base/legacy_checks/emcvnx_info.py | 5 +++++ cmk/base/legacy_checks/emcvnx_mirrorview.py | 1 + cmk/base/legacy_checks/emcvnx_raidgroups.py | 5 +++++ cmk/base/legacy_checks/emcvnx_sp_util.py | 1 + cmk/base/legacy_checks/emcvnx_storage_pools.py | 4 ++++ cmk/base/legacy_checks/emcvnx_writecache.py | 1 + cmk/base/legacy_checks/emerson_stat.py | 1 + cmk/base/legacy_checks/emerson_temp.py | 1 + cmk/base/legacy_checks/emka_modules.py | 7 +++++++ cmk/base/legacy_checks/enterasys_cpu_util.py | 1 + cmk/base/legacy_checks/enterasys_fans.py | 1 + cmk/base/legacy_checks/enterasys_lsnat.py | 1 + cmk/base/legacy_checks/enterasys_powersupply.py | 1 + cmk/base/legacy_checks/enterasys_temp.py | 1 + cmk/base/legacy_checks/entersekt.py | 5 +++++ cmk/base/legacy_checks/epson_beamer_lamp.py | 1 + cmk/base/legacy_checks/esx_vsphere_counters.py | 2 ++ cmk/base/legacy_checks/esx_vsphere_datastores.py | 1 + cmk/base/legacy_checks/esx_vsphere_hostsystem.py | 3 +++ cmk/base/legacy_checks/esx_vsphere_licenses.py | 1 + cmk/base/legacy_checks/esx_vsphere_objects.py | 2 ++ cmk/base/legacy_checks/esx_vsphere_sensors.py | 1 + cmk/base/legacy_checks/esx_vsphere_vm.py | 1 + cmk/base/legacy_checks/etherbox2_temp.py | 1 + cmk/base/legacy_checks/f5_bigip_apm.py | 1 + cmk/base/legacy_checks/f5_bigip_chassis_temp.py | 1 + cmk/base/legacy_checks/f5_bigip_conns.py | 1 + cmk/base/legacy_checks/f5_bigip_cpu_temp.py | 1 + cmk/base/legacy_checks/f5_bigip_fans.py | 1 + cmk/base/legacy_checks/f5_bigip_interfaces.py | 1 + cmk/base/legacy_checks/f5_bigip_mem.py | 1 + cmk/base/legacy_checks/f5_bigip_pool.py | 1 + cmk/base/legacy_checks/f5_bigip_psu.py | 1 + cmk/base/legacy_checks/f5_bigip_snat.py | 1 + cmk/base/legacy_checks/f5_bigip_vserver.py | 1 + cmk/base/legacy_checks/fast_lta_headunit.py | 3 +++ cmk/base/legacy_checks/fast_lta_silent_cubes.py | 2 ++ cmk/base/legacy_checks/fast_lta_volumes.py | 1 + cmk/base/legacy_checks/fc_port.py | 1 + cmk/base/legacy_checks/filehandler.py | 1 + cmk/base/legacy_checks/filestats.py | 2 ++ cmk/base/legacy_checks/fireeye_active_vms.py | 1 + cmk/base/legacy_checks/fireeye_bypass.py | 1 + cmk/base/legacy_checks/fireeye_content.py | 1 + cmk/base/legacy_checks/fireeye_fans.py | 1 + cmk/base/legacy_checks/fireeye_lic_active.py | 1 + cmk/base/legacy_checks/fireeye_lic_expiration.py | 1 + cmk/base/legacy_checks/fireeye_mail.py | 5 +++++ cmk/base/legacy_checks/fireeye_mailq.py | 1 + cmk/base/legacy_checks/fireeye_powersupplies.py | 1 + cmk/base/legacy_checks/fireeye_quarantine.py | 1 + cmk/base/legacy_checks/fireeye_raid.py | 2 ++ cmk/base/legacy_checks/fireeye_smtp_conn.py | 1 + cmk/base/legacy_checks/fireeye_sys_image.py | 1 + cmk/base/legacy_checks/fireeye_temp.py | 1 + cmk/base/legacy_checks/fortigate_cpu.py | 2 ++ cmk/base/legacy_checks/fortigate_ipsecvpn.py | 1 + cmk/base/legacy_checks/fortigate_memory.py | 1 + cmk/base/legacy_checks/fortigate_memory_base.py | 1 + cmk/base/legacy_checks/fortigate_node.py | 3 +++ cmk/base/legacy_checks/fortigate_sessions.py | 1 + cmk/base/legacy_checks/fortigate_sessions_base.py | 1 + cmk/base/legacy_checks/fortigate_sslvpn.py | 1 + cmk/base/legacy_checks/fortinet_controller_aps.py | 1 + cmk/base/legacy_checks/fortisandbox_cpu_util.py | 1 + cmk/base/legacy_checks/fortisandbox_queues.py | 1 + cmk/base/legacy_checks/fsc_fans.py | 1 + cmk/base/legacy_checks/fsc_ipmi_mem_status.py | 1 + cmk/base/legacy_checks/fsc_sc2_cpu_status.py | 1 + cmk/base/legacy_checks/fsc_sc2_fans.py | 1 + cmk/base/legacy_checks/fsc_sc2_info.py | 1 + cmk/base/legacy_checks/fsc_sc2_mem_status.py | 1 + .../legacy_checks/fsc_sc2_power_consumption.py | 1 + cmk/base/legacy_checks/fsc_sc2_psu.py | 1 + cmk/base/legacy_checks/fsc_sc2_temp.py | 1 + cmk/base/legacy_checks/fsc_sc2_voltage.py | 1 + cmk/base/legacy_checks/fsc_subsystems.py | 1 + cmk/base/legacy_checks/fsc_temp.py | 1 + cmk/base/legacy_checks/genua_carp.py | 1 + cmk/base/legacy_checks/genua_fan.py | 1 + cmk/base/legacy_checks/genua_pfstate.py | 1 + cmk/base/legacy_checks/genua_state_correlation.py | 1 + cmk/base/legacy_checks/genua_vpn.py | 1 + cmk/base/legacy_checks/graylog_cluster_stats.py | 3 +++ cmk/base/legacy_checks/graylog_cluster_traffic.py | 1 + cmk/base/legacy_checks/graylog_jvm.py | 1 + cmk/base/legacy_checks/graylog_license.py | 1 + cmk/base/legacy_checks/graylog_messages.py | 1 + cmk/base/legacy_checks/graylog_nodes.py | 1 + cmk/base/legacy_checks/graylog_sidecars.py | 1 + cmk/base/legacy_checks/graylog_sources.py | 1 + cmk/base/legacy_checks/gude_humidity.py | 1 + cmk/base/legacy_checks/gude_powerbanks.py | 1 + cmk/base/legacy_checks/gude_relayport.py | 1 + cmk/base/legacy_checks/gude_temp.py | 1 + cmk/base/legacy_checks/h3c_lanswitch_cpu.py | 1 + cmk/base/legacy_checks/h3c_lanswitch_sensors.py | 1 + cmk/base/legacy_checks/heartbeat_nodes.py | 1 + cmk/base/legacy_checks/heartbeat_rscstatus.py | 1 + cmk/base/legacy_checks/hepta.py | 4 ++++ cmk/base/legacy_checks/hitachi_hnas_bossock.py | 1 + cmk/base/legacy_checks/hitachi_hnas_cifs.py | 1 + cmk/base/legacy_checks/hitachi_hnas_cpu.py | 1 + cmk/base/legacy_checks/hitachi_hnas_drives.py | 1 + cmk/base/legacy_checks/hitachi_hnas_fan.py | 1 + cmk/base/legacy_checks/hitachi_hnas_fpga.py | 1 + cmk/base/legacy_checks/hitachi_hnas_pnode.py | 1 + cmk/base/legacy_checks/hitachi_hnas_psu.py | 1 + .../legacy_checks/hitachi_hnas_quorumdevice.py | 1 + cmk/base/legacy_checks/hitachi_hnas_temp.py | 1 + cmk/base/legacy_checks/hitachi_hnas_vnode.py | 1 + cmk/base/legacy_checks/hitachi_hus_status.py | 1 + cmk/base/legacy_checks/hivemanager_devices.py | 1 + cmk/base/legacy_checks/hivemanager_ng_devices.py | 1 + cmk/base/legacy_checks/hp_blade.py | 1 + cmk/base/legacy_checks/hp_blade_blades.py | 1 + cmk/base/legacy_checks/hp_blade_fan.py | 1 + cmk/base/legacy_checks/hp_blade_manager.py | 1 + cmk/base/legacy_checks/hp_blade_psu.py | 1 + cmk/base/legacy_checks/hp_eml_sum.py | 1 + cmk/base/legacy_checks/hp_fan.py | 1 + cmk/base/legacy_checks/hp_hh3c_ext.py | 4 ++++ cmk/base/legacy_checks/hp_mcs_sensors.py | 2 ++ cmk/base/legacy_checks/hp_mcs_system.py | 1 + cmk/base/legacy_checks/hp_procurve_cpu.py | 1 + cmk/base/legacy_checks/hp_procurve_mem.py | 1 + cmk/base/legacy_checks/hp_procurve_sensors.py | 1 + cmk/base/legacy_checks/hp_procurve_temp.py | 1 + cmk/base/legacy_checks/hp_proliant.py | 1 + cmk/base/legacy_checks/hp_proliant_cpu.py | 1 + cmk/base/legacy_checks/hp_proliant_da_cntlr.py | 1 + cmk/base/legacy_checks/hp_proliant_raid.py | 1 + cmk/base/legacy_checks/hp_proliant_temp.py | 1 + cmk/base/legacy_checks/hp_psu.py | 2 ++ cmk/base/legacy_checks/hp_sts_drvbox.py | 1 + cmk/base/legacy_checks/hp_webmgmt_status.py | 1 + cmk/base/legacy_checks/hpux_fchba.py | 1 + cmk/base/legacy_checks/hpux_multipath.py | 1 + cmk/base/legacy_checks/hpux_serviceguard.py | 1 + cmk/base/legacy_checks/hpux_snmp_cs.py | 2 ++ cmk/base/legacy_checks/hpux_tunables.py | 7 +++++++ cmk/base/legacy_checks/hr_cpu.py | 1 + cmk/base/legacy_checks/huawei_osn_fan.py | 1 + cmk/base/legacy_checks/huawei_osn_laser.py | 1 + cmk/base/legacy_checks/huawei_osn_power.py | 1 + cmk/base/legacy_checks/huawei_osn_temp.py | 1 + cmk/base/legacy_checks/huawei_switch_cpu.py | 1 + cmk/base/legacy_checks/huawei_switch_fan.py | 1 + cmk/base/legacy_checks/huawei_switch_mem.py | 1 + cmk/base/legacy_checks/huawei_switch_psu.py | 1 + cmk/base/legacy_checks/huawei_switch_stack.py | 1 + cmk/base/legacy_checks/huawei_switch_temp.py | 1 + cmk/base/legacy_checks/huawei_wlc_aps.py | 5 +++++ cmk/base/legacy_checks/huawei_wlc_devs.py | 3 +++ cmk/base/legacy_checks/hwg_humidity.py | 2 ++ cmk/base/legacy_checks/hwg_temp.py | 2 ++ cmk/base/legacy_checks/hyperv_checkpoints.py | 1 + cmk/base/legacy_checks/hyperv_vms.py | 1 + cmk/base/legacy_checks/hyperv_vmstatus.py | 1 + cmk/base/legacy_checks/ibm_imm_fan.py | 1 + cmk/base/legacy_checks/ibm_imm_health.py | 1 + cmk/base/legacy_checks/ibm_imm_voltage.py | 1 + cmk/base/legacy_checks/ibm_mq_channels.py | 1 + cmk/base/legacy_checks/ibm_mq_managers.py | 1 + cmk/base/legacy_checks/ibm_mq_plugin.py | 1 + cmk/base/legacy_checks/ibm_mq_queues.py | 1 + cmk/base/legacy_checks/ibm_rsa_health.py | 1 + cmk/base/legacy_checks/ibm_storage_ts.py | 4 ++++ cmk/base/legacy_checks/ibm_svc_array.py | 1 + cmk/base/legacy_checks/ibm_svc_disks.py | 1 + cmk/base/legacy_checks/ibm_svc_enclosure.py | 1 + cmk/base/legacy_checks/ibm_svc_enclosurestats.py | 3 +++ cmk/base/legacy_checks/ibm_svc_eventlog.py | 1 + cmk/base/legacy_checks/ibm_svc_host.py | 1 + cmk/base/legacy_checks/ibm_svc_license.py | 1 + cmk/base/legacy_checks/ibm_svc_mdisk.py | 1 + cmk/base/legacy_checks/ibm_svc_mdiskgrp.py | 1 + cmk/base/legacy_checks/ibm_svc_node.py | 1 + cmk/base/legacy_checks/ibm_svc_nodestats.py | 6 ++++++ cmk/base/legacy_checks/ibm_svc_portfc.py | 1 + cmk/base/legacy_checks/ibm_svc_portsas.py | 1 + cmk/base/legacy_checks/ibm_svc_system.py | 1 + cmk/base/legacy_checks/ibm_tl_changer_devices.py | 1 + .../legacy_checks/ibm_tl_media_access_devices.py | 1 + cmk/base/legacy_checks/ibm_xraid_pdisks.py | 1 + cmk/base/legacy_checks/icom_repeater.py | 4 ++++ cmk/base/legacy_checks/infoblox_dhcp_stats.py | 1 + cmk/base/legacy_checks/infoblox_dns_stats.py | 1 + cmk/base/legacy_checks/infoblox_grid_status.py | 1 + .../legacy_checks/infoblox_replication_status.py | 1 + cmk/base/legacy_checks/informix_dbspaces.py | 1 + cmk/base/legacy_checks/informix_locks.py | 1 + cmk/base/legacy_checks/informix_logusage.py | 1 + cmk/base/legacy_checks/informix_sessions.py | 1 + cmk/base/legacy_checks/informix_status.py | 1 + cmk/base/legacy_checks/informix_tabextents.py | 1 + cmk/base/legacy_checks/innovaphone_channels.py | 1 + cmk/base/legacy_checks/innovaphone_cpu.py | 1 + cmk/base/legacy_checks/innovaphone_licenses.py | 1 + cmk/base/legacy_checks/innovaphone_mem.py | 1 + cmk/base/legacy_checks/innovaphone_priports_l1.py | 1 + cmk/base/legacy_checks/innovaphone_priports_l2.py | 1 + cmk/base/legacy_checks/innovaphone_temp.py | 1 + .../legacy_checks/intel_true_scale_chassis_temp.py | 1 + cmk/base/legacy_checks/intel_true_scale_fans.py | 1 + cmk/base/legacy_checks/intel_true_scale_psus.py | 1 + .../legacy_checks/intel_true_scale_sensors_temp.py | 1 + cmk/base/legacy_checks/ipr400_in_voltage.py | 1 + cmk/base/legacy_checks/ipr400_temp.py | 1 + cmk/base/legacy_checks/iptables.py | 1 + cmk/base/legacy_checks/ispro_sensors_digital.py | 1 + cmk/base/legacy_checks/ispro_sensors_humid.py | 1 + cmk/base/legacy_checks/ispro_sensors_temp.py | 1 + cmk/base/legacy_checks/janitza_umg.py | 3 +++ cmk/base/legacy_checks/jar_signature.py | 1 + cmk/base/legacy_checks/jira_custom_svc.py | 1 + cmk/base/legacy_checks/jira_workflow.py | 1 + cmk/base/legacy_checks/jolokia_generic.py | 3 +++ cmk/base/legacy_checks/jolokia_info.py | 1 + .../legacy_checks/jolokia_jvm_garbagecollectors.py | 1 + cmk/base/legacy_checks/jolokia_jvm_memory.py | 2 ++ cmk/base/legacy_checks/jolokia_jvm_runtime.py | 1 + cmk/base/legacy_checks/jolokia_jvm_threading.py | 2 ++ cmk/base/legacy_checks/jolokia_metrics.py | 14 ++++++++++++++ cmk/base/legacy_checks/juniper_alarm.py | 1 + cmk/base/legacy_checks/juniper_bgp_state.py | 1 + cmk/base/legacy_checks/juniper_fru.py | 2 ++ cmk/base/legacy_checks/juniper_mem.py | 1 + .../legacy_checks/juniper_mem_screenos_trpz.py | 2 ++ cmk/base/legacy_checks/juniper_screenos_cpu.py | 1 + cmk/base/legacy_checks/juniper_screenos_fan.py | 1 + cmk/base/legacy_checks/juniper_screenos_temp.py | 1 + cmk/base/legacy_checks/juniper_screenos_vpn.py | 1 + cmk/base/legacy_checks/juniper_temp.py | 1 + cmk/base/legacy_checks/juniper_trpz_flash.py | 1 + cmk/base/legacy_checks/juniper_trpz_info.py | 1 + cmk/base/legacy_checks/juniper_trpz_power.py | 1 + cmk/base/legacy_checks/keepalived.py | 1 + cmk/base/legacy_checks/kemp_loadmaster_ha.py | 1 + cmk/base/legacy_checks/kentix_amp_sensors.py | 4 ++++ cmk/base/legacy_checks/kentix_co.py | 1 + cmk/base/legacy_checks/kentix_dewpoint.py | 1 + cmk/base/legacy_checks/kentix_humidity.py | 1 + cmk/base/legacy_checks/kentix_motion.py | 1 + cmk/base/legacy_checks/kentix_temp.py | 1 + cmk/base/legacy_checks/kernel.py | 2 ++ cmk/base/legacy_checks/knuerr_rms_humidity.py | 1 + cmk/base/legacy_checks/knuerr_rms_temp.py | 1 + cmk/base/legacy_checks/knuerr_sensors.py | 1 + cmk/base/legacy_checks/lgp_info.py | 1 + cmk/base/legacy_checks/lgp_pdu_aux.py | 1 + cmk/base/legacy_checks/lgp_pdu_info.py | 1 + cmk/base/legacy_checks/libelle_business_shadow.py | 5 +++++ cmk/base/legacy_checks/logins.py | 1 + cmk/base/legacy_checks/lparstat_aix.py | 2 ++ cmk/base/legacy_checks/lvm_lvs.py | 1 + cmk/base/legacy_checks/lvm_vgs.py | 1 + cmk/base/legacy_checks/mailman_lists.py | 1 + cmk/base/legacy_checks/mbg_lantime_ng_fan.py | 1 + cmk/base/legacy_checks/mbg_lantime_ng_power.py | 1 + cmk/base/legacy_checks/mbg_lantime_ng_refclock.py | 2 ++ cmk/base/legacy_checks/mbg_lantime_ng_state.py | 1 + cmk/base/legacy_checks/mbg_lantime_ng_temp.py | 1 + cmk/base/legacy_checks/mbg_lantime_refclock.py | 1 + cmk/base/legacy_checks/mbg_lantime_state.py | 1 + .../legacy_checks/mcafee_emailgateway_agent.py | 1 + .../mcafee_emailgateway_av_authentium.py | 1 + .../legacy_checks/mcafee_emailgateway_av_mcafee.py | 1 + .../legacy_checks/mcafee_emailgateway_bridge.py | 1 + .../legacy_checks/mcafee_emailgateway_entities.py | 1 + cmk/base/legacy_checks/mcafee_emailgateway_smtp.py | 1 + .../mcafee_emailgateway_spam_mcafee.py | 1 + cmk/base/legacy_checks/md.py | 1 + cmk/base/legacy_checks/megaraid_bbu.py | 1 + cmk/base/legacy_checks/mem_linux.py | 1 + cmk/base/legacy_checks/mem_vmalloc.py | 1 + cmk/base/legacy_checks/mikrotik_signal.py | 1 + cmk/base/legacy_checks/mkbackup.py | 2 ++ cmk/base/legacy_checks/mkeventd_status.py | 1 + cmk/base/legacy_checks/mongodb_cluster.py | 3 +++ cmk/base/legacy_checks/mongodb_collections.py | 1 + cmk/base/legacy_checks/mongodb_connections.py | 1 + cmk/base/legacy_checks/mongodb_counters.py | 1 + cmk/base/legacy_checks/mongodb_flushing.py | 1 + cmk/base/legacy_checks/mongodb_instance.py | 1 + cmk/base/legacy_checks/mongodb_locks.py | 1 + cmk/base/legacy_checks/mongodb_mem.py | 1 + cmk/base/legacy_checks/mongodb_replica_set.py | 2 ++ cmk/base/legacy_checks/mongodb_replication_info.py | 1 + cmk/base/legacy_checks/moxa_iologik_register.py | 1 + cmk/base/legacy_checks/mq_queues.py | 1 + cmk/base/legacy_checks/msexch_activesync.py | 1 + cmk/base/legacy_checks/msexch_autodiscovery.py | 1 + cmk/base/legacy_checks/msexch_availability.py | 1 + cmk/base/legacy_checks/msexch_dag.py | 4 ++++ cmk/base/legacy_checks/msexch_owa.py | 1 + cmk/base/legacy_checks/msexch_replhealth.py | 1 + cmk/base/legacy_checks/msoffice_licenses.py | 1 + cmk/base/legacy_checks/msoffice_serviceplans.py | 1 + cmk/base/legacy_checks/mssql_connections.py | 1 + cmk/base/legacy_checks/mssql_instance.py | 1 + cmk/base/legacy_checks/mysql.py | 9 +++++++++ cmk/base/legacy_checks/mysql_ping.py | 1 + cmk/base/legacy_checks/netapp_cluster.py | 1 + cmk/base/legacy_checks/netapp_cpu.py | 1 + cmk/base/legacy_checks/netapp_fcpio.py | 1 + cmk/base/legacy_checks/netapp_vfiler.py | 1 + cmk/base/legacy_checks/netctr.py | 2 ++ cmk/base/legacy_checks/netextreme_cpu_util.py | 1 + cmk/base/legacy_checks/netextreme_fan.py | 1 + cmk/base/legacy_checks/netextreme_psu.py | 1 + cmk/base/legacy_checks/netextreme_psu_in.py | 1 + cmk/base/legacy_checks/netextreme_psu_out.py | 1 + cmk/base/legacy_checks/netextreme_temp.py | 1 + cmk/base/legacy_checks/netgear_fans.py | 1 + cmk/base/legacy_checks/netgear_powersupplies.py | 1 + cmk/base/legacy_checks/netgear_temp.py | 1 + cmk/base/legacy_checks/netscaler_cpu.py | 1 + cmk/base/legacy_checks/netscaler_dnsrates.py | 1 + cmk/base/legacy_checks/netscaler_ha.py | 1 + cmk/base/legacy_checks/netscaler_health.py | 4 ++++ cmk/base/legacy_checks/netscaler_mem.py | 1 + cmk/base/legacy_checks/netstat.py | 1 + cmk/base/legacy_checks/nfsexports.py | 1 + cmk/base/legacy_checks/nginx_status.py | 1 + cmk/base/legacy_checks/nimble_latency.py | 2 ++ cmk/base/legacy_checks/nimble_volumes.py | 1 + cmk/base/legacy_checks/nullmailer_mailq.py | 1 + cmk/base/legacy_checks/nvidia.py | 4 ++++ cmk/base/legacy_checks/omd_apache.py | 1 + cmk/base/legacy_checks/openbsd_sensors.py | 6 ++++++ cmk/base/legacy_checks/openhardwaremonitor.py | 5 +++++ cmk/base/legacy_checks/openvpn_clients.py | 1 + cmk/base/legacy_checks/oracle_crs_version.py | 1 + cmk/base/legacy_checks/oracle_crs_voting.py | 1 + cmk/base/legacy_checks/oracle_dataguard_stats.py | 1 + cmk/base/legacy_checks/oracle_diva_csm.py | 6 ++++++ cmk/base/legacy_checks/oracle_jobs.py | 1 + cmk/base/legacy_checks/oracle_locks.py | 1 + cmk/base/legacy_checks/oracle_logswitches.py | 1 + .../legacy_checks/oracle_longactivesessions.py | 1 + cmk/base/legacy_checks/oracle_recovery_area.py | 1 + cmk/base/legacy_checks/oracle_recovery_status.py | 1 + cmk/base/legacy_checks/oracle_sessions.py | 1 + cmk/base/legacy_checks/oracle_undostat.py | 1 + cmk/base/legacy_checks/oracle_version.py | 1 + cmk/base/legacy_checks/orion_backup.py | 1 + cmk/base/legacy_checks/orion_batterytest.py | 1 + cmk/base/legacy_checks/orion_system.py | 3 +++ cmk/base/legacy_checks/packeteer_fan_status.py | 1 + cmk/base/legacy_checks/packeteer_ps_status.py | 1 + cmk/base/legacy_checks/palo_alto_sessions.py | 1 + cmk/base/legacy_checks/pandacom_fan.py | 1 + cmk/base/legacy_checks/pandacom_psu.py | 1 + cmk/base/legacy_checks/pandacom_sys_temp.py | 1 + cmk/base/legacy_checks/pandacom_temp.py | 2 ++ cmk/base/legacy_checks/papouch_th2e_sensors.py | 3 +++ cmk/base/legacy_checks/perle_chassis.py | 2 ++ cmk/base/legacy_checks/perle_chassis_slots.py | 1 + cmk/base/legacy_checks/perle_modules_cm1000.py | 2 ++ cmk/base/legacy_checks/perle_modules_mgt.py | 1 + cmk/base/legacy_checks/perle_psmu.py | 2 ++ cmk/base/legacy_checks/pfsense_status.py | 1 + cmk/base/legacy_checks/plesk_backups.py | 1 + cmk/base/legacy_checks/plesk_domains.py | 1 + cmk/base/legacy_checks/poseidon_inputs.py | 1 + cmk/base/legacy_checks/poseidon_temp.py | 1 + cmk/base/legacy_checks/postfix_mailq.py | 1 + cmk/base/legacy_checks/postgres_bloat.py | 1 + cmk/base/legacy_checks/postgres_conn_time.py | 1 + cmk/base/legacy_checks/postgres_connections.py | 1 + cmk/base/legacy_checks/postgres_locks.py | 1 + cmk/base/legacy_checks/postgres_sessions.py | 1 + cmk/base/legacy_checks/postgres_stat_database.py | 2 ++ cmk/base/legacy_checks/printer_supply_ricoh.py | 1 + cmk/base/legacy_checks/prometheus_custom.py | 1 + cmk/base/legacy_checks/pulse_secure_cpu_util.py | 1 + cmk/base/legacy_checks/pulse_secure_disk_util.py | 1 + cmk/base/legacy_checks/pulse_secure_log_util.py | 1 + cmk/base/legacy_checks/pulse_secure_mem_util.py | 1 + cmk/base/legacy_checks/pulse_secure_temp.py | 1 + cmk/base/legacy_checks/pvecm_nodes.py | 1 + cmk/base/legacy_checks/pvecm_status.py | 1 + cmk/base/legacy_checks/qlogic_fcport.py | 1 + cmk/base/legacy_checks/qlogic_sanbox.py | 3 +++ .../legacy_checks/qlogic_sanbox_fabric_element.py | 1 + cmk/base/legacy_checks/qmail_stats.py | 1 + cmk/base/legacy_checks/qnap_disks.py | 1 + cmk/base/legacy_checks/qnap_fans.py | 1 + cmk/base/legacy_checks/qnap_hdd_temp.py | 1 + cmk/base/legacy_checks/quanta_fan.py | 1 + cmk/base/legacy_checks/quanta_temperature.py | 1 + cmk/base/legacy_checks/quanta_voltage.py | 1 + cmk/base/legacy_checks/ra32e_power.py | 1 + cmk/base/legacy_checks/ra32e_sensors.py | 4 ++++ cmk/base/legacy_checks/ra32e_switch.py | 1 + cmk/base/legacy_checks/rabbitmq_cluster.py | 3 +++ cmk/base/legacy_checks/rabbitmq_nodes.py | 6 ++++++ cmk/base/legacy_checks/rabbitmq_queues.py | 1 + cmk/base/legacy_checks/rabbitmq_vhosts.py | 1 + cmk/base/legacy_checks/raritan_emx.py | 3 +++ cmk/base/legacy_checks/raritan_emx_sensors.py | 5 +++++ cmk/base/legacy_checks/raritan_pdu_inlet.py | 1 + .../legacy_checks/raritan_pdu_inlet_summary.py | 1 + cmk/base/legacy_checks/raritan_pdu_ocprot.py | 1 + cmk/base/legacy_checks/raritan_pdu_outletcount.py | 1 + cmk/base/legacy_checks/raritan_pdu_plugs.py | 1 + cmk/base/legacy_checks/raritan_px2_sensors.py | 4 ++++ cmk/base/legacy_checks/raritan_px_outlets.py | 1 + cmk/base/legacy_checks/raritan_px_sensors.py | 3 +++ cmk/base/legacy_checks/rds_licenses.py | 1 + cmk/base/legacy_checks/rms200_temp.py | 1 + cmk/base/legacy_checks/rstcli.py | 2 ++ cmk/base/legacy_checks/safenet_hsm.py | 2 ++ cmk/base/legacy_checks/safenet_ntls.py | 5 +++++ cmk/base/legacy_checks/salesforce_instances.py | 1 + cmk/base/legacy_checks/sansymphony_alerts.py | 1 + cmk/base/legacy_checks/sansymphony_ports.py | 1 + cmk/base/legacy_checks/sansymphony_serverstatus.py | 1 + .../legacy_checks/sansymphony_virtualdiskstatus.py | 1 + cmk/base/legacy_checks/sap_hana_connect.py | 1 + cmk/base/legacy_checks/sap_hana_ess_migration.py | 1 + cmk/base/legacy_checks/sap_state.py | 1 + cmk/base/legacy_checks/saprouter_cert.py | 1 + cmk/base/legacy_checks/scaleio_devices.py | 1 + cmk/base/legacy_checks/scaleio_mdm.py | 1 + cmk/base/legacy_checks/scaleio_pd.py | 2 ++ cmk/base/legacy_checks/scaleio_sds.py | 2 ++ cmk/base/legacy_checks/scaleio_system.py | 1 + cmk/base/legacy_checks/security_master.py | 3 +++ cmk/base/legacy_checks/seh_ports.py | 1 + cmk/base/legacy_checks/sensatronics_temp.py | 1 + cmk/base/legacy_checks/sentry_pdu_systempower.py | 1 + cmk/base/legacy_checks/siemens_plc.py | 10 +++++++++- cmk/base/legacy_checks/silverpeak_VX6000.py | 1 + cmk/base/legacy_checks/skype.py | 10 ++++++++++ cmk/base/legacy_checks/smart.py | 1 + cmk/base/legacy_checks/sni_octopuse_cpu.py | 1 + cmk/base/legacy_checks/sni_octopuse_status.py | 1 + cmk/base/legacy_checks/sni_octopuse_trunks.py | 1 + cmk/base/legacy_checks/solaris_fmadm.py | 1 + cmk/base/legacy_checks/solaris_multipath.py | 1 + cmk/base/legacy_checks/solaris_prtdiag_status.py | 1 + cmk/base/legacy_checks/sophos.py | 1 + cmk/base/legacy_checks/sophos_cpu.py | 1 + cmk/base/legacy_checks/sophos_disk.py | 1 + cmk/base/legacy_checks/sophos_memory.py | 1 + cmk/base/legacy_checks/sophos_messages.py | 1 + cmk/base/legacy_checks/statgrab_cpu.py | 1 + cmk/base/legacy_checks/steelhead_connections.py | 1 + cmk/base/legacy_checks/steelhead_peers.py | 1 + cmk/base/legacy_checks/steelhead_status.py | 1 + cmk/base/legacy_checks/storcli_pdisks.py | 1 + cmk/base/legacy_checks/storeonce4x_alerts.py | 1 + cmk/base/legacy_checks/storeonce4x_d2d_services.py | 1 + cmk/base/legacy_checks/stormshield_cluster.py | 1 + cmk/base/legacy_checks/stormshield_cluster_node.py | 1 + cmk/base/legacy_checks/stormshield_cpu_temp.py | 1 + cmk/base/legacy_checks/stormshield_disk.py | 1 + cmk/base/legacy_checks/stormshield_info.py | 1 + cmk/base/legacy_checks/stormshield_packets.py | 1 + cmk/base/legacy_checks/stormshield_policy.py | 1 + cmk/base/legacy_checks/stormshield_route.py | 1 + cmk/base/legacy_checks/stormshield_updates.py | 1 + cmk/base/legacy_checks/strem1_sensors.py | 1 + cmk/base/legacy_checks/stulz_alerts.py | 1 + cmk/base/legacy_checks/stulz_humidity.py | 1 + cmk/base/legacy_checks/stulz_powerstate.py | 1 + cmk/base/legacy_checks/stulz_pump.py | 1 + cmk/base/legacy_checks/stulz_temp.py | 1 + cmk/base/legacy_checks/supermicro.py | 3 +++ cmk/base/legacy_checks/superstack3_sensors.py | 1 + cmk/base/legacy_checks/suseconnect.py | 1 + cmk/base/legacy_checks/sylo.py | 1 + cmk/base/legacy_checks/sym_brightmail_queues.py | 1 + cmk/base/legacy_checks/symantec_av_progstate.py | 1 + cmk/base/legacy_checks/symantec_av_quarantine.py | 1 + cmk/base/legacy_checks/symantec_av_updates.py | 1 + cmk/base/legacy_checks/systemtime.py | 1 + cmk/base/legacy_checks/teracom_tcw241_analog.py | 1 + cmk/base/legacy_checks/teracom_tcw241_digital.py | 1 + cmk/base/legacy_checks/tinkerforge.py | 5 +++++ cmk/base/legacy_checks/tplink_cpu.py | 1 + cmk/base/legacy_checks/tplink_mem.py | 1 + cmk/base/legacy_checks/tplink_poe_summary.py | 1 + cmk/base/legacy_checks/tsm_drives.py | 1 + cmk/base/legacy_checks/tsm_paths.py | 1 + cmk/base/legacy_checks/tsm_scratch.py | 1 + cmk/base/legacy_checks/tsm_sessions.py | 1 + cmk/base/legacy_checks/tsm_storagepools.py | 1 + cmk/base/legacy_checks/ucd_cpu_util.py | 1 + cmk/base/legacy_checks/ucd_disk.py | 1 + cmk/base/legacy_checks/ucd_mem.py | 1 + cmk/base/legacy_checks/ucd_processes.py | 1 + cmk/base/legacy_checks/ucs_bladecenter_fans.py | 2 ++ .../legacy_checks/ucs_bladecenter_faultinst.py | 1 + cmk/base/legacy_checks/ucs_bladecenter_psu.py | 3 +++ .../legacy_checks/ucs_bladecenter_topsystem.py | 1 + cmk/base/legacy_checks/ucs_c_rack_server_fans.py | 1 + .../legacy_checks/ucs_c_rack_server_faultinst.py | 1 + cmk/base/legacy_checks/ucs_c_rack_server_health.py | 1 + cmk/base/legacy_checks/ucs_c_rack_server_led.py | 1 + cmk/base/legacy_checks/ucs_c_rack_server_power.py | 1 + cmk/base/legacy_checks/ucs_c_rack_server_psu.py | 2 ++ cmk/base/legacy_checks/ucs_c_rack_server_temp.py | 1 + .../legacy_checks/ucs_c_rack_server_topsystem.py | 1 + cmk/base/legacy_checks/unitrends_backup.py | 1 + cmk/base/legacy_checks/unitrends_replication.py | 1 + cmk/base/legacy_checks/ups_bat_temp.py | 1 + cmk/base/legacy_checks/ups_cps_battery.py | 2 ++ cmk/base/legacy_checks/ups_cps_inphase.py | 1 + cmk/base/legacy_checks/ups_cps_outphase.py | 1 + cmk/base/legacy_checks/ups_eaton_enviroment.py | 1 + cmk/base/legacy_checks/ups_in_freq.py | 1 + cmk/base/legacy_checks/ups_in_voltage.py | 1 + cmk/base/legacy_checks/ups_modulys_alarms.py | 1 + cmk/base/legacy_checks/ups_modulys_inphase.py | 1 + cmk/base/legacy_checks/ups_modulys_outphase.py | 1 + cmk/base/legacy_checks/ups_out_voltage.py | 1 + cmk/base/legacy_checks/ups_socomec_capacity.py | 1 + cmk/base/legacy_checks/ups_socomec_in_voltage.py | 1 + cmk/base/legacy_checks/ups_socomec_out_source.py | 1 + cmk/base/legacy_checks/ups_socomec_out_voltage.py | 1 + cmk/base/legacy_checks/ups_socomec_outphase.py | 1 + cmk/base/legacy_checks/varnish.py | 11 +++++++++++ cmk/base/legacy_checks/vbox_guest.py | 1 + cmk/base/legacy_checks/veeam_client.py | 1 + cmk/base/legacy_checks/veeam_tapejobs.py | 1 + cmk/base/legacy_checks/viprinet_firmware.py | 1 + cmk/base/legacy_checks/viprinet_mem.py | 1 + cmk/base/legacy_checks/viprinet_power.py | 1 + cmk/base/legacy_checks/viprinet_router.py | 1 + cmk/base/legacy_checks/viprinet_serial.py | 1 + cmk/base/legacy_checks/viprinet_temp.py | 1 + cmk/base/legacy_checks/vms_cpu.py | 1 + cmk/base/legacy_checks/vms_queuejobs.py | 1 + cmk/base/legacy_checks/vms_system.py | 3 +++ cmk/base/legacy_checks/vms_users.py | 1 + cmk/base/legacy_checks/vnx_version.py | 1 + cmk/base/legacy_checks/vutlan_ems_humidity.py | 1 + cmk/base/legacy_checks/vutlan_ems_leakage.py | 1 + cmk/base/legacy_checks/vutlan_ems_temp.py | 1 + cmk/base/legacy_checks/vxvm_objstatus.py | 1 + cmk/base/legacy_checks/wagner_titanus_topsense.py | 8 ++++++++ cmk/base/legacy_checks/watchdog_sensors.py | 4 ++++ cmk/base/legacy_checks/win_license.py | 1 + cmk/base/legacy_checks/win_netstat.py | 1 + cmk/base/legacy_checks/win_printers.py | 1 + cmk/base/legacy_checks/windows_broadcom_bonding.py | 1 + cmk/base/legacy_checks/windows_multipath.py | 1 + cmk/base/legacy_checks/winperf.py | 3 +++ cmk/base/legacy_checks/winperf_mem.py | 1 + cmk/base/legacy_checks/winperf_ts_sessions.py | 1 + cmk/base/legacy_checks/wmi_webservices.py | 1 + cmk/base/legacy_checks/wmic_process.py | 1 + cmk/base/legacy_checks/wut_webtherm.py | 3 +++ cmk/utils/legacy_check_api.py | 1 + .../unit/checks/test_generic_legacy_conversion.py | 12 +++++++++++- .../register/test_check_plugins_legacy.py | 7 ++++++- tests/unit/cmk/base/test_config.py | 3 ++- 799 files changed, 1151 insertions(+), 5 deletions(-) diff --git a/cmk/base/config.py b/cmk/base/config.py index 902c8d2f38b..215673bbb26 100644 --- a/cmk/base/config.py +++ b/cmk/base/config.py @@ -1494,7 +1494,9 @@ def load_checks( " -- this API is deprecated!" ) - legacy_check_plugin_names.update({CheckPluginName(maincheckify(n)): n for n in sane_check_info}) + legacy_check_plugin_names.update( + {CheckPluginName(lcd.name): n for n, lcd in sane_check_info.items()} + ) section_errors, sections = _make_agent_and_snmp_sections(sane_check_info) check_errors, checks = _make_check_plugins( diff --git a/cmk/base/legacy_checks/3ware_disks.py b/cmk/base/legacy_checks/3ware_disks.py index 2f4649fd457..e76ab860314 100644 --- a/cmk/base/legacy_checks/3ware_disks.py +++ b/cmk/base/legacy_checks/3ware_disks.py @@ -85,6 +85,7 @@ def parse_3ware_disks(string_table: StringTable) -> StringTable: check_info["3ware_disks"] = LegacyCheckDefinition( + name="3ware_disks", parse_function=parse_3ware_disks, service_name="RAID 3ware disk %s", discovery_function=inventory_3ware_disks, diff --git a/cmk/base/legacy_checks/3ware_info.py b/cmk/base/legacy_checks/3ware_info.py index e925f08a765..b35b4bbc83a 100644 --- a/cmk/base/legacy_checks/3ware_info.py +++ b/cmk/base/legacy_checks/3ware_info.py @@ -51,6 +51,7 @@ def parse_3ware_info(string_table: StringTable) -> StringTable: check_info["3ware_info"] = LegacyCheckDefinition( + name="3ware_info", parse_function=parse_3ware_info, service_name="RAID 3ware controller %s", discovery_function=inventory_3ware_info, diff --git a/cmk/base/legacy_checks/3ware_units.py b/cmk/base/legacy_checks/3ware_units.py index edcb6d68883..c930264d144 100644 --- a/cmk/base/legacy_checks/3ware_units.py +++ b/cmk/base/legacy_checks/3ware_units.py @@ -71,6 +71,7 @@ def parse_3ware_units(string_table: StringTable) -> StringTable: check_info["3ware_units"] = LegacyCheckDefinition( + name="3ware_units", parse_function=parse_3ware_units, service_name="RAID 3ware unit %s", discovery_function=inventory_3ware_units, diff --git a/cmk/base/legacy_checks/acme_certificates.py b/cmk/base/legacy_checks/acme_certificates.py index b720e94ec0c..0fbb012e981 100644 --- a/cmk/base/legacy_checks/acme_certificates.py +++ b/cmk/base/legacy_checks/acme_certificates.py @@ -63,6 +63,7 @@ def parse_acme_certificates(string_table: StringTable) -> StringTable: check_info["acme_certificates"] = LegacyCheckDefinition( + name="acme_certificates", parse_function=parse_acme_certificates, detect=DETECT_ACME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/acme_fan.py b/cmk/base/legacy_checks/acme_fan.py index e70ff4cd572..c3535bb86fd 100644 --- a/cmk/base/legacy_checks/acme_fan.py +++ b/cmk/base/legacy_checks/acme_fan.py @@ -40,6 +40,7 @@ def parse_acme_fan(string_table: StringTable) -> StringTable: check_info["acme_fan"] = LegacyCheckDefinition( + name="acme_fan", parse_function=parse_acme_fan, detect=DETECT_ACME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/acme_powersupply.py b/cmk/base/legacy_checks/acme_powersupply.py index 72482f9e164..694aee53b96 100644 --- a/cmk/base/legacy_checks/acme_powersupply.py +++ b/cmk/base/legacy_checks/acme_powersupply.py @@ -33,6 +33,7 @@ def parse_acme_powersupply(string_table: StringTable) -> StringTable: check_info["acme_powersupply"] = LegacyCheckDefinition( + name="acme_powersupply", parse_function=parse_acme_powersupply, detect=DETECT_ACME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/acme_sbc_snmp.py b/cmk/base/legacy_checks/acme_sbc_snmp.py index 2878cc6adde..46164e9e945 100644 --- a/cmk/base/legacy_checks/acme_sbc_snmp.py +++ b/cmk/base/legacy_checks/acme_sbc_snmp.py @@ -62,6 +62,7 @@ def parse_acme_sbc_snmp(string_table: StringTable) -> StringTable | None: check_info["acme_sbc_snmp"] = LegacyCheckDefinition( + name="acme_sbc_snmp", parse_function=parse_acme_sbc_snmp, detect=DETECT_ACME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/acme_temp.py b/cmk/base/legacy_checks/acme_temp.py index 1d14d11172b..d8a264d8bc8 100644 --- a/cmk/base/legacy_checks/acme_temp.py +++ b/cmk/base/legacy_checks/acme_temp.py @@ -60,6 +60,7 @@ def parse_acme_temp(string_table: StringTable) -> StringTable: check_info["acme_temp"] = LegacyCheckDefinition( + name="acme_temp", parse_function=parse_acme_temp, detect=DETECT_ACME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/acme_voltage.py b/cmk/base/legacy_checks/acme_voltage.py index ef712826267..66a4f19f349 100644 --- a/cmk/base/legacy_checks/acme_voltage.py +++ b/cmk/base/legacy_checks/acme_voltage.py @@ -76,6 +76,7 @@ def parse_acme_voltage(string_table: StringTable) -> StringTable: check_info["acme_voltage"] = LegacyCheckDefinition( + name="acme_voltage", parse_function=parse_acme_voltage, detect=DETECT_ACME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ad_replication.py b/cmk/base/legacy_checks/ad_replication.py index 970223cd6b7..af5039af943 100644 --- a/cmk/base/legacy_checks/ad_replication.py +++ b/cmk/base/legacy_checks/ad_replication.py @@ -183,6 +183,7 @@ def parse_ad_replication(string_table: StringTable) -> StringTable: check_info["ad_replication"] = LegacyCheckDefinition( + name="ad_replication", parse_function=parse_ad_replication, service_name="AD Replication %s", discovery_function=inventory_ad_replication, diff --git a/cmk/base/legacy_checks/adva_fsp_temp.py b/cmk/base/legacy_checks/adva_fsp_temp.py index 863c125360e..eb4aeac87a2 100644 --- a/cmk/base/legacy_checks/adva_fsp_temp.py +++ b/cmk/base/legacy_checks/adva_fsp_temp.py @@ -51,6 +51,7 @@ def parse_adva_fsp_temp(string_table: StringTable) -> StringTable: check_info["adva_fsp_temp"] = LegacyCheckDefinition( + name="adva_fsp_temp", parse_function=parse_adva_fsp_temp, detect=equals(".1.3.6.1.2.1.1.1.0", "Fiber Service Platform F7"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/aironet_errors.py b/cmk/base/legacy_checks/aironet_errors.py index 798296e9ab4..5760c95e596 100644 --- a/cmk/base/legacy_checks/aironet_errors.py +++ b/cmk/base/legacy_checks/aironet_errors.py @@ -49,6 +49,7 @@ def parse_aironet_errors(string_table: StringTable) -> StringTable: check_info["aironet_errors"] = LegacyCheckDefinition( + name="aironet_errors", parse_function=parse_aironet_errors, detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.9.1.525"), diff --git a/cmk/base/legacy_checks/aix_hacmp_resources.py b/cmk/base/legacy_checks/aix_hacmp_resources.py index a1accabda83..ec7ad5fc2ad 100644 --- a/cmk/base/legacy_checks/aix_hacmp_resources.py +++ b/cmk/base/legacy_checks/aix_hacmp_resources.py @@ -66,6 +66,7 @@ def check_aix_hacmp_resources(item, params, parsed): check_info["aix_hacmp_resources"] = LegacyCheckDefinition( + name="aix_hacmp_resources", parse_function=parse_aix_hacmp_resources, service_name="HACMP RG %s", discovery_function=inventory_aix_hacmp_resources, diff --git a/cmk/base/legacy_checks/aix_paging.py b/cmk/base/legacy_checks/aix_paging.py index 5b1dfe78b2d..8fb0eb13193 100644 --- a/cmk/base/legacy_checks/aix_paging.py +++ b/cmk/base/legacy_checks/aix_paging.py @@ -65,6 +65,7 @@ def discover_aix_paging(section): check_info["aix_paging"] = LegacyCheckDefinition( + name="aix_paging", parse_function=parse_aix_paging, service_name="Page Space %s", discovery_function=discover_aix_paging, diff --git a/cmk/base/legacy_checks/akcp_daisy_temp.py b/cmk/base/legacy_checks/akcp_daisy_temp.py index 012da556ddf..9a2a1d1e03d 100644 --- a/cmk/base/legacy_checks/akcp_daisy_temp.py +++ b/cmk/base/legacy_checks/akcp_daisy_temp.py @@ -44,6 +44,7 @@ def parse_akcp_daisy_temp(string_table: Sequence[StringTable]) -> Sequence[Strin check_info["akcp_daisy_temp"] = LegacyCheckDefinition( + name="akcp_daisy_temp", parse_function=parse_akcp_daisy_temp, detect=all_of( any_of( diff --git a/cmk/base/legacy_checks/alcatel_temp.py b/cmk/base/legacy_checks/alcatel_temp.py index e5e8eec9704..9c191f87539 100644 --- a/cmk/base/legacy_checks/alcatel_temp.py +++ b/cmk/base/legacy_checks/alcatel_temp.py @@ -44,6 +44,7 @@ def check_alcatel_temp(item, params, info): check_info["alcatel_temp"] = LegacyCheckDefinition( + name="alcatel_temp", parse_function=parse_alcatel_temp, detect=DETECT_ALCATEL, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/alcatel_temp_aos7.py b/cmk/base/legacy_checks/alcatel_temp_aos7.py index 01dc9fd7b68..f497aebedcb 100644 --- a/cmk/base/legacy_checks/alcatel_temp_aos7.py +++ b/cmk/base/legacy_checks/alcatel_temp_aos7.py @@ -56,6 +56,7 @@ def discover_alcatel_temp_aos7(section): check_info["alcatel_temp_aos7"] = LegacyCheckDefinition( + name="alcatel_temp_aos7", detect=DETECT_ALCATEL_AOS7, fetch=SNMPTree( base=".1.3.6.1.4.1.6486.801.1.1.1.3.1.1.3.1", diff --git a/cmk/base/legacy_checks/alcatel_timetra_cpu.py b/cmk/base/legacy_checks/alcatel_timetra_cpu.py index 4a8eddd3bd8..51c1130c7b6 100644 --- a/cmk/base/legacy_checks/alcatel_timetra_cpu.py +++ b/cmk/base/legacy_checks/alcatel_timetra_cpu.py @@ -25,6 +25,7 @@ def parse_alcatel_timetra_cpu(string_table: StringTable) -> StringTable | None: check_info["alcatel_timetra_cpu"] = LegacyCheckDefinition( + name="alcatel_timetra_cpu", parse_function=parse_alcatel_timetra_cpu, detect=contains(".1.3.6.1.2.1.1.1.0", "TiMOS"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/allnet_ip_sensoric.py b/cmk/base/legacy_checks/allnet_ip_sensoric.py index 8c0121c8ad1..539fd8da7a9 100644 --- a/cmk/base/legacy_checks/allnet_ip_sensoric.py +++ b/cmk/base/legacy_checks/allnet_ip_sensoric.py @@ -102,6 +102,7 @@ def check_allnet_ip_sensoric_tension(item, _no_params, parsed): check_info["allnet_ip_sensoric.tension"] = LegacyCheckDefinition( + name="allnet_ip_sensoric_tension", # section already migrated! service_name="Electric Tension %s", sections=["allnet_ip_sensoric"], @@ -140,6 +141,7 @@ def check_allnet_ip_sensoric_temp(item, params, parsed): check_info["allnet_ip_sensoric.temp"] = LegacyCheckDefinition( + name="allnet_ip_sensoric_temp", # section already migrated! service_name="Temperature %s", sections=["allnet_ip_sensoric"], @@ -177,6 +179,7 @@ def check_allnet_ip_sensoric_humidity(item, params, parsed): check_info["allnet_ip_sensoric.humidity"] = LegacyCheckDefinition( + name="allnet_ip_sensoric_humidity", # section already migrated! service_name="Humidity %s", sections=["allnet_ip_sensoric"], @@ -222,6 +225,7 @@ def check_allnet_ip_sensoric_pressure(item, _no_params, parsed): check_info["allnet_ip_sensoric.pressure"] = LegacyCheckDefinition( + name="allnet_ip_sensoric_pressure", # section already migrated! service_name="Pressure %s", sections=["allnet_ip_sensoric"], diff --git a/cmk/base/legacy_checks/apc_ats_output.py b/cmk/base/legacy_checks/apc_ats_output.py index f7b49dfbf38..ec3a570f625 100644 --- a/cmk/base/legacy_checks/apc_ats_output.py +++ b/cmk/base/legacy_checks/apc_ats_output.py @@ -67,6 +67,7 @@ def check_apc_ats_output(item, params, parsed): check_info["apc_ats_output"] = LegacyCheckDefinition( + name="apc_ats_output", detect=DETECT_ATS, fetch=SNMPTree( base=".1.3.6.1.4.1.318.1.1.8.5.4.3.1", diff --git a/cmk/base/legacy_checks/apc_ats_status.py b/cmk/base/legacy_checks/apc_ats_status.py index 6fbd90739d0..3844e728ef0 100644 --- a/cmk/base/legacy_checks/apc_ats_status.py +++ b/cmk/base/legacy_checks/apc_ats_status.py @@ -85,6 +85,7 @@ def check_apc_ats_status(_no_item: Any, params: dict, parsed: Status) -> Iterabl check_info["apc_ats_status"] = LegacyCheckDefinition( + name="apc_ats_status", parse_function=parse_apc_ats_status, detect=DETECT_ATS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/apc_humidity.py b/cmk/base/legacy_checks/apc_humidity.py index 70dc441cc0e..48a3cd325a8 100644 --- a/cmk/base/legacy_checks/apc_humidity.py +++ b/cmk/base/legacy_checks/apc_humidity.py @@ -43,6 +43,7 @@ def parse_apc_humidity(string_table: StringTable) -> StringTable: check_info["apc_humidity"] = LegacyCheckDefinition( + name="apc_humidity", parse_function=parse_apc_humidity, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/apc_inrow_airflow.py b/cmk/base/legacy_checks/apc_inrow_airflow.py index aa08bbaea64..f44f44e41c7 100644 --- a/cmk/base/legacy_checks/apc_inrow_airflow.py +++ b/cmk/base/legacy_checks/apc_inrow_airflow.py @@ -53,6 +53,7 @@ def parse_apc_inrow_airflow(string_table: StringTable) -> StringTable: check_info["apc_inrow_airflow"] = LegacyCheckDefinition( + name="apc_inrow_airflow", parse_function=parse_apc_inrow_airflow, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/apc_inrow_temp.py b/cmk/base/legacy_checks/apc_inrow_temp.py index 4037f228f9c..0633a723159 100644 --- a/cmk/base/legacy_checks/apc_inrow_temp.py +++ b/cmk/base/legacy_checks/apc_inrow_temp.py @@ -45,6 +45,7 @@ def check_apc_inrow_temp(item, params, parsed): check_info["apc_inrow_temp"] = LegacyCheckDefinition( + name="apc_inrow_temp", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.318.1.1.13.3.2.2.2", diff --git a/cmk/base/legacy_checks/apc_rackpdu_power.py b/cmk/base/legacy_checks/apc_rackpdu_power.py index 89909250c1d..770f81b4d31 100644 --- a/cmk/base/legacy_checks/apc_rackpdu_power.py +++ b/cmk/base/legacy_checks/apc_rackpdu_power.py @@ -14,6 +14,7 @@ def discover_apc_rackpdu_power(section): check_info["apc_rackpdu_power"] = LegacyCheckDefinition( + name="apc_rackpdu_power", service_name="PDU %s", discovery_function=discover_apc_rackpdu_power, check_function=check_elphase, diff --git a/cmk/base/legacy_checks/apc_sts_inputs.py b/cmk/base/legacy_checks/apc_sts_inputs.py index 3cefef0b1c6..7dd63f8566d 100644 --- a/cmk/base/legacy_checks/apc_sts_inputs.py +++ b/cmk/base/legacy_checks/apc_sts_inputs.py @@ -54,6 +54,7 @@ def discover_apc_sts_inputs(section): check_info["apc_sts_inputs"] = LegacyCheckDefinition( + name="apc_sts_inputs", detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.705.2.2"), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/apc_symmetra.py b/cmk/base/legacy_checks/apc_symmetra.py index 51ed98abc35..58f9df3487f 100644 --- a/cmk/base/legacy_checks/apc_symmetra.py +++ b/cmk/base/legacy_checks/apc_symmetra.py @@ -284,6 +284,7 @@ def check_apc_symmetra(_no_item, params, parsed): # pylint: disable=too-many-br check_info["apc_symmetra"] = LegacyCheckDefinition( + name="apc_symmetra", detect=DETECT, fetch=[ SNMPTree( @@ -352,6 +353,7 @@ def check_apc_symmetra_temp(item, params, parsed): check_info["apc_symmetra.temp"] = LegacyCheckDefinition( + name="apc_symmetra_temp", service_name="Temperature %s", sections=["apc_symmetra"], discovery_function=inventory_apc_symmetra_temp, @@ -386,6 +388,7 @@ def check_apc_symmetra_elphase(item, params, parsed): check_info["apc_symmetra.elphase"] = LegacyCheckDefinition( + name="apc_symmetra_elphase", service_name="Phase %s", sections=["apc_symmetra"], discovery_function=inventory_apc_symmetra_elphase, diff --git a/cmk/base/legacy_checks/apc_symmetra_ext_temp.py b/cmk/base/legacy_checks/apc_symmetra_ext_temp.py index 4fb0313d219..19f3922cc18 100644 --- a/cmk/base/legacy_checks/apc_symmetra_ext_temp.py +++ b/cmk/base/legacy_checks/apc_symmetra_ext_temp.py @@ -34,6 +34,7 @@ def parse_apc_symmetra_ext_temp(string_table: StringTable) -> StringTable: check_info["apc_symmetra_ext_temp"] = LegacyCheckDefinition( + name="apc_symmetra_ext_temp", parse_function=parse_apc_symmetra_ext_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/apc_symmetra_input.py b/cmk/base/legacy_checks/apc_symmetra_input.py index 232c9508b18..729f025bbf4 100644 --- a/cmk/base/legacy_checks/apc_symmetra_input.py +++ b/cmk/base/legacy_checks/apc_symmetra_input.py @@ -29,6 +29,7 @@ def discover_apc_symmetra_input(section): check_info["apc_symmetra_input"] = LegacyCheckDefinition( + name="apc_symmetra_input", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.318.1.1.1.3.2", diff --git a/cmk/base/legacy_checks/apc_symmetra_output.py b/cmk/base/legacy_checks/apc_symmetra_output.py index 928751b261f..29b0522f318 100644 --- a/cmk/base/legacy_checks/apc_symmetra_output.py +++ b/cmk/base/legacy_checks/apc_symmetra_output.py @@ -39,6 +39,7 @@ def discover_apc_symmetra_output(section): check_info["apc_symmetra_output"] = LegacyCheckDefinition( + name="apc_symmetra_output", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.318.1.1.1.4.2", diff --git a/cmk/base/legacy_checks/apc_symmetra_test.py b/cmk/base/legacy_checks/apc_symmetra_test.py index 6feeff5aed6..45929ee7886 100644 --- a/cmk/base/legacy_checks/apc_symmetra_test.py +++ b/cmk/base/legacy_checks/apc_symmetra_test.py @@ -115,6 +115,7 @@ def parse_apc_symmetra_test(string_table: StringTable) -> StringTable: check_info["apc_symmetra_test"] = LegacyCheckDefinition( + name="apc_symmetra_test", parse_function=parse_apc_symmetra_test, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/appdynamics_memory.py b/cmk/base/legacy_checks/appdynamics_memory.py index 63958813c93..641dd32fcbe 100644 --- a/cmk/base/legacy_checks/appdynamics_memory.py +++ b/cmk/base/legacy_checks/appdynamics_memory.py @@ -111,6 +111,7 @@ def parse_appdynamics_memory(string_table: StringTable) -> StringTable: check_info["appdynamics_memory"] = LegacyCheckDefinition( + name="appdynamics_memory", parse_function=parse_appdynamics_memory, service_name="AppDynamics Memory %s", discovery_function=inventory_appdynamics_memory, diff --git a/cmk/base/legacy_checks/appdynamics_sessions.py b/cmk/base/legacy_checks/appdynamics_sessions.py index ca4e057b071..01f560c3226 100644 --- a/cmk/base/legacy_checks/appdynamics_sessions.py +++ b/cmk/base/legacy_checks/appdynamics_sessions.py @@ -61,6 +61,7 @@ def parse_appdynamics_sessions(string_table: StringTable) -> StringTable: check_info["appdynamics_sessions"] = LegacyCheckDefinition( + name="appdynamics_sessions", parse_function=parse_appdynamics_sessions, service_name="AppDynamics Sessions %s", discovery_function=inventory_appdynamics_sessions, diff --git a/cmk/base/legacy_checks/appdynamics_web_container.py b/cmk/base/legacy_checks/appdynamics_web_container.py index 25f18795828..2de4ee37e05 100644 --- a/cmk/base/legacy_checks/appdynamics_web_container.py +++ b/cmk/base/legacy_checks/appdynamics_web_container.py @@ -105,6 +105,7 @@ def check_appdynamics_web_container( check_info["appdynamics_web_container"] = LegacyCheckDefinition( + name="appdynamics_web_container", service_name="AppDynamics Web Container %s", parse_function=parse_appdynamics_web_container, discovery_function=discover_appdynamics_web_container, diff --git a/cmk/base/legacy_checks/arris_cmts_cpu.py b/cmk/base/legacy_checks/arris_cmts_cpu.py index 697d1d5d0a2..0eff2abc427 100644 --- a/cmk/base/legacy_checks/arris_cmts_cpu.py +++ b/cmk/base/legacy_checks/arris_cmts_cpu.py @@ -48,6 +48,7 @@ def parse_arris_cmts_cpu(string_table: StringTable) -> StringTable: check_info["arris_cmts_cpu"] = LegacyCheckDefinition( + name="arris_cmts_cpu", parse_function=parse_arris_cmts_cpu, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4998.2.1"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/arris_cmts_mem.py b/cmk/base/legacy_checks/arris_cmts_mem.py index bba712b79f2..68a4668fe8d 100644 --- a/cmk/base/legacy_checks/arris_cmts_mem.py +++ b/cmk/base/legacy_checks/arris_cmts_mem.py @@ -48,6 +48,7 @@ def check_arris_cmts_mem(item, params, parsed): check_info["arris_cmts_mem"] = LegacyCheckDefinition( + name="arris_cmts_mem", detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4998.2.1"), fetch=SNMPTree( base=".1.3.6.1.4.1.4998.1.1.5.3.2.1.1", diff --git a/cmk/base/legacy_checks/arris_cmts_temp.py b/cmk/base/legacy_checks/arris_cmts_temp.py index 92def4eb76d..eb0070f42e5 100644 --- a/cmk/base/legacy_checks/arris_cmts_temp.py +++ b/cmk/base/legacy_checks/arris_cmts_temp.py @@ -31,6 +31,7 @@ def parse_arris_cmts_temp(string_table: StringTable) -> StringTable: check_info["arris_cmts_temp"] = LegacyCheckDefinition( + name="arris_cmts_temp", parse_function=parse_arris_cmts_temp, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4998.2.1"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/artec_temp.py b/cmk/base/legacy_checks/artec_temp.py index ff4f5889dd0..e274eea7e8f 100644 --- a/cmk/base/legacy_checks/artec_temp.py +++ b/cmk/base/legacy_checks/artec_temp.py @@ -28,6 +28,7 @@ def parse_artec_temp(string_table: StringTable) -> StringTable | None: check_info["artec_temp"] = LegacyCheckDefinition( + name="artec_temp", parse_function=parse_artec_temp, detect=all_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.8072.3.2.10"), diff --git a/cmk/base/legacy_checks/aruba_cpu_util.py b/cmk/base/legacy_checks/aruba_cpu_util.py index d9204b30464..8283be5453c 100644 --- a/cmk/base/legacy_checks/aruba_cpu_util.py +++ b/cmk/base/legacy_checks/aruba_cpu_util.py @@ -37,6 +37,7 @@ def discover_aruba_cpu_util(section): check_info["aruba_cpu_util"] = LegacyCheckDefinition( + name="aruba_cpu_util", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.14823"), fetch=SNMPTree( base=".1.3.6.1.4.1.14823.2.2.1.1.1.9.1", diff --git a/cmk/base/legacy_checks/atto_fibrebridge_chassis.py b/cmk/base/legacy_checks/atto_fibrebridge_chassis.py index b264d34f309..e6e2b4efeeb 100644 --- a/cmk/base/legacy_checks/atto_fibrebridge_chassis.py +++ b/cmk/base/legacy_checks/atto_fibrebridge_chassis.py @@ -54,6 +54,7 @@ def check_atto_fibrebridge_chassis_temp(item, params, parsed): check_info["atto_fibrebridge_chassis.temp"] = LegacyCheckDefinition( + name="atto_fibrebridge_chassis_temp", service_name="Temperature %s", sections=["atto_fibrebridge_chassis"], discovery_function=inventory_atto_fibrebridge_chassis_temp, @@ -86,6 +87,7 @@ def check_atto_fibrebridge_chassis(_no_item, _no_params, parsed): check_info["atto_fibrebridge_chassis"] = LegacyCheckDefinition( + name="atto_fibrebridge_chassis", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4547"), fetch=SNMPTree( base=".1.3.6.1.4.1.4547.2.3.2", diff --git a/cmk/base/legacy_checks/atto_fibrebridge_fcport.py b/cmk/base/legacy_checks/atto_fibrebridge_fcport.py index e54085fd16a..ca04d503e13 100644 --- a/cmk/base/legacy_checks/atto_fibrebridge_fcport.py +++ b/cmk/base/legacy_checks/atto_fibrebridge_fcport.py @@ -40,6 +40,7 @@ def parse_atto_fibrebridge_fcport(string_table: StringTable) -> StringTable: check_info["atto_fibrebridge_fcport"] = LegacyCheckDefinition( + name="atto_fibrebridge_fcport", parse_function=parse_atto_fibrebridge_fcport, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4547"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/avaya_45xx_cpu.py b/cmk/base/legacy_checks/avaya_45xx_cpu.py index 96d4a425036..00025b31ce9 100644 --- a/cmk/base/legacy_checks/avaya_45xx_cpu.py +++ b/cmk/base/legacy_checks/avaya_45xx_cpu.py @@ -31,6 +31,7 @@ def parse_avaya_45xx_cpu(string_table: StringTable) -> StringTable: check_info["avaya_45xx_cpu"] = LegacyCheckDefinition( + name="avaya_45xx_cpu", parse_function=parse_avaya_45xx_cpu, detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.45.3"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/avaya_45xx_temp.py b/cmk/base/legacy_checks/avaya_45xx_temp.py index e7e3322fdf3..ac83f08ba11 100644 --- a/cmk/base/legacy_checks/avaya_45xx_temp.py +++ b/cmk/base/legacy_checks/avaya_45xx_temp.py @@ -28,6 +28,7 @@ def parse_avaya_45xx_temp(string_table: StringTable) -> StringTable: check_info["avaya_45xx_temp"] = LegacyCheckDefinition( + name="avaya_45xx_temp", parse_function=parse_avaya_45xx_temp, detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.45.3"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/avaya_88xx.py b/cmk/base/legacy_checks/avaya_88xx.py index ec574a72941..caaa449e5d5 100644 --- a/cmk/base/legacy_checks/avaya_88xx.py +++ b/cmk/base/legacy_checks/avaya_88xx.py @@ -63,6 +63,7 @@ def check_avaya_88xx(item, params, parsed): check_info["avaya_88xx"] = LegacyCheckDefinition( + name="avaya_88xx", detect=DETECT_AVAYA, # RAPID-CITY MIB, fetch=SNMPTree( @@ -80,6 +81,7 @@ def check_avaya_88xx(item, params, parsed): ) check_info["avaya_88xx.fan"] = LegacyCheckDefinition( + name="avaya_88xx_fan", service_name="Fan %s Status", sections=["avaya_88xx"], discovery_function=inventory_avaya_88xx_fan, diff --git a/cmk/base/legacy_checks/avaya_88xx_cpu.py b/cmk/base/legacy_checks/avaya_88xx_cpu.py index fb4e05215f4..d43249c8a68 100644 --- a/cmk/base/legacy_checks/avaya_88xx_cpu.py +++ b/cmk/base/legacy_checks/avaya_88xx_cpu.py @@ -29,6 +29,7 @@ def parse_avaya_88xx_cpu(string_table: StringTable) -> StringTable | None: check_info["avaya_88xx_cpu"] = LegacyCheckDefinition( + name="avaya_88xx_cpu", parse_function=parse_avaya_88xx_cpu, detect=DETECT_AVAYA, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/avaya_chassis_temp.py b/cmk/base/legacy_checks/avaya_chassis_temp.py index d33917d0f27..e76b9b104c9 100644 --- a/cmk/base/legacy_checks/avaya_chassis_temp.py +++ b/cmk/base/legacy_checks/avaya_chassis_temp.py @@ -27,6 +27,7 @@ def parse_avaya_chassis_temp(string_table: StringTable) -> StringTable: check_info["avaya_chassis_temp"] = LegacyCheckDefinition( + name="avaya_chassis_temp", parse_function=parse_avaya_chassis_temp, detect=DETECT_AVAYA, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/aws_cloudwatch_alarms_limits.py b/cmk/base/legacy_checks/aws_cloudwatch_alarms_limits.py index ad56591fe7d..ebe6f9d70d8 100644 --- a/cmk/base/legacy_checks/aws_cloudwatch_alarms_limits.py +++ b/cmk/base/legacy_checks/aws_cloudwatch_alarms_limits.py @@ -20,6 +20,7 @@ def discover_aws_cloudwatch_alarms_limits(section): check_info["aws_cloudwatch_alarms_limits"] = LegacyCheckDefinition( + name="aws_cloudwatch_alarms_limits", parse_function=parse_aws_limits_generic, service_name="AWS/CloudWatch Alarms Limits %s", discovery_function=discover_aws_cloudwatch_alarms_limits, diff --git a/cmk/base/legacy_checks/aws_costs_and_usage.py b/cmk/base/legacy_checks/aws_costs_and_usage.py index e2056b7217c..67eaf84b9fd 100644 --- a/cmk/base/legacy_checks/aws_costs_and_usage.py +++ b/cmk/base/legacy_checks/aws_costs_and_usage.py @@ -73,6 +73,7 @@ def check_aws_costs_and_usage_summary(item, params, parsed): check_info["aws_costs_and_usage"] = LegacyCheckDefinition( + name="aws_costs_and_usage", parse_function=parse_aws_costs_and_usage, service_name="AWS/CE %s", discovery_function=inventory_aws_costs_and_usage_summary, @@ -117,6 +118,7 @@ def check_aws_costs_and_usage_per_service(item, params, parsed): check_info["aws_costs_and_usage.per_service"] = LegacyCheckDefinition( + name="aws_costs_and_usage_per_service", service_name="AWS/CE %s", sections=["aws_costs_and_usage"], discovery_function=inventory_aws_costs_and_usage_per_service, diff --git a/cmk/base/legacy_checks/aws_dynamodb_limits.py b/cmk/base/legacy_checks/aws_dynamodb_limits.py index 6ac5b3e903e..1f16aeb7ae6 100644 --- a/cmk/base/legacy_checks/aws_dynamodb_limits.py +++ b/cmk/base/legacy_checks/aws_dynamodb_limits.py @@ -20,6 +20,7 @@ def discover_aws_dynamodb_limits(section): check_info["aws_dynamodb_limits"] = LegacyCheckDefinition( + name="aws_dynamodb_limits", parse_function=parse_aws_limits_generic, service_name="AWS/DynamoDB Limits %s", discovery_function=discover_aws_dynamodb_limits, diff --git a/cmk/base/legacy_checks/aws_dynamodb_summary.py b/cmk/base/legacy_checks/aws_dynamodb_summary.py index 45f45fdbb71..aff1fb831d8 100644 --- a/cmk/base/legacy_checks/aws_dynamodb_summary.py +++ b/cmk/base/legacy_checks/aws_dynamodb_summary.py @@ -54,6 +54,7 @@ def check_aws_dynamodb_summary(item, params, parsed): check_info["aws_dynamodb_summary"] = LegacyCheckDefinition( + name="aws_dynamodb_summary", parse_function=parse_aws, service_name="AWS/DynamoDB Summary", discovery_function=discover_aws_dynamodb_summary, diff --git a/cmk/base/legacy_checks/aws_dynamodb_table.py b/cmk/base/legacy_checks/aws_dynamodb_table.py index 1e5f0291acd..995e8be65bb 100644 --- a/cmk/base/legacy_checks/aws_dynamodb_table.py +++ b/cmk/base/legacy_checks/aws_dynamodb_table.py @@ -46,6 +46,7 @@ def parse_aws_dynamodb_table(string_table): check_info["aws_dynamodb_table"] = LegacyCheckDefinition( + name="aws_dynamodb_table", parse_function=parse_aws_dynamodb_table, ) @@ -176,6 +177,7 @@ def discover_aws_dynamodb_table_read_capacity(p): check_info["aws_dynamodb_table.read_capacity"] = LegacyCheckDefinition( + name="aws_dynamodb_table_read_capacity", service_name="AWS/DynamoDB Read Capacity", sections=["aws_dynamodb_table"], discovery_function=discover_aws_dynamodb_table_read_capacity, @@ -201,6 +203,7 @@ def discover_aws_dynamodb_table_write_capacity(p): check_info["aws_dynamodb_table.write_capacity"] = LegacyCheckDefinition( + name="aws_dynamodb_table_write_capacity", service_name="AWS/DynamoDB Write Capacity", sections=["aws_dynamodb_table"], discovery_function=discover_aws_dynamodb_table_write_capacity, @@ -221,6 +224,7 @@ def discover_aws_dynamodb_table_write_capacity(p): ) check_info["aws_dynamodb_table.latency"] = LegacyCheckDefinition( + name="aws_dynamodb_table_latency", service_name="AWS/DynamoDB Latency", sections=["aws_dynamodb_table"], discovery_function=inventory_aws_dynamodb_latency, diff --git a/cmk/base/legacy_checks/aws_ebs_summary.py b/cmk/base/legacy_checks/aws_ebs_summary.py index a1546c713c1..b7e999f5c78 100644 --- a/cmk/base/legacy_checks/aws_ebs_summary.py +++ b/cmk/base/legacy_checks/aws_ebs_summary.py @@ -74,6 +74,7 @@ def check_aws_ebs_summary(item, params, parsed): check_info["aws_ebs_summary"] = LegacyCheckDefinition( + name="aws_ebs_summary", parse_function=parse_aws_summary, service_name="AWS/EBS Summary", discovery_function=discover_aws_ebs_summary, @@ -106,6 +107,7 @@ def discover_aws_ebs_summary_health(p): check_info["aws_ebs_summary.health"] = LegacyCheckDefinition( + name="aws_ebs_summary_health", service_name="AWS/EBS Health %s", sections=["aws_ebs_summary"], discovery_function=discover_aws_ebs_summary_health, diff --git a/cmk/base/legacy_checks/aws_ec2_limits.py b/cmk/base/legacy_checks/aws_ec2_limits.py index df49b1b60a6..0a092debdc0 100644 --- a/cmk/base/legacy_checks/aws_ec2_limits.py +++ b/cmk/base/legacy_checks/aws_ec2_limits.py @@ -50,6 +50,7 @@ def discover_aws_ec2_limits(section): check_info["aws_ec2_limits"] = LegacyCheckDefinition( + name="aws_ec2_limits", parse_function=parse_aws_limits_generic, service_name="AWS/EC2 Limits %s", discovery_function=discover_aws_ec2_limits, diff --git a/cmk/base/legacy_checks/aws_ec2_security_groups.py b/cmk/base/legacy_checks/aws_ec2_security_groups.py index 0bfaedc7cee..a282880bba0 100644 --- a/cmk/base/legacy_checks/aws_ec2_security_groups.py +++ b/cmk/base/legacy_checks/aws_ec2_security_groups.py @@ -30,6 +30,7 @@ def check_aws_ec2_security_groups(item, params, parsed): check_info["aws_ec2_security_groups"] = LegacyCheckDefinition( + name="aws_ec2_security_groups", parse_function=parse_aws, service_name="AWS/EC2 Security Groups", discovery_function=inventory_aws_ec2_security_groups, diff --git a/cmk/base/legacy_checks/aws_elb.py b/cmk/base/legacy_checks/aws_elb.py index e4caf0943d6..75b33773a4d 100644 --- a/cmk/base/legacy_checks/aws_elb.py +++ b/cmk/base/legacy_checks/aws_elb.py @@ -93,6 +93,7 @@ def discover_aws_elb(p): check_info["aws_elb"] = LegacyCheckDefinition( + name="aws_elb", parse_function=parse_aws_elb, service_name="AWS/ELB Statistics", discovery_function=discover_aws_elb, @@ -133,6 +134,7 @@ def discover_aws_elb_latency(p): check_info["aws_elb.latency"] = LegacyCheckDefinition( + name="aws_elb_latency", service_name="AWS/ELB Latency", sections=["aws_elb"], discovery_function=discover_aws_elb_latency, @@ -165,6 +167,7 @@ def discover_aws_elb_http_elb(p): check_info["aws_elb.http_elb"] = LegacyCheckDefinition( + name="aws_elb_http_elb", service_name="AWS/ELB HTTP ELB", sections=["aws_elb"], discovery_function=discover_aws_elb_http_elb, @@ -197,6 +200,7 @@ def discover_aws_elb_http_backend(p): check_info["aws_elb.http_backend"] = LegacyCheckDefinition( + name="aws_elb_http_backend", service_name="AWS/ELB HTTP Backend", sections=["aws_elb"], discovery_function=discover_aws_elb_http_backend, @@ -263,6 +267,7 @@ def discover_aws_elb_healthy_hosts(p): check_info["aws_elb.healthy_hosts"] = LegacyCheckDefinition( + name="aws_elb_healthy_hosts", service_name="AWS/ELB Healthy Hosts", sections=["aws_elb"], discovery_function=discover_aws_elb_healthy_hosts, @@ -306,6 +311,7 @@ def discover_aws_elb_backend_connection_errors(p): check_info["aws_elb.backend_connection_errors"] = LegacyCheckDefinition( + name="aws_elb_backend_connection_errors", service_name="AWS/ELB Backend Connection Errors", sections=["aws_elb"], discovery_function=discover_aws_elb_backend_connection_errors, diff --git a/cmk/base/legacy_checks/aws_elb_health.py b/cmk/base/legacy_checks/aws_elb_health.py index 4dcad3c6377..eb488ec4184 100644 --- a/cmk/base/legacy_checks/aws_elb_health.py +++ b/cmk/base/legacy_checks/aws_elb_health.py @@ -48,6 +48,7 @@ def check_aws_elb_health(item, params, parsed): check_info["aws_elb_health"] = LegacyCheckDefinition( + name="aws_elb_health", parse_function=parse_aws_elb_health, service_name="AWS/ELB Health ", discovery_function=discover_aws_elb_health, diff --git a/cmk/base/legacy_checks/aws_elb_limits.py b/cmk/base/legacy_checks/aws_elb_limits.py index 5bb47d39d33..563cf733a64 100644 --- a/cmk/base/legacy_checks/aws_elb_limits.py +++ b/cmk/base/legacy_checks/aws_elb_limits.py @@ -20,6 +20,7 @@ def discover_aws_elb_limits(section): check_info["aws_elb_limits"] = LegacyCheckDefinition( + name="aws_elb_limits", parse_function=parse_aws_limits_generic, service_name="AWS/ELB Limits %s", discovery_function=discover_aws_elb_limits, diff --git a/cmk/base/legacy_checks/aws_elb_summary.py b/cmk/base/legacy_checks/aws_elb_summary.py index 3d8cd7ac2ef..d1980a7d19c 100644 --- a/cmk/base/legacy_checks/aws_elb_summary.py +++ b/cmk/base/legacy_checks/aws_elb_summary.py @@ -18,6 +18,7 @@ def discover_aws_elb_summary(section: GenericAWSSection) -> Iterable[tuple[None, check_info["aws_elb_summary"] = LegacyCheckDefinition( + name="aws_elb_summary", parse_function=parse_aws, service_name="AWS/ELB Summary", discovery_function=discover_aws_elb_summary, diff --git a/cmk/base/legacy_checks/aws_elbv2_application.py b/cmk/base/legacy_checks/aws_elbv2_application.py index 580efdfa6fe..9ce1c62676c 100644 --- a/cmk/base/legacy_checks/aws_elbv2_application.py +++ b/cmk/base/legacy_checks/aws_elbv2_application.py @@ -81,6 +81,7 @@ def discover_aws_elbv2_application(p): check_info["aws_elbv2_application"] = LegacyCheckDefinition( + name="aws_elbv2_application", parse_function=parse_aws_elbv2_application, service_name="AWS/ApplicationELB LCUs", discovery_function=discover_aws_elbv2_application, @@ -140,6 +141,7 @@ def discover_aws_elbv2_application_connections(p): check_info["aws_elbv2_application.connections"] = LegacyCheckDefinition( + name="aws_elbv2_application_connections", service_name="AWS/ApplicationELB Connections", sections=["aws_elbv2_application"], discovery_function=discover_aws_elbv2_application_connections, @@ -171,6 +173,7 @@ def discover_aws_elbv2_application_http_elb(p): check_info["aws_elbv2_application.http_elb"] = LegacyCheckDefinition( + name="aws_elbv2_application_http_elb", service_name="AWS/ApplicationELB HTTP ELB", sections=["aws_elbv2_application"], discovery_function=discover_aws_elbv2_application_http_elb, @@ -223,6 +226,7 @@ def discover_aws_elbv2_application_http_redirects(p): check_info["aws_elbv2_application.http_redirects"] = LegacyCheckDefinition( + name="aws_elbv2_application_http_redirects", service_name="AWS/ApplicationELB HTTP Redirects", sections=["aws_elbv2_application"], discovery_function=discover_aws_elbv2_application_http_redirects, @@ -283,6 +287,7 @@ def discover_aws_elbv2_application_statistics(p): check_info["aws_elbv2_application.statistics"] = LegacyCheckDefinition( + name="aws_elbv2_application_statistics", service_name="AWS/ApplicationELB Statistics", sections=["aws_elbv2_application"], discovery_function=discover_aws_elbv2_application_statistics, diff --git a/cmk/base/legacy_checks/aws_elbv2_application_target_groups_http.py b/cmk/base/legacy_checks/aws_elbv2_application_target_groups_http.py index 4e453dc4a25..77b1830ba33 100644 --- a/cmk/base/legacy_checks/aws_elbv2_application_target_groups_http.py +++ b/cmk/base/legacy_checks/aws_elbv2_application_target_groups_http.py @@ -40,6 +40,7 @@ def check_aws_application_elb_target_groups_http(item, params, section): check_info["aws_elbv2_application_target_groups_http"] = LegacyCheckDefinition( + name="aws_elbv2_application_target_groups_http", parse_function=parse_aws_elbv2_target_groups_http, service_name="AWS/ApplicationELB HTTP %s", discovery_function=discover_aws_application_elb_target_groups_http, diff --git a/cmk/base/legacy_checks/aws_elbv2_application_target_groups_lambda.py b/cmk/base/legacy_checks/aws_elbv2_application_target_groups_lambda.py index 8d606f9790b..69428f7fd1c 100644 --- a/cmk/base/legacy_checks/aws_elbv2_application_target_groups_lambda.py +++ b/cmk/base/legacy_checks/aws_elbv2_application_target_groups_lambda.py @@ -50,6 +50,7 @@ def check_aws_application_elb_target_groups_lambda(item, params, section): check_info["aws_elbv2_application_target_groups_lambda"] = LegacyCheckDefinition( + name="aws_elbv2_application_target_groups_lambda", parse_function=parse_aws_elbv2_target_groups_lambda, service_name="AWS/ApplicationELB Lambda %s", discovery_function=discover_aws_elbv2_target_groups_lambda, diff --git a/cmk/base/legacy_checks/aws_elbv2_limits.py b/cmk/base/legacy_checks/aws_elbv2_limits.py index f4ab66d8455..b88a422577c 100644 --- a/cmk/base/legacy_checks/aws_elbv2_limits.py +++ b/cmk/base/legacy_checks/aws_elbv2_limits.py @@ -20,6 +20,7 @@ def discover_aws_elbv2_limits(section): check_info["aws_elbv2_limits"] = LegacyCheckDefinition( + name="aws_elbv2_limits", parse_function=parse_aws_limits_generic, service_name="AWS/ELBv2 Limits %s", discovery_function=discover_aws_elbv2_limits, diff --git a/cmk/base/legacy_checks/aws_elbv2_network.py b/cmk/base/legacy_checks/aws_elbv2_network.py index f49846edf00..f7e3b03becf 100644 --- a/cmk/base/legacy_checks/aws_elbv2_network.py +++ b/cmk/base/legacy_checks/aws_elbv2_network.py @@ -74,6 +74,7 @@ def discover_aws_elbv2_network(p): check_info["aws_elbv2_network"] = LegacyCheckDefinition( + name="aws_elbv2_network", parse_function=parse_aws_elbv2_network, service_name="AWS/NetworkELB LCUs", discovery_function=discover_aws_elbv2_network, @@ -126,6 +127,7 @@ def discover_aws_elbv2_network_connections(p): check_info["aws_elbv2_network.connections"] = LegacyCheckDefinition( + name="aws_elbv2_network_connections", service_name="AWS/NetworkELB Connections", sections=["aws_elbv2_network"], discovery_function=discover_aws_elbv2_network_connections, @@ -229,6 +231,7 @@ def discover_aws_elbv2_network_tls_handshakes(p): check_info["aws_elbv2_network.tls_handshakes"] = LegacyCheckDefinition( + name="aws_elbv2_network_tls_handshakes", service_name="AWS/NetworkELB TLS Handshakes", sections=["aws_elbv2_network"], discovery_function=discover_aws_elbv2_network_tls_handshakes, @@ -278,6 +281,7 @@ def discover_aws_elbv2_network_rst_packets(p): check_info["aws_elbv2_network.rst_packets"] = LegacyCheckDefinition( + name="aws_elbv2_network_rst_packets", service_name="AWS/NetworkELB Reset Packets", sections=["aws_elbv2_network"], discovery_function=discover_aws_elbv2_network_rst_packets, @@ -327,6 +331,7 @@ def discover_aws_elbv2_network_statistics(p): check_info["aws_elbv2_network.statistics"] = LegacyCheckDefinition( + name="aws_elbv2_network_statistics", service_name="AWS/NetworkELB Statistics", sections=["aws_elbv2_network"], discovery_function=discover_aws_elbv2_network_statistics, diff --git a/cmk/base/legacy_checks/aws_elbv2_summary.py b/cmk/base/legacy_checks/aws_elbv2_summary.py index 7aaa4cabb86..00d42da46d5 100644 --- a/cmk/base/legacy_checks/aws_elbv2_summary.py +++ b/cmk/base/legacy_checks/aws_elbv2_summary.py @@ -33,6 +33,7 @@ def check_aws_elbv2_summary_application(item, params, parsed): check_info["aws_elbv2_summary"] = LegacyCheckDefinition( + name="aws_elbv2_summary", parse_function=parse_aws_elbv2_summary, service_name="AWS/ApplicationELB Summary", discovery_function=inventory_aws_elbv2_summary_application, @@ -53,6 +54,7 @@ def check_aws_elbv2_summary_network(item, params, parsed): check_info["aws_elbv2_summary.network"] = LegacyCheckDefinition( + name="aws_elbv2_summary_network", service_name="AWS/NetworkELB Summary", sections=["aws_elbv2_summary"], discovery_function=inventory_aws_elbv2_summary_network, diff --git a/cmk/base/legacy_checks/aws_elbv2_target_groups.py b/cmk/base/legacy_checks/aws_elbv2_target_groups.py index 249180bed76..0fc8e14199b 100644 --- a/cmk/base/legacy_checks/aws_elbv2_target_groups.py +++ b/cmk/base/legacy_checks/aws_elbv2_target_groups.py @@ -89,6 +89,7 @@ def check_aws_application_elb_target_groups(item, params, parsed): check_info["aws_elbv2_target_groups"] = LegacyCheckDefinition( + name="aws_elbv2_target_groups", parse_function=parse_aws_elbv2_target_groups, service_name="AWS/ApplicationELB Target Groups", discovery_function=inventory_aws_application_elb_target_groups, @@ -109,6 +110,7 @@ def check_aws_network_elb_target_groups(item, params, parsed): check_info["aws_elbv2_target_groups.network"] = LegacyCheckDefinition( + name="aws_elbv2_target_groups_network", service_name="AWS/NetworkELB Target Groups", sections=["aws_elbv2_target_groups"], discovery_function=inventory_aws_network_elb_target_groups, diff --git a/cmk/base/legacy_checks/aws_glacier.py b/cmk/base/legacy_checks/aws_glacier.py index a225349c981..04e77ec3761 100644 --- a/cmk/base/legacy_checks/aws_glacier.py +++ b/cmk/base/legacy_checks/aws_glacier.py @@ -71,6 +71,7 @@ def check_aws_glacier_archives(item, params, parsed): check_info["aws_glacier"] = LegacyCheckDefinition( + name="aws_glacier", parse_function=parse_aws_glacier, service_name="AWS/Glacier Vault: %s", discovery_function=inventory_aws_glacier, @@ -128,6 +129,7 @@ def check_aws_glacier_summary(item, params, parsed): check_info["aws_glacier.summary"] = LegacyCheckDefinition( + name="aws_glacier_summary", service_name="AWS/Glacier Summary", sections=["aws_glacier"], discovery_function=discover_aws_glacier_summary, diff --git a/cmk/base/legacy_checks/aws_glacier_limits.py b/cmk/base/legacy_checks/aws_glacier_limits.py index 83a77095ae5..91291b87874 100644 --- a/cmk/base/legacy_checks/aws_glacier_limits.py +++ b/cmk/base/legacy_checks/aws_glacier_limits.py @@ -30,6 +30,7 @@ def discover_aws_glacier_limits(section): check_info["aws_glacier_limits"] = LegacyCheckDefinition( + name="aws_glacier_limits", parse_function=parse_aws_limits_generic, service_name="AWS/Glacier Limits %s", discovery_function=discover_aws_glacier_limits, diff --git a/cmk/base/legacy_checks/aws_rds_limits.py b/cmk/base/legacy_checks/aws_rds_limits.py index 0dfd3ea4a24..4cc81ad4b8a 100644 --- a/cmk/base/legacy_checks/aws_rds_limits.py +++ b/cmk/base/legacy_checks/aws_rds_limits.py @@ -43,6 +43,7 @@ def discover_aws_rds_limits(section): check_info["aws_rds_limits"] = LegacyCheckDefinition( + name="aws_rds_limits", parse_function=parse_aws_rds_limits, service_name="AWS/RDS Limits %s", discovery_function=discover_aws_rds_limits, diff --git a/cmk/base/legacy_checks/aws_rds_summary.py b/cmk/base/legacy_checks/aws_rds_summary.py index cf2d46d6528..0b063f28a83 100644 --- a/cmk/base/legacy_checks/aws_rds_summary.py +++ b/cmk/base/legacy_checks/aws_rds_summary.py @@ -54,6 +54,7 @@ def check_aws_rds_summary(item, params, parsed): check_info["aws_rds_summary"] = LegacyCheckDefinition( + name="aws_rds_summary", parse_function=parse_aws_rds_summary, service_name="AWS/RDS Summary", discovery_function=discover_aws_rds_summary, @@ -100,6 +101,7 @@ def discover_aws_rds_summary_db_status(p): check_info["aws_rds_summary.db_status"] = LegacyCheckDefinition( + name="aws_rds_summary_db_status", service_name="AWS/RDS %s Info", sections=["aws_rds_summary"], discovery_function=discover_aws_rds_summary_db_status, diff --git a/cmk/base/legacy_checks/aws_s3.py b/cmk/base/legacy_checks/aws_s3.py index 47d909ca1fa..328d43f46ff 100644 --- a/cmk/base/legacy_checks/aws_s3.py +++ b/cmk/base/legacy_checks/aws_s3.py @@ -87,6 +87,7 @@ def discover_aws_s3(p): check_info["aws_s3"] = LegacyCheckDefinition( + name="aws_s3", parse_function=parse_aws_s3, service_name="AWS/S3 Objects %s", discovery_function=discover_aws_s3, @@ -140,6 +141,7 @@ def check_aws_s3_summary(item, params, parsed): check_info["aws_s3.summary"] = LegacyCheckDefinition( + name="aws_s3_summary", service_name="AWS/S3 Summary", sections=["aws_s3"], discovery_function=discover_aws_s3_summary, diff --git a/cmk/base/legacy_checks/aws_s3_limits.py b/cmk/base/legacy_checks/aws_s3_limits.py index 585b506f72a..6d22112c9dd 100644 --- a/cmk/base/legacy_checks/aws_s3_limits.py +++ b/cmk/base/legacy_checks/aws_s3_limits.py @@ -20,6 +20,7 @@ def discover_aws_s3_limits(section): check_info["aws_s3_limits"] = LegacyCheckDefinition( + name="aws_s3_limits", parse_function=parse_aws_limits_generic, service_name="AWS/S3 Limits %s", discovery_function=discover_aws_s3_limits, diff --git a/cmk/base/legacy_checks/aws_s3_requests.py b/cmk/base/legacy_checks/aws_s3_requests.py index 406f679083e..8d373797963 100644 --- a/cmk/base/legacy_checks/aws_s3_requests.py +++ b/cmk/base/legacy_checks/aws_s3_requests.py @@ -97,6 +97,7 @@ def discover_aws_s3_requests(p): check_info["aws_s3_requests"] = LegacyCheckDefinition( + name="aws_s3_requests", parse_function=parse_aws_s3, service_name="AWS/S3 Requests %s", discovery_function=discover_aws_s3_requests, @@ -131,6 +132,7 @@ def discover_aws_s3_requests_http_errors(p): check_info["aws_s3_requests.http_errors"] = LegacyCheckDefinition( + name="aws_s3_requests_http_errors", service_name="AWS/S3 HTTP Errors %s", sections=["aws_s3_requests"], discovery_function=discover_aws_s3_requests_http_errors, @@ -185,6 +187,7 @@ def discover_aws_s3_requests_latency(p): check_info["aws_s3_requests.latency"] = LegacyCheckDefinition( + name="aws_s3_requests_latency", service_name="AWS/S3 Latency %s", sections=["aws_s3_requests"], discovery_function=discover_aws_s3_requests_latency, @@ -226,6 +229,7 @@ def discover_aws_s3_requests_traffic_stats(p): check_info["aws_s3_requests.traffic_stats"] = LegacyCheckDefinition( + name="aws_s3_requests_traffic_stats", service_name="AWS/S3 Traffic Stats %s", sections=["aws_s3_requests"], discovery_function=discover_aws_s3_requests_traffic_stats, @@ -266,6 +270,7 @@ def discover_aws_s3_requests_select_object(p): check_info["aws_s3_requests.select_object"] = LegacyCheckDefinition( + name="aws_s3_requests_select_object", service_name="AWS/S3 SELECT Object %s", sections=["aws_s3_requests"], discovery_function=discover_aws_s3_requests_select_object, diff --git a/cmk/base/legacy_checks/aws_wafv2_limits.py b/cmk/base/legacy_checks/aws_wafv2_limits.py index 36a717c91c3..83920219cd9 100644 --- a/cmk/base/legacy_checks/aws_wafv2_limits.py +++ b/cmk/base/legacy_checks/aws_wafv2_limits.py @@ -20,6 +20,7 @@ def discover_aws_wafv2_limits(section): check_info["aws_wafv2_limits"] = LegacyCheckDefinition( + name="aws_wafv2_limits", parse_function=parse_aws_limits_generic, service_name="AWS/WAFV2 Limits %s", discovery_function=discover_aws_wafv2_limits, diff --git a/cmk/base/legacy_checks/aws_wafv2_summary.py b/cmk/base/legacy_checks/aws_wafv2_summary.py index 23190421734..2177d09958b 100644 --- a/cmk/base/legacy_checks/aws_wafv2_summary.py +++ b/cmk/base/legacy_checks/aws_wafv2_summary.py @@ -58,6 +58,7 @@ def check_aws_wafv2_summary(item, params, parsed): check_info["aws_wafv2_summary"] = LegacyCheckDefinition( + name="aws_wafv2_summary", parse_function=parse_aws, service_name="AWS/WAFV2 Summary", discovery_function=discover_aws_wafv2_summary, diff --git a/cmk/base/legacy_checks/aws_wafv2_web_acl.py b/cmk/base/legacy_checks/aws_wafv2_web_acl.py index 64a61e3c597..79ffce0a52b 100644 --- a/cmk/base/legacy_checks/aws_wafv2_web_acl.py +++ b/cmk/base/legacy_checks/aws_wafv2_web_acl.py @@ -75,6 +75,7 @@ def discover_aws_wafv2_web_acl(p): check_info["aws_wafv2_web_acl"] = LegacyCheckDefinition( + name="aws_wafv2_web_acl", parse_function=parse_aws_wafv2_web_acl, service_name="AWS/WAFV2 Web ACL Requests", discovery_function=discover_aws_wafv2_web_acl, diff --git a/cmk/base/legacy_checks/azure_ad.py b/cmk/base/legacy_checks/azure_ad.py index e47c979e961..e65d40b4950 100644 --- a/cmk/base/legacy_checks/azure_ad.py +++ b/cmk/base/legacy_checks/azure_ad.py @@ -77,6 +77,7 @@ def check_azure_users(item, _no_params, parsed): check_info["azure_ad"] = LegacyCheckDefinition( + name="azure_ad", parse_function=parse_azure_ad, service_name="AD Users", discovery_function=discover_ad_users, @@ -132,6 +133,7 @@ def check_azure_sync(item, params, parsed): check_info["azure_ad.sync"] = LegacyCheckDefinition( + name="azure_ad_sync", service_name="AD Sync %s", sections=["azure_ad"], discovery_function=discover_sync, diff --git a/cmk/base/legacy_checks/azure_agent_info.py b/cmk/base/legacy_checks/azure_agent_info.py index 8ee333c7767..b87ad65140a 100644 --- a/cmk/base/legacy_checks/azure_agent_info.py +++ b/cmk/base/legacy_checks/azure_agent_info.py @@ -161,6 +161,7 @@ def check_azure_agent_info(_no_item, params, parsed): check_info["azure_agent_info"] = LegacyCheckDefinition( + name="azure_agent_info", parse_function=parse_azure_agent_info, service_name="Azure Agent Info", discovery_function=discovery_azure_agent_info, diff --git a/cmk/base/legacy_checks/azure_databases.py b/cmk/base/legacy_checks/azure_databases.py index 163664e2f0b..6e534ff9448 100644 --- a/cmk/base/legacy_checks/azure_databases.py +++ b/cmk/base/legacy_checks/azure_databases.py @@ -37,6 +37,7 @@ def check_azure_databases_storage(item, params, section): check_info["azure_databases.storage"] = LegacyCheckDefinition( + name="azure_databases_storage", service_name="DB %s Storage", sections=["azure_databases"], discovery_function=discover_azure_by_metrics("average_storage_percent"), @@ -60,6 +61,7 @@ def check_azure_databases_deadlock(item, params, section): check_info["azure_databases.deadlock"] = LegacyCheckDefinition( + name="azure_databases_deadlock", service_name="DB %s Deadlocks", sections=["azure_databases"], discovery_function=discover_azure_by_metrics("average_deadlock"), @@ -86,6 +88,7 @@ def check_azure_databases_cpu(item, params, section): check_info["azure_databases.cpu"] = LegacyCheckDefinition( + name="azure_databases_cpu", service_name="DB %s CPU", sections=["azure_databases"], discovery_function=discover_azure_by_metrics("average_cpu_percent"), @@ -115,6 +118,7 @@ def check_azure_databases_dtu(item, params, section): check_info["azure_databases.dtu"] = LegacyCheckDefinition( + name="azure_databases_dtu", service_name="DB %s DTU", sections=["azure_databases"], discovery_function=discover_azure_by_metrics("average_dtu_consumption_percent"), @@ -144,6 +148,7 @@ def check_azure_databases_connections(item, params, section): check_info["azure_databases.connections"] = LegacyCheckDefinition( + name="azure_databases_connections", service_name="DB %s Connections", sections=["azure_databases"], discovery_function=discover_azure_by_metrics( @@ -176,6 +181,7 @@ def discover_azure_databases(section): check_info["azure_databases"] = LegacyCheckDefinition( + name="azure_databases", parse_function=parse_resources, service_name="DB %s", discovery_function=discover_azure_databases, diff --git a/cmk/base/legacy_checks/azure_sites.py b/cmk/base/legacy_checks/azure_sites.py index b806683bd4d..46b016de666 100644 --- a/cmk/base/legacy_checks/azure_sites.py +++ b/cmk/base/legacy_checks/azure_sites.py @@ -43,6 +43,7 @@ def discover_azure_sites(section): check_info["azure_sites"] = LegacyCheckDefinition( + name="azure_sites", parse_function=parse_resources, service_name="Site %s", discovery_function=discover_azure_sites, diff --git a/cmk/base/legacy_checks/azure_storageaccounts.py b/cmk/base/legacy_checks/azure_storageaccounts.py index 37139a2b5bb..51727cb7b80 100644 --- a/cmk/base/legacy_checks/azure_storageaccounts.py +++ b/cmk/base/legacy_checks/azure_storageaccounts.py @@ -48,6 +48,7 @@ def discover_azure_storageaccounts(section): check_info["azure_storageaccounts"] = LegacyCheckDefinition( + name="azure_storageaccounts", parse_function=parse_resources, service_name="Storage %s account", discovery_function=discover_azure_storageaccounts, @@ -83,6 +84,7 @@ def check_azure_storageaccounts_flow(item, params, section): check_info["azure_storageaccounts.flow"] = LegacyCheckDefinition( + name="azure_storageaccounts_flow", service_name="Storage %s flow", sections=["azure_storageaccounts"], discovery_function=discover_azure_by_metrics( @@ -122,6 +124,7 @@ def check_azure_storageaccounts_performance(item, params, section): check_info["azure_storageaccounts.performance"] = LegacyCheckDefinition( + name="azure_storageaccounts_performance", service_name="Storage %s performance", sections=["azure_storageaccounts"], discovery_function=discover_azure_by_metrics( diff --git a/cmk/base/legacy_checks/azure_usagedetails.py b/cmk/base/legacy_checks/azure_usagedetails.py index beb47fc2a69..5147985c657 100644 --- a/cmk/base/legacy_checks/azure_usagedetails.py +++ b/cmk/base/legacy_checks/azure_usagedetails.py @@ -51,6 +51,7 @@ def discover_azure_usagedetails(section): check_info["azure_usagedetails"] = LegacyCheckDefinition( + name="azure_usagedetails", parse_function=parse_azure_usagedetails, service_name="Costs %s", discovery_function=discover_azure_usagedetails, diff --git a/cmk/base/legacy_checks/barracuda_mail_latency.py b/cmk/base/legacy_checks/barracuda_mail_latency.py index 8b8c5a28e42..0fe0b648b40 100644 --- a/cmk/base/legacy_checks/barracuda_mail_latency.py +++ b/cmk/base/legacy_checks/barracuda_mail_latency.py @@ -32,6 +32,7 @@ def parse_barracuda_mail_latency(string_table: StringTable) -> StringTable | Non check_info["barracuda_mail_latency"] = LegacyCheckDefinition( + name="barracuda_mail_latency", parse_function=parse_barracuda_mail_latency, detect=DETECT_BARRACUDA, # The barracuda spam firewall does not response or returns a timeout error diff --git a/cmk/base/legacy_checks/barracuda_mailqueues.py b/cmk/base/legacy_checks/barracuda_mailqueues.py index 98a3bab0967..a505043e81d 100644 --- a/cmk/base/legacy_checks/barracuda_mailqueues.py +++ b/cmk/base/legacy_checks/barracuda_mailqueues.py @@ -50,6 +50,7 @@ def parse_barracuda_mailqueues(string_table: StringTable) -> StringTable | None: check_info["barracuda_mailqueues"] = LegacyCheckDefinition( + name="barracuda_mailqueues", parse_function=parse_barracuda_mailqueues, detect=DETECT_BARRACUDA, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/barracuda_system_cpu_util.py b/cmk/base/legacy_checks/barracuda_system_cpu_util.py index 6b62f4778a9..477f1d85733 100644 --- a/cmk/base/legacy_checks/barracuda_system_cpu_util.py +++ b/cmk/base/legacy_checks/barracuda_system_cpu_util.py @@ -29,6 +29,7 @@ def parse_barracuda_system_cpu_util(string_table: StringTable) -> StringTable | check_info["barracuda_system_cpu_util"] = LegacyCheckDefinition( + name="barracuda_system_cpu_util", parse_function=parse_barracuda_system_cpu_util, detect=DETECT_BARRACUDA, # The barracuda spam firewall does not response or returns a timeout error diff --git a/cmk/base/legacy_checks/bintec_cpu.py b/cmk/base/legacy_checks/bintec_cpu.py index d47706d9712..f3207b919f0 100644 --- a/cmk/base/legacy_checks/bintec_cpu.py +++ b/cmk/base/legacy_checks/bintec_cpu.py @@ -45,6 +45,7 @@ def parse_bintec_cpu(string_table: StringTable) -> StringTable: check_info["bintec_cpu"] = LegacyCheckDefinition( + name="bintec_cpu", parse_function=parse_bintec_cpu, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.272.4."), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bintec_sensors.py b/cmk/base/legacy_checks/bintec_sensors.py index 1efbce9d8a9..7d6fd47dd10 100644 --- a/cmk/base/legacy_checks/bintec_sensors.py +++ b/cmk/base/legacy_checks/bintec_sensors.py @@ -19,6 +19,7 @@ def parse_bintec_sensors(string_table: StringTable) -> StringTable: check_info["bintec_sensors"] = LegacyCheckDefinition( + name="bintec_sensors", parse_function=parse_bintec_sensors, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.272.4"), fetch=SNMPTree( @@ -53,6 +54,7 @@ def check_bintec_sensors_fan(item, params, info): check_info["bintec_sensors.fan"] = LegacyCheckDefinition( + name="bintec_sensors_fan", service_name="%s", sections=["bintec_sensors"], discovery_function=inventory_bintec_sensors_fan, @@ -89,6 +91,7 @@ def check_bintec_sensors_temp(item, params, info): check_info["bintec_sensors.temp"] = LegacyCheckDefinition( + name="bintec_sensors_temp", service_name="Temperature %s", sections=["bintec_sensors"], discovery_function=inventory_bintec_sensors_temp, @@ -130,6 +133,7 @@ def check_bintec_sensors_voltage(item, _no_params, info): check_info["bintec_sensors.voltage"] = LegacyCheckDefinition( + name="bintec_sensors_voltage", service_name="Voltage %s", sections=["bintec_sensors"], discovery_function=inventory_bintec_sensors_voltage, diff --git a/cmk/base/legacy_checks/blade_bays.py b/cmk/base/legacy_checks/blade_bays.py index d2f3e420bcc..6a59988472f 100644 --- a/cmk/base/legacy_checks/blade_bays.py +++ b/cmk/base/legacy_checks/blade_bays.py @@ -74,6 +74,7 @@ def check_blade_bays(item, params, parsed): check_info["blade_bays"] = LegacyCheckDefinition( + name="blade_bays", detect=DETECT_BLADE, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/blade_bx_powerfan.py b/cmk/base/legacy_checks/blade_bx_powerfan.py index c601a79c91b..2aa01fa112f 100644 --- a/cmk/base/legacy_checks/blade_bx_powerfan.py +++ b/cmk/base/legacy_checks/blade_bx_powerfan.py @@ -85,6 +85,7 @@ def parse_blade_bx_powerfan(string_table: StringTable) -> StringTable: check_info["blade_bx_powerfan"] = LegacyCheckDefinition( + name="blade_bx_powerfan", parse_function=parse_blade_bx_powerfan, detect=DETECT_BLADE_BX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/blade_bx_temp.py b/cmk/base/legacy_checks/blade_bx_temp.py index 5a7f856491b..bf5d9c88cd9 100644 --- a/cmk/base/legacy_checks/blade_bx_temp.py +++ b/cmk/base/legacy_checks/blade_bx_temp.py @@ -68,6 +68,7 @@ def parse_blade_bx_temp(string_table: StringTable) -> StringTable: check_info["blade_bx_temp"] = LegacyCheckDefinition( + name="blade_bx_temp", parse_function=parse_blade_bx_temp, detect=DETECT_BLADE_BX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bluecat_command_server.py b/cmk/base/legacy_checks/bluecat_command_server.py index 1cda77b0dcd..39cc8a43a4f 100644 --- a/cmk/base/legacy_checks/bluecat_command_server.py +++ b/cmk/base/legacy_checks/bluecat_command_server.py @@ -37,6 +37,7 @@ def parse_bluecat_command_server(string_table: StringTable) -> StringTable | Non check_info["bluecat_command_server"] = LegacyCheckDefinition( + name="bluecat_command_server", parse_function=parse_bluecat_command_server, detect=DETECT_BLUECAT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bluecat_ha.py b/cmk/base/legacy_checks/bluecat_ha.py index fc9972b7db9..80326736e33 100644 --- a/cmk/base/legacy_checks/bluecat_ha.py +++ b/cmk/base/legacy_checks/bluecat_ha.py @@ -43,6 +43,7 @@ def parse_bluecat_ha(string_table: StringTable) -> StringTable: check_info["bluecat_ha"] = LegacyCheckDefinition( + name="bluecat_ha", parse_function=parse_bluecat_ha, detect=DETECT_BLUECAT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bluecat_ntp.py b/cmk/base/legacy_checks/bluecat_ntp.py index 1e7f3798ea4..1204de82c18 100644 --- a/cmk/base/legacy_checks/bluecat_ntp.py +++ b/cmk/base/legacy_checks/bluecat_ntp.py @@ -55,6 +55,7 @@ def parse_bluecat_ntp(string_table: StringTable) -> StringTable: check_info["bluecat_ntp"] = LegacyCheckDefinition( + name="bluecat_ntp", parse_function=parse_bluecat_ntp, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13315"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bluecat_threads.py b/cmk/base/legacy_checks/bluecat_threads.py index e21a8816ee6..a3e1e350376 100644 --- a/cmk/base/legacy_checks/bluecat_threads.py +++ b/cmk/base/legacy_checks/bluecat_threads.py @@ -37,6 +37,7 @@ def parse_bluecat_threads(string_table: StringTable) -> StringTable: check_info["bluecat_threads"] = LegacyCheckDefinition( + name="bluecat_threads", parse_function=parse_bluecat_threads, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13315.100.200"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bluenet_meter.py b/cmk/base/legacy_checks/bluenet_meter.py index 5126c8bf286..a948562d443 100644 --- a/cmk/base/legacy_checks/bluenet_meter.py +++ b/cmk/base/legacy_checks/bluenet_meter.py @@ -31,6 +31,7 @@ def discover_bluenet_meter(section): check_info["bluenet_meter"] = LegacyCheckDefinition( + name="bluenet_meter", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.21695.1"), fetch=SNMPTree( base=".1.3.6.1.4.1.21695.1.10.7.2.1", diff --git a/cmk/base/legacy_checks/bluenet_sensor.py b/cmk/base/legacy_checks/bluenet_sensor.py index 2547afe211d..a02e7c463dc 100644 --- a/cmk/base/legacy_checks/bluenet_sensor.py +++ b/cmk/base/legacy_checks/bluenet_sensor.py @@ -51,6 +51,7 @@ def parse_bluenet_sensor(string_table: StringTable) -> StringTable: check_info["bluenet_sensor"] = LegacyCheckDefinition( + name="bluenet_sensor", parse_function=parse_bluenet_sensor, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.21695.1"), fetch=SNMPTree( @@ -105,6 +106,7 @@ def check_bluenet_sensor_hum(item, params, info): check_info["bluenet_sensor.hum"] = LegacyCheckDefinition( + name="bluenet_sensor_hum", service_name="Humidity %s", sections=["bluenet_sensor"], discovery_function=inventory_bluenet_sensor_hum, diff --git a/cmk/base/legacy_checks/brocade.py b/cmk/base/legacy_checks/brocade.py index 336785615c5..5e4777d7b1d 100644 --- a/cmk/base/legacy_checks/brocade.py +++ b/cmk/base/legacy_checks/brocade.py @@ -40,6 +40,7 @@ def parse_brocade(string_table: StringTable) -> StringTable: check_info["brocade"] = LegacyCheckDefinition( + name="brocade", parse_function=parse_brocade, detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1588.2.1.1"), @@ -82,6 +83,7 @@ def check_brocade_fan(item, params, info): check_info["brocade.fan"] = LegacyCheckDefinition( + name="brocade_fan", service_name="FAN %s", sections=["brocade"], discovery_function=inventory_brocade_fan, @@ -109,6 +111,7 @@ def check_brocade_power(item, _no_params, info): check_info["brocade.power"] = LegacyCheckDefinition( + name="brocade_power", service_name="Power supply %s", sections=["brocade"], discovery_function=inventory_brocade_power, @@ -130,6 +133,7 @@ def check_brocade_temp(item, params, info): check_info["brocade.temp"] = LegacyCheckDefinition( + name="brocade_temp", service_name="Temperature Ambient %s", sections=["brocade"], discovery_function=inventory_brocade_temp, diff --git a/cmk/base/legacy_checks/brocade_mlx.py b/cmk/base/legacy_checks/brocade_mlx.py index 78fe891a5ac..32733ab26c7 100644 --- a/cmk/base/legacy_checks/brocade_mlx.py +++ b/cmk/base/legacy_checks/brocade_mlx.py @@ -35,6 +35,7 @@ def parse_brocade_mlx(string_table: Sequence[StringTable]) -> Sequence[StringTab check_info["brocade_mlx"] = LegacyCheckDefinition( + name="brocade_mlx", parse_function=parse_brocade_mlx, detect=DETECT_MLX, fetch=[ @@ -101,6 +102,7 @@ def check_brocade_mlx_module(item, _no_params, info): check_info["brocade_mlx.module_status"] = LegacyCheckDefinition( + name="brocade_mlx_module_status", service_name="Status Module %s", sections=["brocade_mlx"], discovery_function=inventory_brocade_mlx_module, @@ -185,6 +187,7 @@ def check_brocade_mlx_module_mem(item, params, info): check_info["brocade_mlx.module_mem"] = LegacyCheckDefinition( + name="brocade_mlx_module_mem", service_name="Memory Module %s", sections=["brocade_mlx"], discovery_function=inventory_brocade_mlx_module_mem, @@ -264,6 +267,7 @@ def check_brocade_mlx_module_cpu(item, params, info): check_info["brocade_mlx.module_cpu"] = LegacyCheckDefinition( + name="brocade_mlx_module_cpu", service_name="CPU utilization Module %s", sections=["brocade_mlx"], discovery_function=inventory_brocade_mlx_module_cpu, diff --git a/cmk/base/legacy_checks/brocade_mlx_temp.py b/cmk/base/legacy_checks/brocade_mlx_temp.py index 2d7091620fb..c02ab465fc5 100644 --- a/cmk/base/legacy_checks/brocade_mlx_temp.py +++ b/cmk/base/legacy_checks/brocade_mlx_temp.py @@ -43,6 +43,7 @@ def check_brocade_mlx_temp(item, params, parsed): check_info["brocade_mlx_temp"] = LegacyCheckDefinition( + name="brocade_mlx_temp", detect=DETECT_MLX, fetch=SNMPTree( base=".1.3.6.1.4.1.1991.1.1.2.13.1.1", diff --git a/cmk/base/legacy_checks/brocade_sys.py b/cmk/base/legacy_checks/brocade_sys.py index 41221b31ea1..33413469b35 100644 --- a/cmk/base/legacy_checks/brocade_sys.py +++ b/cmk/base/legacy_checks/brocade_sys.py @@ -47,6 +47,7 @@ def check_brocade_sys_mem(item, params, parsed): check_info["brocade_sys.mem"] = LegacyCheckDefinition( + name="brocade_sys_mem", service_name="Memory", sections=["brocade_sys"], discovery_function=inventory_brocade_sys_mem, @@ -75,6 +76,7 @@ def check_brocade_sys(item, params, parsed): check_info["brocade_sys"] = LegacyCheckDefinition( + name="brocade_sys", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1588.2.1.1"), equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1916.2.306"), diff --git a/cmk/base/legacy_checks/brocade_tm.py b/cmk/base/legacy_checks/brocade_tm.py index f764ba569c9..129c3ffa831 100644 --- a/cmk/base/legacy_checks/brocade_tm.py +++ b/cmk/base/legacy_checks/brocade_tm.py @@ -78,6 +78,7 @@ def parse_brocade_tm(string_table: StringTable) -> StringTable: check_info["brocade_tm"] = LegacyCheckDefinition( + name="brocade_tm", parse_function=parse_brocade_tm, detect=DETECT_MLX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bvip_fans.py b/cmk/base/legacy_checks/bvip_fans.py index 141e38aee1a..ed344f63aee 100644 --- a/cmk/base/legacy_checks/bvip_fans.py +++ b/cmk/base/legacy_checks/bvip_fans.py @@ -32,6 +32,7 @@ def parse_bvip_fans(string_table: StringTable) -> StringTable: check_info["bvip_fans"] = LegacyCheckDefinition( + name="bvip_fans", parse_function=parse_bvip_fans, detect=DETECT_BVIP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bvip_link.py b/cmk/base/legacy_checks/bvip_link.py index 32b90507066..1bf18886ece 100644 --- a/cmk/base/legacy_checks/bvip_link.py +++ b/cmk/base/legacy_checks/bvip_link.py @@ -53,6 +53,7 @@ def parse_bvip_link(string_table: StringTable) -> StringTable: check_info["bvip_link"] = LegacyCheckDefinition( + name="bvip_link", parse_function=parse_bvip_link, detect=DETECT_BVIP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bvip_poe.py b/cmk/base/legacy_checks/bvip_poe.py index 3f634fa12c5..fef735fbacb 100644 --- a/cmk/base/legacy_checks/bvip_poe.py +++ b/cmk/base/legacy_checks/bvip_poe.py @@ -29,6 +29,7 @@ def parse_bvip_poe(string_table: StringTable) -> StringTable: check_info["bvip_poe"] = LegacyCheckDefinition( + name="bvip_poe", parse_function=parse_bvip_poe, detect=DETECT_BVIP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bvip_temp.py b/cmk/base/legacy_checks/bvip_temp.py index 32553b3132d..291a39c1928 100644 --- a/cmk/base/legacy_checks/bvip_temp.py +++ b/cmk/base/legacy_checks/bvip_temp.py @@ -31,6 +31,7 @@ def parse_bvip_temp(string_table: StringTable) -> StringTable: check_info["bvip_temp"] = LegacyCheckDefinition( + name="bvip_temp", parse_function=parse_bvip_temp, detect=DETECT_BVIP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/bvip_util.py b/cmk/base/legacy_checks/bvip_util.py index 937ff3e8516..1f79be1290c 100644 --- a/cmk/base/legacy_checks/bvip_util.py +++ b/cmk/base/legacy_checks/bvip_util.py @@ -36,6 +36,7 @@ def parse_bvip_util(string_table: StringTable) -> StringTable: check_info["bvip_util"] = LegacyCheckDefinition( + name="bvip_util", parse_function=parse_bvip_util, detect=DETECT_BVIP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cadvisor_cpu.py b/cmk/base/legacy_checks/cadvisor_cpu.py index 6f30256aeee..cbc7b4c19fc 100644 --- a/cmk/base/legacy_checks/cadvisor_cpu.py +++ b/cmk/base/legacy_checks/cadvisor_cpu.py @@ -57,6 +57,7 @@ def check_cadvisor_cpu(_item, params, parsed): check_info["cadvisor_cpu"] = LegacyCheckDefinition( + name="cadvisor_cpu", parse_function=parse_cadvisor_cpu, service_name="CPU utilization", discovery_function=discover_cadvisor_cpu, diff --git a/cmk/base/legacy_checks/cadvisor_df.py b/cmk/base/legacy_checks/cadvisor_df.py index dedddde93d0..5200dd6b08e 100644 --- a/cmk/base/legacy_checks/cadvisor_df.py +++ b/cmk/base/legacy_checks/cadvisor_df.py @@ -45,6 +45,7 @@ def check_cadvisor_df(item, _params, parsed): check_info["cadvisor_df"] = LegacyCheckDefinition( + name="cadvisor_df", parse_function=parse_cadvisor_df, service_name="Filesystem", discovery_function=discover_cadvisor_df, diff --git a/cmk/base/legacy_checks/cadvisor_memory.py b/cmk/base/legacy_checks/cadvisor_memory.py index fbf07117e3b..3111cecf711 100644 --- a/cmk/base/legacy_checks/cadvisor_memory.py +++ b/cmk/base/legacy_checks/cadvisor_memory.py @@ -72,6 +72,7 @@ def check_cadvisor_memory(_item, _params, parsed): check_info["cadvisor_memory"] = LegacyCheckDefinition( + name="cadvisor_memory", parse_function=parse_cadvisor_memory, service_name="Memory", discovery_function=discover_cadvisor_memory, diff --git a/cmk/base/legacy_checks/carel_sensors.py b/cmk/base/legacy_checks/carel_sensors.py index 9d39f515def..c7263aba1f4 100644 --- a/cmk/base/legacy_checks/carel_sensors.py +++ b/cmk/base/legacy_checks/carel_sensors.py @@ -77,6 +77,7 @@ def check_carel_sensors_temp(item, params, parsed): check_info["carel_sensors"] = LegacyCheckDefinition( + name="carel_sensors", detect=all_of( any_of(contains(".1.3.6.1.2.1.1.1.0", "pCO"), endswith(".1.3.6.1.2.1.1.1.0", "armv4l")), exists(".1.3.6.1.4.1.9839.1.1.0"), diff --git a/cmk/base/legacy_checks/casa_cpu_mem.py b/cmk/base/legacy_checks/casa_cpu_mem.py index 824ba0e5be6..46ad13b8f45 100644 --- a/cmk/base/legacy_checks/casa_cpu_mem.py +++ b/cmk/base/legacy_checks/casa_cpu_mem.py @@ -48,6 +48,7 @@ def check_casa_cpu_mem(item, params, parsed): check_info["casa_cpu_mem"] = LegacyCheckDefinition( + name="casa_cpu_mem", detect=DETECT_CASA, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/casa_cpu_temp.py b/cmk/base/legacy_checks/casa_cpu_temp.py index 12c859323c7..20725b725e9 100644 --- a/cmk/base/legacy_checks/casa_cpu_temp.py +++ b/cmk/base/legacy_checks/casa_cpu_temp.py @@ -51,6 +51,7 @@ def check_casa_cpu_temp(item, params, parsed): check_info["casa_cpu_temp"] = LegacyCheckDefinition( + name="casa_cpu_temp", detect=DETECT_CASA, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/casa_cpu_util.py b/cmk/base/legacy_checks/casa_cpu_util.py index d0021cde3d0..9a89b99e12e 100644 --- a/cmk/base/legacy_checks/casa_cpu_util.py +++ b/cmk/base/legacy_checks/casa_cpu_util.py @@ -55,6 +55,7 @@ def parse_casa_cpu_util(string_table: Sequence[StringTable]) -> Sequence[StringT check_info["casa_cpu_util"] = LegacyCheckDefinition( + name="casa_cpu_util", parse_function=parse_casa_cpu_util, detect=DETECT_CASA, fetch=[ diff --git a/cmk/base/legacy_checks/checkpoint_fan.py b/cmk/base/legacy_checks/checkpoint_fan.py index c0a4156c225..36b7df811bb 100644 --- a/cmk/base/legacy_checks/checkpoint_fan.py +++ b/cmk/base/legacy_checks/checkpoint_fan.py @@ -33,6 +33,7 @@ def parse_checkpoint_fan(string_table: StringTable) -> StringTable: check_info["checkpoint_fan"] = LegacyCheckDefinition( + name="checkpoint_fan", parse_function=parse_checkpoint_fan, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/checkpoint_memory.py b/cmk/base/legacy_checks/checkpoint_memory.py index c228e423650..295186d1522 100644 --- a/cmk/base/legacy_checks/checkpoint_memory.py +++ b/cmk/base/legacy_checks/checkpoint_memory.py @@ -41,6 +41,7 @@ def parse_checkpoint_memory(string_table: StringTable) -> StringTable: check_info["checkpoint_memory"] = LegacyCheckDefinition( + name="checkpoint_memory", parse_function=parse_checkpoint_memory, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/checkpoint_packets.py b/cmk/base/legacy_checks/checkpoint_packets.py index 3bc160638f7..f52a608ee91 100644 --- a/cmk/base/legacy_checks/checkpoint_packets.py +++ b/cmk/base/legacy_checks/checkpoint_packets.py @@ -65,6 +65,7 @@ def check_checkpoint_packets(_no_item, params, parsed): check_info["checkpoint_packets"] = LegacyCheckDefinition( + name="checkpoint_packets", detect=DETECT, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/checkpoint_temp.py b/cmk/base/legacy_checks/checkpoint_temp.py index 9d47b0784f3..f242d6db232 100644 --- a/cmk/base/legacy_checks/checkpoint_temp.py +++ b/cmk/base/legacy_checks/checkpoint_temp.py @@ -47,6 +47,7 @@ def parse_checkpoint_temp(string_table: StringTable) -> StringTable: check_info["checkpoint_temp"] = LegacyCheckDefinition( + name="checkpoint_temp", parse_function=parse_checkpoint_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/checkpoint_tunnels.py b/cmk/base/legacy_checks/checkpoint_tunnels.py index c5771890392..22350d24217 100644 --- a/cmk/base/legacy_checks/checkpoint_tunnels.py +++ b/cmk/base/legacy_checks/checkpoint_tunnels.py @@ -38,6 +38,7 @@ def parse_checkpoint_tunnels(string_table: StringTable) -> StringTable: check_info["checkpoint_tunnels"] = LegacyCheckDefinition( + name="checkpoint_tunnels", parse_function=parse_checkpoint_tunnels, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/checkpoint_voltage.py b/cmk/base/legacy_checks/checkpoint_voltage.py index 915688d65f4..817caadb918 100644 --- a/cmk/base/legacy_checks/checkpoint_voltage.py +++ b/cmk/base/legacy_checks/checkpoint_voltage.py @@ -30,6 +30,7 @@ def parse_checkpoint_voltage(string_table: StringTable) -> StringTable: check_info["checkpoint_voltage"] = LegacyCheckDefinition( + name="checkpoint_voltage", parse_function=parse_checkpoint_voltage, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/checkpoint_vsx.py b/cmk/base/legacy_checks/checkpoint_vsx.py index 31f84380b8a..f717a888496 100644 --- a/cmk/base/legacy_checks/checkpoint_vsx.py +++ b/cmk/base/legacy_checks/checkpoint_vsx.py @@ -136,6 +136,7 @@ def check_checkpoint_vsx(item, _no_params, parsed): check_info["checkpoint_vsx"] = LegacyCheckDefinition( + name="checkpoint_vsx", detect=DETECT_NEVER, fetch=[ SNMPTree( @@ -196,6 +197,7 @@ def check_checkpoint_vsx_connections(item, params, parsed): check_info["checkpoint_vsx.connections"] = LegacyCheckDefinition( + name="checkpoint_vsx_connections", service_name="VS %s Connections", sections=["checkpoint_vsx"], discovery_function=discover_key("conn_num"), @@ -251,6 +253,7 @@ def check_checkpoint_vsx_packets(item, params, parsed): check_info["checkpoint_vsx.packets"] = LegacyCheckDefinition( + name="checkpoint_vsx_packets", service_name="VS %s Packets", sections=["checkpoint_vsx"], discovery_function=discover_key("packets"), @@ -298,6 +301,7 @@ def check_checkpoint_vsx_traffic(item, params, parsed): check_info["checkpoint_vsx.traffic"] = LegacyCheckDefinition( + name="checkpoint_vsx_traffic", service_name="VS %s Traffic", sections=["checkpoint_vsx"], discovery_function=discover_key("bytes_accepted"), @@ -352,6 +356,7 @@ def check_checkpoint_vsx_status(item, _no_params, parsed): check_info["checkpoint_vsx.status"] = LegacyCheckDefinition( + name="checkpoint_vsx_status", service_name="VS %s Status", sections=["checkpoint_vsx"], discovery_function=discover_key("vs_ha_status"), diff --git a/cmk/base/legacy_checks/cisco_asa_connections.py b/cmk/base/legacy_checks/cisco_asa_connections.py index 3816922a0c3..88f4feb5767 100644 --- a/cmk/base/legacy_checks/cisco_asa_connections.py +++ b/cmk/base/legacy_checks/cisco_asa_connections.py @@ -47,6 +47,7 @@ def parse_cisco_asa_connections(string_table: StringTable) -> StringTable | None check_info["cisco_asa_connections"] = LegacyCheckDefinition( + name="cisco_asa_connections", parse_function=parse_cisco_asa_connections, detect=any_of( startswith(".1.3.6.1.2.1.1.1.0", "cisco adaptive security"), diff --git a/cmk/base/legacy_checks/cisco_cpu.py b/cmk/base/legacy_checks/cisco_cpu.py index 7242182f866..d32c5ebcddb 100644 --- a/cmk/base/legacy_checks/cisco_cpu.py +++ b/cmk/base/legacy_checks/cisco_cpu.py @@ -56,6 +56,7 @@ def parse_cisco_cpu(string_table: StringTable) -> StringTable: check_info["cisco_cpu"] = LegacyCheckDefinition( + name="cisco_cpu", parse_function=parse_cisco_cpu, detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "cisco"), diff --git a/cmk/base/legacy_checks/cisco_fru_powerusage.py b/cmk/base/legacy_checks/cisco_fru_powerusage.py index 2b9f4890df7..b9f4034392e 100644 --- a/cmk/base/legacy_checks/cisco_fru_powerusage.py +++ b/cmk/base/legacy_checks/cisco_fru_powerusage.py @@ -78,6 +78,7 @@ def inventory_cisco_fru_powerusage(parsed): check_info["cisco_fru_powerusage"] = LegacyCheckDefinition( + name="cisco_fru_powerusage", detect=DETECT_CISCO, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_ip_sla.py b/cmk/base/legacy_checks/cisco_ip_sla.py index 407c61da040..2c878ad1039 100644 --- a/cmk/base/legacy_checks/cisco_ip_sla.py +++ b/cmk/base/legacy_checks/cisco_ip_sla.py @@ -162,6 +162,7 @@ def check_cisco_ip_sla(item, params, parsed): check_info["cisco_ip_sla"] = LegacyCheckDefinition( + name="cisco_ip_sla", detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "cisco"), contains(".1.3.6.1.2.1.1.1.0", "ios"), diff --git a/cmk/base/legacy_checks/cisco_nexus_cpu.py b/cmk/base/legacy_checks/cisco_nexus_cpu.py index a756484c8d7..ac0ad2fbcf8 100644 --- a/cmk/base/legacy_checks/cisco_nexus_cpu.py +++ b/cmk/base/legacy_checks/cisco_nexus_cpu.py @@ -39,6 +39,7 @@ def parse_cisco_nexus_cpu(string_table: StringTable) -> StringTable: check_info["cisco_nexus_cpu"] = LegacyCheckDefinition( + name="cisco_nexus_cpu", parse_function=parse_cisco_nexus_cpu, detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "cisco"), diff --git a/cmk/base/legacy_checks/cisco_oldcpu.py b/cmk/base/legacy_checks/cisco_oldcpu.py index 18d298bdaab..f512754a92e 100644 --- a/cmk/base/legacy_checks/cisco_oldcpu.py +++ b/cmk/base/legacy_checks/cisco_oldcpu.py @@ -35,6 +35,7 @@ def parse_cisco_oldcpu(string_table: StringTable) -> StringTable: check_info["cisco_oldcpu"] = LegacyCheckDefinition( + name="cisco_oldcpu", parse_function=parse_cisco_oldcpu, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.9.1.1745"), diff --git a/cmk/base/legacy_checks/cisco_prime_wifi_access_points.py b/cmk/base/legacy_checks/cisco_prime_wifi_access_points.py index b14034078e5..63f8c8ffbc6 100644 --- a/cmk/base/legacy_checks/cisco_prime_wifi_access_points.py +++ b/cmk/base/legacy_checks/cisco_prime_wifi_access_points.py @@ -47,6 +47,7 @@ def check_cisco_prime_wifi_access_points(item, params, parsed): check_info["cisco_prime_wifi_access_points"] = LegacyCheckDefinition( + name="cisco_prime_wifi_access_points", parse_function=parse_cisco_prime_wifi_access_points, service_name="Cisco Prime WiFi Access Points", discovery_function=discover_cisco_prime_wifi_access_points, diff --git a/cmk/base/legacy_checks/cisco_prime_wifi_connections.py b/cmk/base/legacy_checks/cisco_prime_wifi_connections.py index bf10cbd4cc5..e9119c7caf6 100644 --- a/cmk/base/legacy_checks/cisco_prime_wifi_connections.py +++ b/cmk/base/legacy_checks/cisco_prime_wifi_connections.py @@ -77,6 +77,7 @@ def check_cisco_prime_wifi_connections(item, params, parsed): check_info["cisco_prime_wifi_connections"] = LegacyCheckDefinition( + name="cisco_prime_wifi_connections", parse_function=parse_cisco_prime_wifi_connections, service_name="Cisco Prime WiFi Connections", discovery_function=discover_cisco_prime_wifi_connections, diff --git a/cmk/base/legacy_checks/cisco_srst_state.py b/cmk/base/legacy_checks/cisco_srst_state.py index 0c85efe28ca..ee41ee23bf0 100644 --- a/cmk/base/legacy_checks/cisco_srst_state.py +++ b/cmk/base/legacy_checks/cisco_srst_state.py @@ -36,6 +36,7 @@ def parse_cisco_srst_state(string_table: StringTable) -> StringTable | None: check_info["cisco_srst_state"] = LegacyCheckDefinition( + name="cisco_srst_state", parse_function=parse_cisco_srst_state, detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "cisco"), equals(".1.3.6.1.4.1.9.9.441.1.2.1.0", "1") diff --git a/cmk/base/legacy_checks/cisco_sys_mem.py b/cmk/base/legacy_checks/cisco_sys_mem.py index cd2b85162a8..b241a4c1bf2 100644 --- a/cmk/base/legacy_checks/cisco_sys_mem.py +++ b/cmk/base/legacy_checks/cisco_sys_mem.py @@ -37,6 +37,7 @@ def parse_cisco_sys_mem(string_table: StringTable) -> StringTable: check_info["cisco_sys_mem"] = LegacyCheckDefinition( + name="cisco_sys_mem", parse_function=parse_cisco_sys_mem, detect=startswith(".1.3.6.1.2.1.1.1.0", "Cisco NX-OS"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_ucs_cpu.py b/cmk/base/legacy_checks/cisco_ucs_cpu.py index cf9918d1964..fa8ebe86e7c 100644 --- a/cmk/base/legacy_checks/cisco_ucs_cpu.py +++ b/cmk/base/legacy_checks/cisco_ucs_cpu.py @@ -44,6 +44,7 @@ def parse_cisco_ucs_cpu(string_table: StringTable) -> StringTable: check_info["cisco_ucs_cpu"] = LegacyCheckDefinition( + name="cisco_ucs_cpu", parse_function=parse_cisco_ucs_cpu, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_ucs_hdd.py b/cmk/base/legacy_checks/cisco_ucs_hdd.py index 154832f079a..bb1503beb0d 100644 --- a/cmk/base/legacy_checks/cisco_ucs_hdd.py +++ b/cmk/base/legacy_checks/cisco_ucs_hdd.py @@ -72,6 +72,7 @@ def check_cisco_ucs_hdd( check_info["cisco_ucs_hdd"] = LegacyCheckDefinition( + name="cisco_ucs_hdd", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.9.9.719.1.45.4.1", diff --git a/cmk/base/legacy_checks/cisco_ucs_lun.py b/cmk/base/legacy_checks/cisco_ucs_lun.py index 4ec050779fd..a5f74e74585 100644 --- a/cmk/base/legacy_checks/cisco_ucs_lun.py +++ b/cmk/base/legacy_checks/cisco_ucs_lun.py @@ -51,6 +51,7 @@ def parse_cisco_ucs_lun(string_table: StringTable) -> StringTable | None: check_info["cisco_ucs_lun"] = LegacyCheckDefinition( + name="cisco_ucs_lun", parse_function=parse_cisco_ucs_lun, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_ucs_mem_total.py b/cmk/base/legacy_checks/cisco_ucs_mem_total.py index cb577428abc..07a5af85dd1 100644 --- a/cmk/base/legacy_checks/cisco_ucs_mem_total.py +++ b/cmk/base/legacy_checks/cisco_ucs_mem_total.py @@ -29,6 +29,7 @@ def parse_cisco_ucs_mem_total(string_table: StringTable) -> StringTable | None: check_info["cisco_ucs_mem_total"] = LegacyCheckDefinition( + name="cisco_ucs_mem_total", parse_function=parse_cisco_ucs_mem_total, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_ucs_psu.py b/cmk/base/legacy_checks/cisco_ucs_psu.py index c9a649e12f4..27ec111e830 100644 --- a/cmk/base/legacy_checks/cisco_ucs_psu.py +++ b/cmk/base/legacy_checks/cisco_ucs_psu.py @@ -40,6 +40,7 @@ def parse_cisco_ucs_psu(string_table: StringTable) -> StringTable: check_info["cisco_ucs_psu"] = LegacyCheckDefinition( + name="cisco_ucs_psu", parse_function=parse_cisco_ucs_psu, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_ucs_raid.py b/cmk/base/legacy_checks/cisco_ucs_raid.py index 86ec6c7bb49..24616d2bf25 100644 --- a/cmk/base/legacy_checks/cisco_ucs_raid.py +++ b/cmk/base/legacy_checks/cisco_ucs_raid.py @@ -45,6 +45,7 @@ def check_cisco_ucs_raid(_no_item, _no_params, section): check_info["cisco_ucs_raid"] = LegacyCheckDefinition( + name="cisco_ucs_raid", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.9.9.719.1.45.1.1", diff --git a/cmk/base/legacy_checks/cisco_ucs_system.py b/cmk/base/legacy_checks/cisco_ucs_system.py index f1a61453e1a..66a99567411 100644 --- a/cmk/base/legacy_checks/cisco_ucs_system.py +++ b/cmk/base/legacy_checks/cisco_ucs_system.py @@ -32,6 +32,7 @@ def parse_cisco_ucs_system(string_table: StringTable) -> StringTable | None: check_info["cisco_ucs_system"] = LegacyCheckDefinition( + name="cisco_ucs_system", parse_function=parse_cisco_ucs_system, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_ucs_temp_env.py b/cmk/base/legacy_checks/cisco_ucs_temp_env.py index 2d90e3c36f3..73cfc4e55ed 100644 --- a/cmk/base/legacy_checks/cisco_ucs_temp_env.py +++ b/cmk/base/legacy_checks/cisco_ucs_temp_env.py @@ -44,6 +44,7 @@ def check_cisco_ucs_temp_env(item, params, info): check_info["cisco_ucs_temp_env"] = LegacyCheckDefinition( + name="cisco_ucs_temp_env", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.9.9.719.1.9.44.1", diff --git a/cmk/base/legacy_checks/cisco_ucs_temp_mem.py b/cmk/base/legacy_checks/cisco_ucs_temp_mem.py index 16840c3b3a6..595c9b3f98f 100644 --- a/cmk/base/legacy_checks/cisco_ucs_temp_mem.py +++ b/cmk/base/legacy_checks/cisco_ucs_temp_mem.py @@ -37,6 +37,7 @@ def parse_cisco_ucs_temp_mem(string_table: StringTable) -> StringTable: check_info["cisco_ucs_temp_mem"] = LegacyCheckDefinition( + name="cisco_ucs_temp_mem", parse_function=parse_cisco_ucs_temp_mem, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cisco_vpn_sessions.py b/cmk/base/legacy_checks/cisco_vpn_sessions.py index cb0fad93807..a971708d1f3 100644 --- a/cmk/base/legacy_checks/cisco_vpn_sessions.py +++ b/cmk/base/legacy_checks/cisco_vpn_sessions.py @@ -39,6 +39,7 @@ def discover_cisco_vpn_sessions(section): check_info["cisco_vpn_sessions"] = LegacyCheckDefinition( + name="cisco_vpn_sessions", service_name="VPN Sessions %s", discovery_function=discover_cisco_vpn_sessions, check_function=check_cisco_vpn_sessions, diff --git a/cmk/base/legacy_checks/citrix_licenses.py b/cmk/base/legacy_checks/citrix_licenses.py index d4c4fdce5b2..2cf628aaa4d 100644 --- a/cmk/base/legacy_checks/citrix_licenses.py +++ b/cmk/base/legacy_checks/citrix_licenses.py @@ -51,6 +51,7 @@ def check_citrix_licenses(item, params, parsed): check_info["citrix_licenses"] = LegacyCheckDefinition( + name="citrix_licenses", parse_function=parse_citrix_licenses, service_name="Citrix Licenses %s", discovery_function=inventory_citrix_licenses, diff --git a/cmk/base/legacy_checks/citrix_serverload.py b/cmk/base/legacy_checks/citrix_serverload.py index 48e47df6f01..63e8ef4b04f 100644 --- a/cmk/base/legacy_checks/citrix_serverload.py +++ b/cmk/base/legacy_checks/citrix_serverload.py @@ -41,6 +41,7 @@ def parse_citrix_serverload(string_table: StringTable) -> StringTable: check_info["citrix_serverload"] = LegacyCheckDefinition( + name="citrix_serverload", parse_function=parse_citrix_serverload, service_name="Citrix Serverload", discovery_function=inventory_citrix_serverload, diff --git a/cmk/base/legacy_checks/citrix_sessions.py b/cmk/base/legacy_checks/citrix_sessions.py index 9b7cece551e..7ff6b9248f6 100644 --- a/cmk/base/legacy_checks/citrix_sessions.py +++ b/cmk/base/legacy_checks/citrix_sessions.py @@ -62,6 +62,7 @@ def parse_citrix_sessions(string_table: StringTable) -> StringTable: check_info["citrix_sessions"] = LegacyCheckDefinition( + name="citrix_sessions", parse_function=parse_citrix_sessions, service_name="Citrix Sessions", discovery_function=inventory_citrix_sessions, diff --git a/cmk/base/legacy_checks/climaveneta_fan.py b/cmk/base/legacy_checks/climaveneta_fan.py index 432893bc8ab..ae6a5f49bf4 100644 --- a/cmk/base/legacy_checks/climaveneta_fan.py +++ b/cmk/base/legacy_checks/climaveneta_fan.py @@ -27,6 +27,7 @@ def parse_climaveneta_fan(string_table: StringTable) -> StringTable: check_info["climaveneta_fan"] = LegacyCheckDefinition( + name="climaveneta_fan", parse_function=parse_climaveneta_fan, detect=equals(".1.3.6.1.2.1.1.1.0", "pCO Gateway"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/climaveneta_temp.py b/cmk/base/legacy_checks/climaveneta_temp.py index 53165642cb2..7bdf06fe1f0 100644 --- a/cmk/base/legacy_checks/climaveneta_temp.py +++ b/cmk/base/legacy_checks/climaveneta_temp.py @@ -52,6 +52,7 @@ def parse_climaveneta_temp(string_table: StringTable) -> StringTable: check_info["climaveneta_temp"] = LegacyCheckDefinition( + name="climaveneta_temp", parse_function=parse_climaveneta_temp, detect=equals(".1.3.6.1.2.1.1.1.0", "pCO Gateway"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/cmc_temp.py b/cmk/base/legacy_checks/cmc_temp.py index 83a7240d67a..2a7d24f170e 100644 --- a/cmk/base/legacy_checks/cmc_temp.py +++ b/cmk/base/legacy_checks/cmc_temp.py @@ -39,6 +39,7 @@ def parse_cmc_temp(string_table: Sequence[StringTable]) -> Sequence[StringTable] check_info["cmc_temp"] = LegacyCheckDefinition( + name="cmc_temp", parse_function=parse_cmc_temp, detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2606.1"), fetch=[ diff --git a/cmk/base/legacy_checks/cmciii_lcp_water.py b/cmk/base/legacy_checks/cmciii_lcp_water.py index ec8c3e4cb27..6845250c9bc 100644 --- a/cmk/base/legacy_checks/cmciii_lcp_water.py +++ b/cmk/base/legacy_checks/cmciii_lcp_water.py @@ -108,6 +108,7 @@ def parse_status(status_name): check_info["cmciii_lcp_water"] = LegacyCheckDefinition( + name="cmciii_lcp_water", detect=DETECT_CMCIII_LCP, fetch=SNMPTree( base=".1.3.6.1.4.1.2606.7.4.2.2.1.10", diff --git a/cmk/base/legacy_checks/cmctc.py b/cmk/base/legacy_checks/cmctc.py index 23f292597bb..33c4fe7e427 100644 --- a/cmk/base/legacy_checks/cmctc.py +++ b/cmk/base/legacy_checks/cmctc.py @@ -71,6 +71,7 @@ def check_cmctc_temp(item: str, params: TempParamType, section: Section) -> Iter check_info["cmctc_temp"] = LegacyCheckDefinition( + name="cmctc_temp", detect=DETECT_CMCTC, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/couchbase_buckets_cache.py b/cmk/base/legacy_checks/couchbase_buckets_cache.py index 1dd3053f47f..35da842d988 100644 --- a/cmk/base/legacy_checks/couchbase_buckets_cache.py +++ b/cmk/base/legacy_checks/couchbase_buckets_cache.py @@ -34,6 +34,7 @@ def check_couchbase_buckets_cache(item, params, parsed): check_info["couchbase_buckets_cache"] = LegacyCheckDefinition( + name="couchbase_buckets_cache", parse_function=parse_couchbase_lines, service_name="Couchbase Bucket %s Cache", discovery_function=discover_couchbase_buckets_cache, diff --git a/cmk/base/legacy_checks/couchbase_buckets_fragmentation.py b/cmk/base/legacy_checks/couchbase_buckets_fragmentation.py index a5fcbf2cd50..79f156e11a6 100644 --- a/cmk/base/legacy_checks/couchbase_buckets_fragmentation.py +++ b/cmk/base/legacy_checks/couchbase_buckets_fragmentation.py @@ -44,6 +44,7 @@ def check_couchbase_buckets_fragmentation(item, params, parsed): check_info["couchbase_buckets_fragmentation"] = LegacyCheckDefinition( + name="couchbase_buckets_fragmentation", parse_function=parse_couchbase_lines, service_name="Couchbase Bucket %s Fragmentation", discovery_function=discover_couchbase_buckets_fragmentation, diff --git a/cmk/base/legacy_checks/couchbase_buckets_items.py b/cmk/base/legacy_checks/couchbase_buckets_items.py index cb4dde378cf..1251049f81a 100644 --- a/cmk/base/legacy_checks/couchbase_buckets_items.py +++ b/cmk/base/legacy_checks/couchbase_buckets_items.py @@ -73,6 +73,7 @@ def check_couchbase_buckets_items(item, params, parsed): check_info["couchbase_buckets_items"] = LegacyCheckDefinition( + name="couchbase_buckets_items", parse_function=parse_couchbase_lines, service_name="Couchbase Bucket %s Items", discovery_function=discover_couchbase_buckets_items, diff --git a/cmk/base/legacy_checks/couchbase_buckets_mem.py b/cmk/base/legacy_checks/couchbase_buckets_mem.py index 68942617181..3bc7b11b95f 100644 --- a/cmk/base/legacy_checks/couchbase_buckets_mem.py +++ b/cmk/base/legacy_checks/couchbase_buckets_mem.py @@ -60,6 +60,7 @@ def check_couchbase_bucket_mem(item, params, parsed): check_info["couchbase_buckets_mem"] = LegacyCheckDefinition( + name="couchbase_buckets_mem", parse_function=parse_couchbase_lines, service_name="Couchbase Bucket %s Memory", discovery_function=discover_couchbase_buckets_mem, diff --git a/cmk/base/legacy_checks/couchbase_buckets_operations.py b/cmk/base/legacy_checks/couchbase_buckets_operations.py index d289ceeaef6..6831b7d6b14 100644 --- a/cmk/base/legacy_checks/couchbase_buckets_operations.py +++ b/cmk/base/legacy_checks/couchbase_buckets_operations.py @@ -93,6 +93,7 @@ def check_couchbase_buckets_operations(item, params, parsed): check_info["couchbase_buckets_operations"] = LegacyCheckDefinition( + name="couchbase_buckets_operations", parse_function=parse_couchbase_buckets_operations, service_name="Couchbase Bucket %s Operations", discovery_function=discover_couchbase_buckets_operations, @@ -101,6 +102,7 @@ def check_couchbase_buckets_operations(item, params, parsed): ) check_info["couchbase_buckets_operations.total"] = LegacyCheckDefinition( + name="couchbase_buckets_operations_total", service_name="Couchbase Bucket Operations", sections=["couchbase_buckets_operations"], discovery_function=discover_couchbase_buckets_operations, diff --git a/cmk/base/legacy_checks/couchbase_buckets_vbuckets.py b/cmk/base/legacy_checks/couchbase_buckets_vbuckets.py index 5d1acffc4b5..d5037877168 100644 --- a/cmk/base/legacy_checks/couchbase_buckets_vbuckets.py +++ b/cmk/base/legacy_checks/couchbase_buckets_vbuckets.py @@ -80,6 +80,7 @@ def check_couchbase_buckets_vbuckets_replica(item, params, parsed): check_info["couchbase_buckets_vbuckets"] = LegacyCheckDefinition( + name="couchbase_buckets_vbuckets", parse_function=parse_couchbase_lines, service_name="Couchbase Bucket %s active vBuckets", discovery_function=discover_couchbase_buckets_vbuckets, @@ -88,6 +89,7 @@ def check_couchbase_buckets_vbuckets_replica(item, params, parsed): ) check_info["couchbase_buckets_vbuckets.replica"] = LegacyCheckDefinition( + name="couchbase_buckets_vbuckets_replica", service_name="Couchbase Bucket %s replica vBuckets", sections=["couchbase_buckets_vbuckets"], discovery_function=discover_couchbase_buckets_vbuckets, diff --git a/cmk/base/legacy_checks/couchbase_nodes_cache.py b/cmk/base/legacy_checks/couchbase_nodes_cache.py index 95dc8a2f8a6..0ca9ff13032 100644 --- a/cmk/base/legacy_checks/couchbase_nodes_cache.py +++ b/cmk/base/legacy_checks/couchbase_nodes_cache.py @@ -57,6 +57,7 @@ def check_couchbase_nodes_cache(item, params, parsed): check_info["couchbase_nodes_cache"] = LegacyCheckDefinition( + name="couchbase_nodes_cache", parse_function=parse_couchbase_lines, service_name="Couchbase %s Cache", discovery_function=discover_couchbase_nodes_cache, diff --git a/cmk/base/legacy_checks/couchbase_nodes_info.py b/cmk/base/legacy_checks/couchbase_nodes_info.py index 5c98679b7e6..afd1030d70d 100644 --- a/cmk/base/legacy_checks/couchbase_nodes_info.py +++ b/cmk/base/legacy_checks/couchbase_nodes_info.py @@ -47,6 +47,7 @@ def discover_couchbase_nodes_info(section): check_info["couchbase_nodes_info"] = LegacyCheckDefinition( + name="couchbase_nodes_info", parse_function=parse_couchbase_lines, service_name="Couchbase %s Info", discovery_function=discover_couchbase_nodes_info, diff --git a/cmk/base/legacy_checks/couchbase_nodes_items.py b/cmk/base/legacy_checks/couchbase_nodes_items.py index 1146b7d2aa1..fb4b9e20fd3 100644 --- a/cmk/base/legacy_checks/couchbase_nodes_items.py +++ b/cmk/base/legacy_checks/couchbase_nodes_items.py @@ -53,6 +53,7 @@ def check_couchbase_nodes_items(item, params, parsed): check_info["couchbase_nodes_items"] = LegacyCheckDefinition( + name="couchbase_nodes_items", parse_function=parse_couchbase_lines, service_name="Couchbase %s vBucket items", discovery_function=discover_couchbase_nodes_items, diff --git a/cmk/base/legacy_checks/couchbase_nodes_operations.py b/cmk/base/legacy_checks/couchbase_nodes_operations.py index 8f018858f07..87920e7001a 100644 --- a/cmk/base/legacy_checks/couchbase_nodes_operations.py +++ b/cmk/base/legacy_checks/couchbase_nodes_operations.py @@ -43,6 +43,7 @@ def check_couchbase_nodes_operations(item, params, parsed): check_info["couchbase_nodes_operations"] = LegacyCheckDefinition( + name="couchbase_nodes_operations", parse_function=parse_couchbase_nodes_operations, service_name="Couchbase %s Operations", discovery_function=discover_couchbase_buckets_nodes_operations, @@ -51,6 +52,7 @@ def check_couchbase_nodes_operations(item, params, parsed): ) check_info["couchbase_nodes_operations.total"] = LegacyCheckDefinition( + name="couchbase_nodes_operations_total", service_name="Couchbase Total Operations", sections=["couchbase_nodes_operations"], discovery_function=discover_couchbase_buckets_nodes_operations_total, diff --git a/cmk/base/legacy_checks/couchbase_nodes_size.py b/cmk/base/legacy_checks/couchbase_nodes_size.py index 8669736fd96..9371eaacb45 100644 --- a/cmk/base/legacy_checks/couchbase_nodes_size.py +++ b/cmk/base/legacy_checks/couchbase_nodes_size.py @@ -16,6 +16,7 @@ def discover_couchbase_nodes_size(section): check_info["couchbase_nodes_size"] = LegacyCheckDefinition( + name="couchbase_nodes_size", parse_function=parse_couchbase_lines, discovery_function=discover_couchbase_nodes_size, ) @@ -53,6 +54,7 @@ def discover_couchbase_nodes_size_docs(section): check_info["couchbase_nodes_size.docs"] = LegacyCheckDefinition( + name="couchbase_nodes_size_docs", service_name="Couchbase %s Documents", sections=["couchbase_nodes_size"], discovery_function=discover_couchbase_nodes_size_docs, @@ -69,6 +71,7 @@ def discover_couchbase_nodes_size_spacial_views(section): check_info["couchbase_nodes_size.spacial_views"] = LegacyCheckDefinition( + name="couchbase_nodes_size_spacial_views", service_name="Couchbase %s Spacial Views", sections=["couchbase_nodes_size"], discovery_function=discover_couchbase_nodes_size_spacial_views, @@ -85,6 +88,7 @@ def discover_couchbase_nodes_size_couch_views(section): check_info["couchbase_nodes_size.couch_views"] = LegacyCheckDefinition( + name="couchbase_nodes_size_couch_views", service_name="Couchbase %s Couch Views", sections=["couchbase_nodes_size"], discovery_function=discover_couchbase_nodes_size_couch_views, diff --git a/cmk/base/legacy_checks/couchbase_nodes_stats.py b/cmk/base/legacy_checks/couchbase_nodes_stats.py index 1119ddbf447..26f3312d16e 100644 --- a/cmk/base/legacy_checks/couchbase_nodes_stats.py +++ b/cmk/base/legacy_checks/couchbase_nodes_stats.py @@ -17,6 +17,7 @@ def discover_couchbase_nodes_stats(section): check_info["couchbase_nodes_stats"] = LegacyCheckDefinition( + name="couchbase_nodes_stats", parse_function=parse_couchbase_lines, discovery_function=discover_couchbase_nodes_stats, ) @@ -37,6 +38,7 @@ def discover_couchbase_nodes_stats_cpu_util(section): check_info["couchbase_nodes_stats.cpu_util"] = LegacyCheckDefinition( + name="couchbase_nodes_stats_cpu_util", service_name="Couchbase %s CPU utilization", sections=["couchbase_nodes_stats"], discovery_function=discover_couchbase_nodes_stats_cpu_util, @@ -81,6 +83,7 @@ def discover_couchbase_nodes_stats_mem(section): check_info["couchbase_nodes_stats.mem"] = LegacyCheckDefinition( + name="couchbase_nodes_stats_mem", service_name="Couchbase %s Memory", sections=["couchbase_nodes_stats"], discovery_function=discover_couchbase_nodes_stats_mem, diff --git a/cmk/base/legacy_checks/cups_queues.py b/cmk/base/legacy_checks/cups_queues.py index 6f17d41abd4..b75f53e88e8 100644 --- a/cmk/base/legacy_checks/cups_queues.py +++ b/cmk/base/legacy_checks/cups_queues.py @@ -126,6 +126,7 @@ def check_cups_queues(item, params, parsed): check_info["cups_queues"] = LegacyCheckDefinition( + name="cups_queues", parse_function=parse_cups_queues, service_name="CUPS Queue %s", discovery_function=inventory_cups_queues, diff --git a/cmk/base/legacy_checks/datapower_cpu.py b/cmk/base/legacy_checks/datapower_cpu.py index 3e00592db4f..474e9ded41d 100644 --- a/cmk/base/legacy_checks/datapower_cpu.py +++ b/cmk/base/legacy_checks/datapower_cpu.py @@ -27,6 +27,7 @@ def parse_datapower_cpu(string_table: StringTable) -> StringTable: check_info["datapower_cpu"] = LegacyCheckDefinition( + name="datapower_cpu", parse_function=parse_datapower_cpu, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/datapower_fs.py b/cmk/base/legacy_checks/datapower_fs.py index 5eaa8920a99..d8b7deaad2c 100644 --- a/cmk/base/legacy_checks/datapower_fs.py +++ b/cmk/base/legacy_checks/datapower_fs.py @@ -60,6 +60,7 @@ def parse_datapower_fs(string_table: StringTable) -> StringTable: check_info["datapower_fs"] = LegacyCheckDefinition( + name="datapower_fs", parse_function=parse_datapower_fs, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/datapower_mem.py b/cmk/base/legacy_checks/datapower_mem.py index 843c31d52ca..2503d791920 100644 --- a/cmk/base/legacy_checks/datapower_mem.py +++ b/cmk/base/legacy_checks/datapower_mem.py @@ -35,6 +35,7 @@ def parse_datapower_mem(string_table: StringTable) -> StringTable: check_info["datapower_mem"] = LegacyCheckDefinition( + name="datapower_mem", parse_function=parse_datapower_mem, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/datapower_temp.py b/cmk/base/legacy_checks/datapower_temp.py index 134bf551814..701a8c59070 100644 --- a/cmk/base/legacy_checks/datapower_temp.py +++ b/cmk/base/legacy_checks/datapower_temp.py @@ -47,6 +47,7 @@ def parse_datapower_temp(string_table: StringTable) -> StringTable: check_info["datapower_temp"] = LegacyCheckDefinition( + name="datapower_temp", parse_function=parse_datapower_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/db2_backup.py b/cmk/base/legacy_checks/db2_backup.py index 8653875ed36..d09d4582e41 100644 --- a/cmk/base/legacy_checks/db2_backup.py +++ b/cmk/base/legacy_checks/db2_backup.py @@ -47,6 +47,7 @@ def check_db2_backup(item, params, parsed): check_info["db2_backup"] = LegacyCheckDefinition( + name="db2_backup", parse_function=parse_db2_dbs, service_name="DB2 Backup %s", discovery_function=inventory_db2_backup, diff --git a/cmk/base/legacy_checks/db2_bp_hitratios.py b/cmk/base/legacy_checks/db2_bp_hitratios.py index 8e838d0f500..330c487bec9 100644 --- a/cmk/base/legacy_checks/db2_bp_hitratios.py +++ b/cmk/base/legacy_checks/db2_bp_hitratios.py @@ -92,6 +92,7 @@ def check_db2_bp_hitratios(item, _no_params, parsed): check_info["db2_bp_hitratios"] = LegacyCheckDefinition( + name="db2_bp_hitratios", parse_function=parse_db2_bp_hitratios, service_name="DB2 BP-Hitratios %s", discovery_function=inventory_db2_bp_hitratios, diff --git a/cmk/base/legacy_checks/db2_connections.py b/cmk/base/legacy_checks/db2_connections.py index 26d67c3fab2..9eb3685034f 100644 --- a/cmk/base/legacy_checks/db2_connections.py +++ b/cmk/base/legacy_checks/db2_connections.py @@ -57,6 +57,7 @@ def check_db2_connections(item, params, parsed): check_info["db2_connections"] = LegacyCheckDefinition( + name="db2_connections", parse_function=parse_db2_dbs, service_name="DB2 Connections %s", discovery_function=inventory_db2_connections, diff --git a/cmk/base/legacy_checks/db2_counters.py b/cmk/base/legacy_checks/db2_counters.py index a8959c20502..0ceaf5dc5e2 100644 --- a/cmk/base/legacy_checks/db2_counters.py +++ b/cmk/base/legacy_checks/db2_counters.py @@ -119,6 +119,7 @@ def check_db2_counters(item, params, parsed): check_info["db2_counters"] = LegacyCheckDefinition( + name="db2_counters", parse_function=parse_db2_counters, service_name="DB2 Counters %s", discovery_function=inventory_db2_counters, diff --git a/cmk/base/legacy_checks/db2_logsizes.py b/cmk/base/legacy_checks/db2_logsizes.py index 0a44d37fccc..a49a3b0159c 100644 --- a/cmk/base/legacy_checks/db2_logsizes.py +++ b/cmk/base/legacy_checks/db2_logsizes.py @@ -94,6 +94,7 @@ def check_db2_logsizes(item, params, parsed): check_info["db2_logsizes"] = LegacyCheckDefinition( + name="db2_logsizes", parse_function=parse_db2_logsizes, service_name="DB2 Logsize %s", discovery_function=inventory_db2_logsizes, diff --git a/cmk/base/legacy_checks/db2_mem.py b/cmk/base/legacy_checks/db2_mem.py index 32fd31801d8..14f29c313e5 100644 --- a/cmk/base/legacy_checks/db2_mem.py +++ b/cmk/base/legacy_checks/db2_mem.py @@ -64,6 +64,7 @@ def parse_db2_mem(string_table: StringTable) -> StringTable: check_info["db2_mem"] = LegacyCheckDefinition( + name="db2_mem", parse_function=parse_db2_mem, service_name="Memory %s", discovery_function=inventory_db2_mem, diff --git a/cmk/base/legacy_checks/db2_sort_overflow.py b/cmk/base/legacy_checks/db2_sort_overflow.py index 4c7bba9ce37..c7473ebf8b0 100644 --- a/cmk/base/legacy_checks/db2_sort_overflow.py +++ b/cmk/base/legacy_checks/db2_sort_overflow.py @@ -44,6 +44,7 @@ def check_db2_sort_overflow(item, params, parsed): check_info["db2_sort_overflow"] = LegacyCheckDefinition( + name="db2_sort_overflow", parse_function=parse_db2_dbs, service_name="DB2 Sort Overflow %s", discovery_function=inventory_db2_sort_overflow, diff --git a/cmk/base/legacy_checks/db2_tablespaces.py b/cmk/base/legacy_checks/db2_tablespaces.py index 8cc2de8a1a5..20c9636d2f8 100644 --- a/cmk/base/legacy_checks/db2_tablespaces.py +++ b/cmk/base/legacy_checks/db2_tablespaces.py @@ -102,6 +102,7 @@ def check_db2_tablespaces(item, params, parsed): check_info["db2_tablespaces"] = LegacyCheckDefinition( + name="db2_tablespaces", parse_function=parse_db2_dbs, service_name="DB2 Tablespace %s", discovery_function=inventory_db2_tablespaces, diff --git a/cmk/base/legacy_checks/ddn_s2a_errors.py b/cmk/base/legacy_checks/ddn_s2a_errors.py index a69f3178b9f..26d104cdee5 100644 --- a/cmk/base/legacy_checks/ddn_s2a_errors.py +++ b/cmk/base/legacy_checks/ddn_s2a_errors.py @@ -100,6 +100,7 @@ def check_errors(value, levels, infotext_formatstring): check_info["ddn_s2a_errors"] = LegacyCheckDefinition( + name="ddn_s2a_errors", parse_function=parse_ddn_s2a_errors, service_name="DDN S2A Port Errors %s", discovery_function=inventory_ddn_s2a_errors, diff --git a/cmk/base/legacy_checks/ddn_s2a_faultsbasic.py b/cmk/base/legacy_checks/ddn_s2a_faultsbasic.py index 28f58f687d6..2da2aff04b6 100644 --- a/cmk/base/legacy_checks/ddn_s2a_faultsbasic.py +++ b/cmk/base/legacy_checks/ddn_s2a_faultsbasic.py @@ -62,6 +62,7 @@ def check_ddn_s2a_faultsbasic_disks(_no_item, params, parsed): check_info["ddn_s2a_faultsbasic.disks"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_disks", service_name="DDN S2A Disks", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_disks, @@ -114,6 +115,7 @@ def check_ddn_s2a_faultsbasic_temp(_no_item, _no_params, parsed): check_info["ddn_s2a_faultsbasic.temp"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_temp", service_name="DDN S2A Temperature", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_temp, @@ -147,6 +149,7 @@ def check_ddn_s2a_faultsbasic_ps(_no_item, _no_params, parsed): check_info["ddn_s2a_faultsbasic.ps"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_ps", service_name="DDN S2A Power Supplies", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_ps, @@ -185,6 +188,7 @@ def check_ddn_s2a_faultsbasic_fans(_no_item, params, parsed): check_info["ddn_s2a_faultsbasic.fans"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_fans", service_name="DDN S2A Fans", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_fans, @@ -221,6 +225,7 @@ def check_ddn_s2a_faultsbasic_pingfault(_no_item, _no_params, parsed): check_info["ddn_s2a_faultsbasic.pingfault"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_pingfault", service_name="DDN S2A Ping Fault Status", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_pingfault, @@ -251,6 +256,7 @@ def check_ddn_s2a_faultsbasic_bootstatus(_no_item, _no_params, parsed): check_info["ddn_s2a_faultsbasic.bootstatus"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_bootstatus", service_name="DDN S2A Boot Status", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_bootstatus, @@ -297,6 +303,7 @@ def check_ddn_s2a_faultsbasic_cachecoh(_no_item, _no_params, parsed): check_info["ddn_s2a_faultsbasic.cachecoh"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_cachecoh", service_name="DDN S2A Cache Coherency", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_cachecoh, @@ -333,6 +340,7 @@ def check_ddn_s2a_faultsbasic_dualcomm(_no_item, _no_params, parsed): check_info["ddn_s2a_faultsbasic.dualcomm"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_dualcomm", service_name="DDN S2A Dual Communication", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_dualcomm, @@ -368,6 +376,7 @@ def check_ddn_s2a_faultsbasic_ethernet(_no_item, _no_params, parsed): check_info["ddn_s2a_faultsbasic.ethernet"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic_ethernet", service_name="DDN S2A Ethernet", sections=["ddn_s2a_faultsbasic"], discovery_function=inventory_ddn_s2a_faultsbasic_ethernet, @@ -405,6 +414,7 @@ def check_ddn_s2a_faultsbasic(item, _no_params, parsed): check_info["ddn_s2a_faultsbasic"] = LegacyCheckDefinition( + name="ddn_s2a_faultsbasic", parse_function=parse_ddn_s2a_faultsbasic, service_name="DDN S2A Unit %s", discovery_function=inventory_ddn_s2a_faultsbasic, diff --git a/cmk/base/legacy_checks/ddn_s2a_stats.py b/cmk/base/legacy_checks/ddn_s2a_stats.py index b0497a417b2..177482c3a61 100644 --- a/cmk/base/legacy_checks/ddn_s2a_stats.py +++ b/cmk/base/legacy_checks/ddn_s2a_stats.py @@ -52,6 +52,7 @@ def check_ddn_s2a_stats_readhits(item, params, parsed): check_info["ddn_s2a_stats.readhits"] = LegacyCheckDefinition( + name="ddn_s2a_stats_readhits", service_name="DDN S2A Read Hits %s", sections=["ddn_s2a_stats"], discovery_function=inventory_ddn_s2a_stats_readhits, @@ -123,6 +124,7 @@ def check_io_levels(value, levels, infotext_formatstring, perfname=None): check_info["ddn_s2a_stats.io"] = LegacyCheckDefinition( + name="ddn_s2a_stats_io", service_name="DDN S2A IO %s", sections=["ddn_s2a_stats"], discovery_function=inventory_ddn_s2a_stats_io, @@ -196,6 +198,7 @@ def check_datarate_levels(value, value_mb, levels, infotext_formatstring, perfna check_info["ddn_s2a_stats"] = LegacyCheckDefinition( + name="ddn_s2a_stats", parse_function=parse_ddn_s2a_stats, service_name="DDN S2A Data Rate %s", discovery_function=inventory_ddn_s2a_stats, diff --git a/cmk/base/legacy_checks/ddn_s2a_statsdelay.py b/cmk/base/legacy_checks/ddn_s2a_statsdelay.py index f0bbf58cd2e..2a5e894d219 100644 --- a/cmk/base/legacy_checks/ddn_s2a_statsdelay.py +++ b/cmk/base/legacy_checks/ddn_s2a_statsdelay.py @@ -155,6 +155,7 @@ def _check_levels(infotext_formatstring, value, levels, perfname): check_info["ddn_s2a_statsdelay"] = LegacyCheckDefinition( + name="ddn_s2a_statsdelay", parse_function=parse_ddn_s2a_statsdelay, service_name="DDN S2A Delay %s", discovery_function=inventory_ddn_s2a_statsdelay, diff --git a/cmk/base/legacy_checks/ddn_s2a_uptime.py b/cmk/base/legacy_checks/ddn_s2a_uptime.py index d7885ed0cc9..1d4c8a862a0 100644 --- a/cmk/base/legacy_checks/ddn_s2a_uptime.py +++ b/cmk/base/legacy_checks/ddn_s2a_uptime.py @@ -31,6 +31,7 @@ def check_ddn_s2a_uptime(_no_item, params, parsed): check_info["ddn_s2a_uptime"] = LegacyCheckDefinition( + name="ddn_s2a_uptime", parse_function=parse_ddn_s2a_uptime, service_name="DDN S2A Power-On Time", # We don't use "Uptime" as a service name here, # because this value is different from the uptime value diff --git a/cmk/base/legacy_checks/ddn_s2a_version.py b/cmk/base/legacy_checks/ddn_s2a_version.py index 83a8871e521..cdf652e05ab 100644 --- a/cmk/base/legacy_checks/ddn_s2a_version.py +++ b/cmk/base/legacy_checks/ddn_s2a_version.py @@ -24,6 +24,7 @@ def check_ddn_s2a_version(_no_item, _no_params, parsed): check_info["ddn_s2a_version"] = LegacyCheckDefinition( + name="ddn_s2a_version", parse_function=parse_ddn_s2a_version, service_name="DDN S2A Version", discovery_function=inventory_ddn_s2a_version, diff --git a/cmk/base/legacy_checks/decru_fans.py b/cmk/base/legacy_checks/decru_fans.py index 21f5d0d2c31..d0e7729c438 100644 --- a/cmk/base/legacy_checks/decru_fans.py +++ b/cmk/base/legacy_checks/decru_fans.py @@ -36,6 +36,7 @@ def check_decru_fans( check_info["decru_fans"] = LegacyCheckDefinition( + name="decru_fans", detect=DETECT_DECRU, fetch=SNMPTree( base=".1.3.6.1.4.1.12962.1.2.3.1", diff --git a/cmk/base/legacy_checks/decru_perf.py b/cmk/base/legacy_checks/decru_perf.py index e37685633a8..c4d647eb604 100644 --- a/cmk/base/legacy_checks/decru_perf.py +++ b/cmk/base/legacy_checks/decru_perf.py @@ -50,6 +50,7 @@ def parse_decru_perf(string_table: StringTable) -> StringTable: check_info["decru_perf"] = LegacyCheckDefinition( + name="decru_perf", parse_function=parse_decru_perf, detect=DETECT_DECRU, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/decru_temps.py b/cmk/base/legacy_checks/decru_temps.py index 2b9208ee305..03b3237818d 100644 --- a/cmk/base/legacy_checks/decru_temps.py +++ b/cmk/base/legacy_checks/decru_temps.py @@ -32,6 +32,7 @@ def parse_decru_temps(string_table: StringTable) -> StringTable: check_info["decru_temps"] = LegacyCheckDefinition( + name="decru_temps", parse_function=parse_decru_temps, detect=DETECT_DECRU, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_chassis_temp.py b/cmk/base/legacy_checks/dell_chassis_temp.py index 69a6ef16f12..877cc94b35a 100644 --- a/cmk/base/legacy_checks/dell_chassis_temp.py +++ b/cmk/base/legacy_checks/dell_chassis_temp.py @@ -40,6 +40,7 @@ def parse_dell_chassis_temp(string_table: StringTable) -> StringTable: check_info["dell_chassis_temp"] = LegacyCheckDefinition( + name="dell_chassis_temp", parse_function=parse_dell_chassis_temp, detect=DETECT_CHASSIS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_compellent_controller.py b/cmk/base/legacy_checks/dell_compellent_controller.py index 302c8e6865f..78e64b0243e 100644 --- a/cmk/base/legacy_checks/dell_compellent_controller.py +++ b/cmk/base/legacy_checks/dell_compellent_controller.py @@ -37,6 +37,7 @@ def parse_dell_compellent_controller(string_table: StringTable) -> StringTable: check_info["dell_compellent_controller"] = LegacyCheckDefinition( + name="dell_compellent_controller", parse_function=parse_dell_compellent_controller, detect=DETECT_DELL_COMPELLENT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_compellent_disks.py b/cmk/base/legacy_checks/dell_compellent_disks.py index 09159e7ad12..9b886d82f91 100644 --- a/cmk/base/legacy_checks/dell_compellent_disks.py +++ b/cmk/base/legacy_checks/dell_compellent_disks.py @@ -62,6 +62,7 @@ def discover_dell_compellent_disks(section): check_info["dell_compellent_disks"] = LegacyCheckDefinition( + name="dell_compellent_disks", detect=DETECT_DELL_COMPELLENT, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/dell_compellent_enclosure.py b/cmk/base/legacy_checks/dell_compellent_enclosure.py index 2b7790f0c73..a11367fc398 100644 --- a/cmk/base/legacy_checks/dell_compellent_enclosure.py +++ b/cmk/base/legacy_checks/dell_compellent_enclosure.py @@ -36,6 +36,7 @@ def parse_dell_compellent_enclosure(string_table: StringTable) -> StringTable: check_info["dell_compellent_enclosure"] = LegacyCheckDefinition( + name="dell_compellent_enclosure", parse_function=parse_dell_compellent_enclosure, detect=DETECT_DELL_COMPELLENT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_compellent_folder.py b/cmk/base/legacy_checks/dell_compellent_folder.py index 37e3e2ce725..9950dde3d0e 100644 --- a/cmk/base/legacy_checks/dell_compellent_folder.py +++ b/cmk/base/legacy_checks/dell_compellent_folder.py @@ -32,6 +32,7 @@ def parse_dell_compellent_folder(string_table: StringTable) -> StringTable: check_info["dell_compellent_folder"] = LegacyCheckDefinition( + name="dell_compellent_folder", parse_function=parse_dell_compellent_folder, detect=DETECT_DELL_COMPELLENT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_idrac_fans.py b/cmk/base/legacy_checks/dell_idrac_fans.py index f4083a2a573..6a7167db8e2 100644 --- a/cmk/base/legacy_checks/dell_idrac_fans.py +++ b/cmk/base/legacy_checks/dell_idrac_fans.py @@ -53,6 +53,7 @@ def parse_dell_idrac_fans(string_table: StringTable) -> StringTable: check_info["dell_idrac_fans"] = LegacyCheckDefinition( + name="dell_idrac_fans", parse_function=parse_dell_idrac_fans, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.674.10892.5"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_om_fans.py b/cmk/base/legacy_checks/dell_om_fans.py index 7ac09bb5a85..2440c65cf59 100644 --- a/cmk/base/legacy_checks/dell_om_fans.py +++ b/cmk/base/legacy_checks/dell_om_fans.py @@ -73,6 +73,7 @@ def parse_dell_om_fans(string_table: StringTable) -> StringTable: check_info["dell_om_fans"] = LegacyCheckDefinition( + name="dell_om_fans", parse_function=parse_dell_om_fans, detect=DETECT_OPENMANAGE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_om_sensors.py b/cmk/base/legacy_checks/dell_om_sensors.py index cf1f2f6d872..83ab9ea4a42 100644 --- a/cmk/base/legacy_checks/dell_om_sensors.py +++ b/cmk/base/legacy_checks/dell_om_sensors.py @@ -69,6 +69,7 @@ def parse_dell_om_sensors(string_table: StringTable) -> StringTable: check_info["dell_om_sensors"] = LegacyCheckDefinition( + name="dell_om_sensors", parse_function=parse_dell_om_sensors, detect=DETECT_OPENMANAGE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_om_vdisks.py b/cmk/base/legacy_checks/dell_om_vdisks.py index 3294f714447..4b1a20d2443 100644 --- a/cmk/base/legacy_checks/dell_om_vdisks.py +++ b/cmk/base/legacy_checks/dell_om_vdisks.py @@ -51,6 +51,7 @@ def check_dell_om_vdisks(item, params, parsed): check_info["dell_om_vdisks"] = LegacyCheckDefinition( + name="dell_om_vdisks", parse_function=parse_omreport, service_name="Virtual Disk %s", discovery_function=inventory_dell_om_vdisks, diff --git a/cmk/base/legacy_checks/dell_powerconnect_cpu.py b/cmk/base/legacy_checks/dell_powerconnect_cpu.py index 48560f0a18a..4b9d11dc980 100644 --- a/cmk/base/legacy_checks/dell_powerconnect_cpu.py +++ b/cmk/base/legacy_checks/dell_powerconnect_cpu.py @@ -69,6 +69,7 @@ def parse_dell_powerconnect_cpu(string_table: StringTable) -> StringTable: check_info["dell_powerconnect_cpu"] = LegacyCheckDefinition( + name="dell_powerconnect_cpu", parse_function=parse_dell_powerconnect_cpu, detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.674.10895"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_powerconnect_temp.py b/cmk/base/legacy_checks/dell_powerconnect_temp.py index 7760dc8e180..25b9f72ee9a 100644 --- a/cmk/base/legacy_checks/dell_powerconnect_temp.py +++ b/cmk/base/legacy_checks/dell_powerconnect_temp.py @@ -65,6 +65,7 @@ def check_dell_powerconnect_temp(_no_item, params, parsed): check_info["dell_powerconnect_temp"] = LegacyCheckDefinition( + name="dell_powerconnect_temp", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.674.10895"), fetch=SNMPTree( base=".1.3.6.1.4.1.89.53.15.1", diff --git a/cmk/base/legacy_checks/dell_poweredge_amperage.py b/cmk/base/legacy_checks/dell_poweredge_amperage.py index 2d9e59dbf18..66d888405b9 100644 --- a/cmk/base/legacy_checks/dell_poweredge_amperage.py +++ b/cmk/base/legacy_checks/dell_poweredge_amperage.py @@ -33,6 +33,7 @@ def parse_dell_poweredge_amperage(string_table: StringTable) -> StringTable: check_info["dell_poweredge_amperage"] = LegacyCheckDefinition( + name="dell_poweredge_amperage", parse_function=parse_dell_poweredge_amperage, detect=DETECT_IDRAC_POWEREDGE, fetch=SNMPTree( @@ -42,6 +43,7 @@ def parse_dell_poweredge_amperage(string_table: StringTable) -> StringTable: ) check_info["dell_poweredge_amperage.power"] = LegacyCheckDefinition( + name="dell_poweredge_amperage_power", service_name="%s", sections=["dell_poweredge_amperage"], discovery_function=inventory_dell_poweredge_amperage_power, @@ -49,6 +51,7 @@ def parse_dell_poweredge_amperage(string_table: StringTable) -> StringTable: ) check_info["dell_poweredge_amperage.current"] = LegacyCheckDefinition( + name="dell_poweredge_amperage_current", service_name="%s", sections=["dell_poweredge_amperage"], discovery_function=inventory_dell_poweredge_amperage_current, diff --git a/cmk/base/legacy_checks/dell_poweredge_cpu.py b/cmk/base/legacy_checks/dell_poweredge_cpu.py index 0a5bf4cdebb..4fd54acc73a 100644 --- a/cmk/base/legacy_checks/dell_poweredge_cpu.py +++ b/cmk/base/legacy_checks/dell_poweredge_cpu.py @@ -25,6 +25,7 @@ def parse_dell_poweredge_cpu(string_table: Sequence[StringTable]) -> Sequence[St check_info["dell_poweredge_cpu"] = LegacyCheckDefinition( + name="dell_poweredge_cpu", parse_function=parse_dell_poweredge_cpu, detect=DETECT_IDRAC_POWEREDGE, fetch=[ diff --git a/cmk/base/legacy_checks/dell_poweredge_mem.py b/cmk/base/legacy_checks/dell_poweredge_mem.py index 20d32d47f2f..f51e98743d7 100644 --- a/cmk/base/legacy_checks/dell_poweredge_mem.py +++ b/cmk/base/legacy_checks/dell_poweredge_mem.py @@ -26,6 +26,7 @@ def parse_dell_poweredge_mem(string_table: StringTable) -> StringTable: check_info["dell_poweredge_mem"] = LegacyCheckDefinition( + name="dell_poweredge_mem", parse_function=parse_dell_poweredge_mem, detect=DETECT_IDRAC_POWEREDGE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_poweredge_netdev.py b/cmk/base/legacy_checks/dell_poweredge_netdev.py index 04a4b1ece85..f7e011e18da 100644 --- a/cmk/base/legacy_checks/dell_poweredge_netdev.py +++ b/cmk/base/legacy_checks/dell_poweredge_netdev.py @@ -25,6 +25,7 @@ def parse_dell_poweredge_netdev(string_table: StringTable) -> StringTable: check_info["dell_poweredge_netdev"] = LegacyCheckDefinition( + name="dell_poweredge_netdev", parse_function=parse_dell_poweredge_netdev, detect=DETECT_IDRAC_POWEREDGE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_poweredge_pci.py b/cmk/base/legacy_checks/dell_poweredge_pci.py index d7cdc82bc0d..01205841660 100644 --- a/cmk/base/legacy_checks/dell_poweredge_pci.py +++ b/cmk/base/legacy_checks/dell_poweredge_pci.py @@ -26,6 +26,7 @@ def parse_dell_poweredge_pci(string_table: StringTable) -> StringTable: check_info["dell_poweredge_pci"] = LegacyCheckDefinition( + name="dell_poweredge_pci", parse_function=parse_dell_poweredge_pci, detect=DETECT_IDRAC_POWEREDGE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_poweredge_status.py b/cmk/base/legacy_checks/dell_poweredge_status.py index 4095b276198..f6c4c2e26dc 100644 --- a/cmk/base/legacy_checks/dell_poweredge_status.py +++ b/cmk/base/legacy_checks/dell_poweredge_status.py @@ -23,6 +23,7 @@ def parse_dell_poweredge_status(string_table: StringTable) -> StringTable: check_info["dell_poweredge_status"] = LegacyCheckDefinition( + name="dell_poweredge_status", parse_function=parse_dell_poweredge_status, detect=DETECT_IDRAC_POWEREDGE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dell_poweredge_temp.py b/cmk/base/legacy_checks/dell_poweredge_temp.py index 835b9d8a321..32da077a5bc 100644 --- a/cmk/base/legacy_checks/dell_poweredge_temp.py +++ b/cmk/base/legacy_checks/dell_poweredge_temp.py @@ -27,6 +27,7 @@ def parse_dell_poweredge_temp(string_table: StringTable) -> StringTable: check_info["dell_poweredge_temp"] = LegacyCheckDefinition( + name="dell_poweredge_temp", parse_function=parse_dell_poweredge_temp, detect=DETECT_IDRAC_POWEREDGE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/didactum_can_sensors_analog.py b/cmk/base/legacy_checks/didactum_can_sensors_analog.py index b67864b9353..85ae24f4b29 100644 --- a/cmk/base/legacy_checks/didactum_can_sensors_analog.py +++ b/cmk/base/legacy_checks/didactum_can_sensors_analog.py @@ -37,6 +37,7 @@ def inventory_didactum_can_sensors_analog_temp(parsed): check_info["didactum_can_sensors_analog"] = LegacyCheckDefinition( + name="didactum_can_sensors_analog", detect=DETECT_DIDACTUM, fetch=SNMPTree( base=".1.3.6.1.4.1.46501.6.2.1", @@ -65,6 +66,7 @@ def inventory_didactum_can_sensors_analog_humid(parsed): check_info["didactum_can_sensors_analog.humidity"] = LegacyCheckDefinition( + name="didactum_can_sensors_analog_humidity", service_name="Humidity CAN %s", sections=["didactum_can_sensors_analog"], discovery_function=inventory_didactum_can_sensors_analog_humid, @@ -88,6 +90,7 @@ def inventory_didactum_can_sensors_analog_volt(parsed): check_info["didactum_can_sensors_analog.voltage"] = LegacyCheckDefinition( + name="didactum_can_sensors_analog_voltage", service_name="Phase CAN %s", sections=["didactum_can_sensors_analog"], discovery_function=inventory_didactum_can_sensors_analog_volt, diff --git a/cmk/base/legacy_checks/didactum_sensors_analog.py b/cmk/base/legacy_checks/didactum_sensors_analog.py index 0c8a6f81321..1c38da88834 100644 --- a/cmk/base/legacy_checks/didactum_sensors_analog.py +++ b/cmk/base/legacy_checks/didactum_sensors_analog.py @@ -62,6 +62,7 @@ def inventory_didactum_sensors_analog_temp(parsed): check_info["didactum_sensors_analog"] = LegacyCheckDefinition( + name="didactum_sensors_analog", detect=DETECT_DIDACTUM, fetch=SNMPTree( base=".1.3.6.1.4.1.46501.5.2.1", @@ -90,6 +91,7 @@ def inventory_didactum_sensors_analog_humid(parsed): check_info["didactum_sensors_analog.humidity"] = LegacyCheckDefinition( + name="didactum_sensors_analog_humidity", service_name="Humidity %s", sections=["didactum_sensors_analog"], discovery_function=inventory_didactum_sensors_analog_humid, @@ -113,6 +115,7 @@ def inventory_didactum_sensors_analog_volt(parsed): check_info["didactum_sensors_analog.voltage"] = LegacyCheckDefinition( + name="didactum_sensors_analog_voltage", service_name="Phase %s", sections=["didactum_sensors_analog"], discovery_function=inventory_didactum_sensors_analog_volt, diff --git a/cmk/base/legacy_checks/didactum_sensors_discrete.py b/cmk/base/legacy_checks/didactum_sensors_discrete.py index 241cdc0ed08..490d599abe6 100644 --- a/cmk/base/legacy_checks/didactum_sensors_discrete.py +++ b/cmk/base/legacy_checks/didactum_sensors_discrete.py @@ -48,6 +48,7 @@ def check_didactum_sensors_discrete_dry(item, params, parsed): check_info["didactum_sensors_discrete"] = LegacyCheckDefinition( + name="didactum_sensors_discrete", detect=DETECT_DIDACTUM, fetch=SNMPTree( base=".1.3.6.1.4.1.46501.5.1.1", diff --git a/cmk/base/legacy_checks/didactum_sensors_outlet.py b/cmk/base/legacy_checks/didactum_sensors_outlet.py index d2d823f1bab..f95b27311e3 100644 --- a/cmk/base/legacy_checks/didactum_sensors_outlet.py +++ b/cmk/base/legacy_checks/didactum_sensors_outlet.py @@ -27,6 +27,7 @@ def check_didactum_sensors_outlet_relay(item, params, parsed): check_info["didactum_sensors_outlet"] = LegacyCheckDefinition( + name="didactum_sensors_outlet", detect=DETECT_DIDACTUM, fetch=SNMPTree( base=".1.3.6.1.4.1.46501.5.3.1", diff --git a/cmk/base/legacy_checks/docker_node_disk_usage.py b/cmk/base/legacy_checks/docker_node_disk_usage.py index 13f0f9c992b..fec5d1a08ed 100644 --- a/cmk/base/legacy_checks/docker_node_disk_usage.py +++ b/cmk/base/legacy_checks/docker_node_disk_usage.py @@ -48,6 +48,7 @@ def discover_docker_node_disk_usage(section): check_info["docker_node_disk_usage"] = LegacyCheckDefinition( + name="docker_node_disk_usage", parse_function=parse_docker_node_disk_usage, service_name="Docker disk usage - %s", discovery_function=discover_docker_node_disk_usage, diff --git a/cmk/base/legacy_checks/docker_node_info.py b/cmk/base/legacy_checks/docker_node_info.py index 36ae995155d..8c933db222e 100644 --- a/cmk/base/legacy_checks/docker_node_info.py +++ b/cmk/base/legacy_checks/docker_node_info.py @@ -27,6 +27,7 @@ def check_docker_node_info(_no_item, _no_params, parsed): check_info["docker_node_info"] = LegacyCheckDefinition( + name="docker_node_info", service_name="Docker node info", discovery_function=discover_docker_node_info, check_function=check_docker_node_info, @@ -61,6 +62,7 @@ def check_docker_node_containers(_no_item, params, parsed): check_info["docker_node_info.containers"] = LegacyCheckDefinition( + name="docker_node_info_containers", service_name="Docker containers", sections=["docker_node_info"], discovery_function=discover_docker_node_info, diff --git a/cmk/base/legacy_checks/docsis_channels_downstream.py b/cmk/base/legacy_checks/docsis_channels_downstream.py index 5af4f0e01ff..54192ca47ba 100644 --- a/cmk/base/legacy_checks/docsis_channels_downstream.py +++ b/cmk/base/legacy_checks/docsis_channels_downstream.py @@ -60,6 +60,7 @@ def parse_docsis_channels_downstream(string_table: StringTable) -> StringTable: check_info["docsis_channels_downstream"] = LegacyCheckDefinition( + name="docsis_channels_downstream", parse_function=parse_docsis_channels_downstream, detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4115.820.1.0.0.0.0.0"), diff --git a/cmk/base/legacy_checks/docsis_channels_upstream.py b/cmk/base/legacy_checks/docsis_channels_upstream.py index 95ddf05164b..18454a92e07 100644 --- a/cmk/base/legacy_checks/docsis_channels_upstream.py +++ b/cmk/base/legacy_checks/docsis_channels_upstream.py @@ -161,6 +161,7 @@ def check_docsis_channels_upstream(item, params, parsed): check_info["docsis_channels_upstream"] = LegacyCheckDefinition( + name="docsis_channels_upstream", detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4115.820.1.0.0.0.0.0"), equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4115.900.2.0.0.0.0.0"), diff --git a/cmk/base/legacy_checks/docsis_cm_status.py b/cmk/base/legacy_checks/docsis_cm_status.py index 52d628ce3d5..eb9213e2cb0 100644 --- a/cmk/base/legacy_checks/docsis_cm_status.py +++ b/cmk/base/legacy_checks/docsis_cm_status.py @@ -83,6 +83,7 @@ def parse_docsis_cm_status(string_table: StringTable) -> StringTable: check_info["docsis_cm_status"] = LegacyCheckDefinition( + name="docsis_cm_status", parse_function=parse_docsis_cm_status, detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.4115.820.1.0.0.0.0.0"), diff --git a/cmk/base/legacy_checks/domino_mailqueues.py b/cmk/base/legacy_checks/domino_mailqueues.py index afd5c8497e2..17ef8f1c0c5 100644 --- a/cmk/base/legacy_checks/domino_mailqueues.py +++ b/cmk/base/legacy_checks/domino_mailqueues.py @@ -47,6 +47,7 @@ def discover_domino_mailqueues(section): check_info["domino_mailqueues"] = LegacyCheckDefinition( + name="domino_mailqueues", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.334.72.1.1.4", diff --git a/cmk/base/legacy_checks/domino_transactions.py b/cmk/base/legacy_checks/domino_transactions.py index 63dccc170a9..ef9c254ce57 100644 --- a/cmk/base/legacy_checks/domino_transactions.py +++ b/cmk/base/legacy_checks/domino_transactions.py @@ -32,6 +32,7 @@ def parse_domino_transactions(string_table: StringTable) -> StringTable: check_info["domino_transactions"] = LegacyCheckDefinition( + name="domino_transactions", parse_function=parse_domino_transactions, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/domino_users.py b/cmk/base/legacy_checks/domino_users.py index 1cbc6ea1d4c..f942357a20f 100644 --- a/cmk/base/legacy_checks/domino_users.py +++ b/cmk/base/legacy_checks/domino_users.py @@ -32,6 +32,7 @@ def parse_domino_users(string_table: StringTable) -> StringTable: check_info["domino_users"] = LegacyCheckDefinition( + name="domino_users", parse_function=parse_domino_users, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/dotnet_clrmemory.py b/cmk/base/legacy_checks/dotnet_clrmemory.py index 2dd8c9fe255..799f1e881d6 100644 --- a/cmk/base/legacy_checks/dotnet_clrmemory.py +++ b/cmk/base/legacy_checks/dotnet_clrmemory.py @@ -33,6 +33,7 @@ def discover_dotnet_clrmemory(parsed): check_info["dotnet_clrmemory"] = LegacyCheckDefinition( + name="dotnet_clrmemory", parse_function=parse_wmi_table, service_name="DotNet Memory Management %s", discovery_function=discover_dotnet_clrmemory, diff --git a/cmk/base/legacy_checks/drbd.py b/cmk/base/legacy_checks/drbd.py index 0225468c93f..c2e11865dfa 100644 --- a/cmk/base/legacy_checks/drbd.py +++ b/cmk/base/legacy_checks/drbd.py @@ -346,6 +346,7 @@ def discover_drbd(info): check_info["drbd"] = LegacyCheckDefinition( + name="drbd", parse_function=parse_drbd, service_name="DRBD %s status", discovery_function=discover_drbd, @@ -389,6 +390,7 @@ def discover_drbd_net(info): check_info["drbd.net"] = LegacyCheckDefinition( + name="drbd_net", service_name="DRBD %s net", sections=["drbd"], discovery_function=discover_drbd_net, @@ -418,6 +420,7 @@ def discover_drbd_disk(info): check_info["drbd.disk"] = LegacyCheckDefinition( + name="drbd_disk", service_name="DRBD %s disk", sections=["drbd"], discovery_function=discover_drbd_disk, @@ -459,6 +462,7 @@ def discover_drbd_stats(info): check_info["drbd.stats"] = LegacyCheckDefinition( + name="drbd_stats", service_name="DRBD %s stats", sections=["drbd"], discovery_function=discover_drbd_stats, diff --git a/cmk/base/legacy_checks/elasticsearch_cluster_health.py b/cmk/base/legacy_checks/elasticsearch_cluster_health.py index 197b5a01412..69a91b6a842 100644 --- a/cmk/base/legacy_checks/elasticsearch_cluster_health.py +++ b/cmk/base/legacy_checks/elasticsearch_cluster_health.py @@ -116,6 +116,7 @@ def check_elasticsearch_cluster_health(_no_item, params, parsed): check_info["elasticsearch_cluster_health"] = LegacyCheckDefinition( + name="elasticsearch_cluster_health", parse_function=parse_elasticsearch_cluster_health, service_name="Elasticsearch Cluster Health", discovery_function=inventory_elasticsearch_cluster_health, @@ -160,6 +161,7 @@ def check_elasticsearch_cluster_health_shards(_no_item, params, parsed): check_info["elasticsearch_cluster_health.shards"] = LegacyCheckDefinition( + name="elasticsearch_cluster_health_shards", service_name="Elasticsearch Cluster Shards", sections=["elasticsearch_cluster_health"], discovery_function=inventory_elasticsearch_cluster_health, @@ -189,6 +191,7 @@ def check_elasticsearch_cluster_health_tasks(_no_item, params, parsed): check_info["elasticsearch_cluster_health.tasks"] = LegacyCheckDefinition( + name="elasticsearch_cluster_health_tasks", service_name="Elasticsearch Cluster Tasks", sections=["elasticsearch_cluster_health"], discovery_function=inventory_elasticsearch_cluster_health, diff --git a/cmk/base/legacy_checks/elasticsearch_nodes.py b/cmk/base/legacy_checks/elasticsearch_nodes.py index 5a47d97d294..8f03e2cb8ae 100644 --- a/cmk/base/legacy_checks/elasticsearch_nodes.py +++ b/cmk/base/legacy_checks/elasticsearch_nodes.py @@ -73,6 +73,7 @@ def discover_elasticsearch_nodes(section): check_info["elasticsearch_nodes"] = LegacyCheckDefinition( + name="elasticsearch_nodes", parse_function=parse_elasticsearch_nodes, service_name="Elasticsearch Node %s", discovery_function=discover_elasticsearch_nodes, diff --git a/cmk/base/legacy_checks/eltek_battery.py b/cmk/base/legacy_checks/eltek_battery.py index cac10c06060..3780fe66e46 100644 --- a/cmk/base/legacy_checks/eltek_battery.py +++ b/cmk/base/legacy_checks/eltek_battery.py @@ -63,6 +63,7 @@ def check_eltek_battery(_no_item, _no_params, parsed): check_info["eltek_battery"] = LegacyCheckDefinition( + name="eltek_battery", detect=DETECT_ELTEK, fetch=SNMPTree( base=".1.3.6.1.4.1.12148.9.3", @@ -101,6 +102,7 @@ def check_eltek_battery_temp(item, params, parsed): check_info["eltek_battery.temp"] = LegacyCheckDefinition( + name="eltek_battery_temp", service_name="Temperature %s", sections=["eltek_battery"], discovery_function=inventory_eltek_battery_temp, @@ -131,6 +133,7 @@ def check_eltek_battery_supply(item, params, parsed): check_info["eltek_battery.supply"] = LegacyCheckDefinition( + name="eltek_battery_supply", service_name="Battery %s", sections=["eltek_battery"], discovery_function=discover_eltek_battery_supply, diff --git a/cmk/base/legacy_checks/eltek_fans.py b/cmk/base/legacy_checks/eltek_fans.py index dfd699f407a..f2e64133f8d 100644 --- a/cmk/base/legacy_checks/eltek_fans.py +++ b/cmk/base/legacy_checks/eltek_fans.py @@ -100,6 +100,7 @@ def parse_eltek_fans(string_table: StringTable) -> StringTable: check_info["eltek_fans"] = LegacyCheckDefinition( + name="eltek_fans", parse_function=parse_eltek_fans, detect=DETECT_ELTEK, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/eltek_outdoor_temp.py b/cmk/base/legacy_checks/eltek_outdoor_temp.py index 364c863fd1a..3d102c789da 100644 --- a/cmk/base/legacy_checks/eltek_outdoor_temp.py +++ b/cmk/base/legacy_checks/eltek_outdoor_temp.py @@ -82,6 +82,7 @@ def parse_eltek_outdoor_temp(string_table: StringTable) -> StringTable: check_info["eltek_outdoor_temp"] = LegacyCheckDefinition( + name="eltek_outdoor_temp", parse_function=parse_eltek_outdoor_temp, detect=DETECT_ELTEK, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/eltek_systemstatus.py b/cmk/base/legacy_checks/eltek_systemstatus.py index e5720d1df0a..7e5c4075dbd 100644 --- a/cmk/base/legacy_checks/eltek_systemstatus.py +++ b/cmk/base/legacy_checks/eltek_systemstatus.py @@ -33,6 +33,7 @@ def parse_eltek_systemstatus(string_table: StringTable) -> StringTable | None: check_info["eltek_systemstatus"] = LegacyCheckDefinition( + name="eltek_systemstatus", parse_function=parse_eltek_systemstatus, detect=DETECT_ELTEK, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_datadomain_disks.py b/cmk/base/legacy_checks/emc_datadomain_disks.py index b58e05d27df..8d077400278 100644 --- a/cmk/base/legacy_checks/emc_datadomain_disks.py +++ b/cmk/base/legacy_checks/emc_datadomain_disks.py @@ -62,6 +62,7 @@ def parse_emc_datadomain_disks(string_table: Sequence[StringTable]) -> Sequence[ check_info["emc_datadomain_disks"] = LegacyCheckDefinition( + name="emc_datadomain_disks", parse_function=parse_emc_datadomain_disks, detect=DETECT_DATADOMAIN, fetch=[ diff --git a/cmk/base/legacy_checks/emc_datadomain_fans.py b/cmk/base/legacy_checks/emc_datadomain_fans.py index dab91fc45ad..9be8ceeb0c3 100644 --- a/cmk/base/legacy_checks/emc_datadomain_fans.py +++ b/cmk/base/legacy_checks/emc_datadomain_fans.py @@ -44,6 +44,7 @@ def parse_emc_datadomain_fans(string_table: StringTable) -> StringTable: check_info["emc_datadomain_fans"] = LegacyCheckDefinition( + name="emc_datadomain_fans", parse_function=parse_emc_datadomain_fans, detect=DETECT_DATADOMAIN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_datadomain_fs.py b/cmk/base/legacy_checks/emc_datadomain_fs.py index 756990bce6a..b6db6d1620f 100644 --- a/cmk/base/legacy_checks/emc_datadomain_fs.py +++ b/cmk/base/legacy_checks/emc_datadomain_fs.py @@ -37,6 +37,7 @@ def parse_emc_datadomain_fs(string_table: StringTable) -> StringTable: check_info["emc_datadomain_fs"] = LegacyCheckDefinition( + name="emc_datadomain_fs", parse_function=parse_emc_datadomain_fs, detect=DETECT_DATADOMAIN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_datadomain_mtree.py b/cmk/base/legacy_checks/emc_datadomain_mtree.py index 0251f4c7f4d..11962a90372 100644 --- a/cmk/base/legacy_checks/emc_datadomain_mtree.py +++ b/cmk/base/legacy_checks/emc_datadomain_mtree.py @@ -47,6 +47,7 @@ def discover_emc_datadomain_mtree(section): check_info["emc_datadomain_mtree"] = LegacyCheckDefinition( + name="emc_datadomain_mtree", detect=DETECT_DATADOMAIN, fetch=SNMPTree( base=".1.3.6.1.4.1.19746.1.15.2.1.1", diff --git a/cmk/base/legacy_checks/emc_datadomain_nvbat.py b/cmk/base/legacy_checks/emc_datadomain_nvbat.py index a111b438aa3..a072219eacb 100644 --- a/cmk/base/legacy_checks/emc_datadomain_nvbat.py +++ b/cmk/base/legacy_checks/emc_datadomain_nvbat.py @@ -43,6 +43,7 @@ def parse_emc_datadomain_nvbat(string_table: StringTable) -> StringTable: check_info["emc_datadomain_nvbat"] = LegacyCheckDefinition( + name="emc_datadomain_nvbat", parse_function=parse_emc_datadomain_nvbat, detect=DETECT_DATADOMAIN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_datadomain_power.py b/cmk/base/legacy_checks/emc_datadomain_power.py index 1917b881a19..43f13fd96a0 100644 --- a/cmk/base/legacy_checks/emc_datadomain_power.py +++ b/cmk/base/legacy_checks/emc_datadomain_power.py @@ -44,6 +44,7 @@ def parse_emc_datadomain_power(string_table: StringTable) -> StringTable: check_info["emc_datadomain_power"] = LegacyCheckDefinition( + name="emc_datadomain_power", parse_function=parse_emc_datadomain_power, detect=DETECT_DATADOMAIN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_datadomain_temps.py b/cmk/base/legacy_checks/emc_datadomain_temps.py index c9eda6dffd9..ae3c2057f61 100644 --- a/cmk/base/legacy_checks/emc_datadomain_temps.py +++ b/cmk/base/legacy_checks/emc_datadomain_temps.py @@ -51,6 +51,7 @@ def parse_emc_datadomain_temps(string_table: StringTable) -> StringTable: check_info["emc_datadomain_temps"] = LegacyCheckDefinition( + name="emc_datadomain_temps", parse_function=parse_emc_datadomain_temps, detect=DETECT_DATADOMAIN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_isilon.py b/cmk/base/legacy_checks/emc_isilon.py index fe74c016a69..3ecefb5b2b2 100644 --- a/cmk/base/legacy_checks/emc_isilon.py +++ b/cmk/base/legacy_checks/emc_isilon.py @@ -18,6 +18,7 @@ def parse_emc_isilon(string_table: Sequence[StringTable]) -> Sequence[StringTabl check_info["emc_isilon"] = LegacyCheckDefinition( + name="emc_isilon", parse_function=parse_emc_isilon, detect=DETECT_ISILON, fetch=[ @@ -54,6 +55,7 @@ def check_emc_isilon_clusterhealth(item, _no_params, info): check_info["emc_isilon.clusterhealth"] = LegacyCheckDefinition( + name="emc_isilon_clusterhealth", service_name="Cluster Health", sections=["emc_isilon"], discovery_function=inventory_emc_isilon_clusterhealth, @@ -83,6 +85,7 @@ def check_emc_isilon_nodehealth(item, _no_params, info): check_info["emc_isilon.nodehealth"] = LegacyCheckDefinition( + name="emc_isilon_nodehealth", service_name="Node Health", sections=["emc_isilon"], discovery_function=inventory_emc_isilon_nodehealth, @@ -107,6 +110,7 @@ def check_emc_isilon_nodes(item, _no_params, info): check_info["emc_isilon.nodes"] = LegacyCheckDefinition( + name="emc_isilon_nodes", service_name="Nodes", sections=["emc_isilon"], discovery_function=inventory_emc_isilon_nodes, @@ -126,6 +130,7 @@ def check_emc_isilon_names(item, _no_params, info): check_info["emc_isilon.names"] = LegacyCheckDefinition( + name="emc_isilon_names", service_name="Isilon Info", sections=["emc_isilon"], discovery_function=inventory_emc_isilon_names, diff --git a/cmk/base/legacy_checks/emc_isilon_cpu.py b/cmk/base/legacy_checks/emc_isilon_cpu.py index ca24bbdab87..b8f234e05f7 100644 --- a/cmk/base/legacy_checks/emc_isilon_cpu.py +++ b/cmk/base/legacy_checks/emc_isilon_cpu.py @@ -54,6 +54,7 @@ def parse_emc_isilon_cpu(string_table: StringTable) -> StringTable | None: check_info["emc_isilon_cpu"] = LegacyCheckDefinition( + name="emc_isilon_cpu", parse_function=parse_emc_isilon_cpu, detect=DETECT_ISILON, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_isilon_diskstatus.py b/cmk/base/legacy_checks/emc_isilon_diskstatus.py index 396a08b987c..1bcb367799b 100644 --- a/cmk/base/legacy_checks/emc_isilon_diskstatus.py +++ b/cmk/base/legacy_checks/emc_isilon_diskstatus.py @@ -33,6 +33,7 @@ def parse_emc_isilon_diskstatus(string_table: StringTable) -> StringTable: check_info["emc_isilon_diskstatus"] = LegacyCheckDefinition( + name="emc_isilon_diskstatus", parse_function=parse_emc_isilon_diskstatus, detect=DETECT_ISILON, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_isilon_fans.py b/cmk/base/legacy_checks/emc_isilon_fans.py index 136c7458d56..4882fe1c5c5 100644 --- a/cmk/base/legacy_checks/emc_isilon_fans.py +++ b/cmk/base/legacy_checks/emc_isilon_fans.py @@ -39,6 +39,7 @@ def parse_emc_isilon_fans(string_table: StringTable) -> StringTable: check_info["emc_isilon_fans"] = LegacyCheckDefinition( + name="emc_isilon_fans", parse_function=parse_emc_isilon_fans, detect=DETECT_ISILON, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_isilon_ifs.py b/cmk/base/legacy_checks/emc_isilon_ifs.py index c049af23df8..797f3abe4e3 100644 --- a/cmk/base/legacy_checks/emc_isilon_ifs.py +++ b/cmk/base/legacy_checks/emc_isilon_ifs.py @@ -22,6 +22,7 @@ def check_emc_isilon_ifs(item: str, params: Mapping[str, Any], section: FSBlock) check_info["emc_isilon_ifs"] = LegacyCheckDefinition( + name="emc_isilon_ifs", service_name="Filesystem %s", # section already migrated discovery_function=inventory_emc_isilon_ifs, diff --git a/cmk/base/legacy_checks/emc_isilon_power.py b/cmk/base/legacy_checks/emc_isilon_power.py index 7aa44c3f267..6036108f697 100644 --- a/cmk/base/legacy_checks/emc_isilon_power.py +++ b/cmk/base/legacy_checks/emc_isilon_power.py @@ -52,6 +52,7 @@ def parse_emc_isilon_power(string_table: StringTable) -> StringTable: check_info["emc_isilon_power"] = LegacyCheckDefinition( + name="emc_isilon_power", parse_function=parse_emc_isilon_power, detect=DETECT_ISILON, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emc_isilon_temp.py b/cmk/base/legacy_checks/emc_isilon_temp.py index 2ed6b9ee8ab..29a3f4838db 100644 --- a/cmk/base/legacy_checks/emc_isilon_temp.py +++ b/cmk/base/legacy_checks/emc_isilon_temp.py @@ -65,6 +65,7 @@ def discover_emc_isilon_temp(info): check_info["emc_isilon_temp"] = LegacyCheckDefinition( + name="emc_isilon_temp", parse_function=parse_emc_isilon_temp, detect=DETECT_ISILON, fetch=SNMPTree( @@ -102,6 +103,7 @@ def discover_emc_isilon_temp_cpu(info): # '----------------------------------------------------------------------' check_info["emc_isilon_temp.cpu"] = LegacyCheckDefinition( + name="emc_isilon_temp_cpu", service_name="Temperature %s", sections=["emc_isilon_temp"], discovery_function=discover_emc_isilon_temp_cpu, diff --git a/cmk/base/legacy_checks/emc_vplex_cpu.py b/cmk/base/legacy_checks/emc_vplex_cpu.py index f8567f3d6f9..284112a7e3e 100644 --- a/cmk/base/legacy_checks/emc_vplex_cpu.py +++ b/cmk/base/legacy_checks/emc_vplex_cpu.py @@ -30,6 +30,7 @@ def check_emc_vplex_cpu( check_info["emc_vplex_cpu"] = LegacyCheckDefinition( + name="emc_vplex_cpu", detect=DETECT_VPLEX, fetch=SNMPTree( base=".1.3.6.1.4.1.1139.21.2.2", diff --git a/cmk/base/legacy_checks/emcvnx_agent.py b/cmk/base/legacy_checks/emcvnx_agent.py index 4773bf0d903..cf98f1daec1 100644 --- a/cmk/base/legacy_checks/emcvnx_agent.py +++ b/cmk/base/legacy_checks/emcvnx_agent.py @@ -33,6 +33,7 @@ def check_emcvnx_agent(item, _no_params, parsed): check_info["emcvnx_agent"] = LegacyCheckDefinition( + name="emcvnx_agent", parse_function=parse_emcvnx_agent, service_name="EMC VNX Agent", discovery_function=inventory_emcvnx_agent, diff --git a/cmk/base/legacy_checks/emcvnx_disks.py b/cmk/base/legacy_checks/emcvnx_disks.py index b49975d1a94..edbe6140312 100644 --- a/cmk/base/legacy_checks/emcvnx_disks.py +++ b/cmk/base/legacy_checks/emcvnx_disks.py @@ -196,6 +196,7 @@ def check_emcvnx_disks(item, params, parsed): check_info["emcvnx_disks"] = LegacyCheckDefinition( + name="emcvnx_disks", parse_function=parse_emcvnx_disks, service_name="Enclosure %s", discovery_function=inventory_emcvnx_disks, diff --git a/cmk/base/legacy_checks/emcvnx_hba.py b/cmk/base/legacy_checks/emcvnx_hba.py index d853ff1a2ff..1d11720e92d 100644 --- a/cmk/base/legacy_checks/emcvnx_hba.py +++ b/cmk/base/legacy_checks/emcvnx_hba.py @@ -132,6 +132,7 @@ def check_emcvnx_hba(item, _no_params, parsed): check_info["emcvnx_hba"] = LegacyCheckDefinition( + name="emcvnx_hba", parse_function=parse_emcvnx_hba, service_name="HBA %s", discovery_function=inventory_emcvnx_hba, diff --git a/cmk/base/legacy_checks/emcvnx_hwstatus.py b/cmk/base/legacy_checks/emcvnx_hwstatus.py index 2c64b17340a..4607d59290d 100644 --- a/cmk/base/legacy_checks/emcvnx_hwstatus.py +++ b/cmk/base/legacy_checks/emcvnx_hwstatus.py @@ -126,6 +126,7 @@ def check_emcvnx_hwstatus(item, _no_params, section): check_info["emcvnx_hwstatus"] = LegacyCheckDefinition( + name="emcvnx_hwstatus", service_name="Enclosure %s", # Example for Item: "0/1 Power A", parse_function=parse_emcvnx_hwstatus, discovery_function=inventory_emcvnx_hwstatus, diff --git a/cmk/base/legacy_checks/emcvnx_info.py b/cmk/base/legacy_checks/emcvnx_info.py index e1161f2a93d..6ec894b28e8 100644 --- a/cmk/base/legacy_checks/emcvnx_info.py +++ b/cmk/base/legacy_checks/emcvnx_info.py @@ -148,6 +148,7 @@ def discover_emcvnx_info(x): check_info["emcvnx_info"] = LegacyCheckDefinition( + name="emcvnx_info", parse_function=parse_emcvnx_info, service_name="EMC VNX Info", discovery_function=discover_emcvnx_info, @@ -175,6 +176,7 @@ def discover_emcvnx_info_storage(x): check_info["emcvnx_info.storage"] = LegacyCheckDefinition( + name="emcvnx_info_storage", service_name="EMC VNX Storage Processor", sections=["emcvnx_info"], discovery_function=discover_emcvnx_info_storage, @@ -205,6 +207,7 @@ def discover_emcvnx_info_link(x): check_info["emcvnx_info.link"] = LegacyCheckDefinition( + name="emcvnx_info_link", service_name="EMC VNX Link", sections=["emcvnx_info"], discovery_function=discover_emcvnx_info_link, @@ -232,6 +235,7 @@ def discover_emcvnx_info_config(x): check_info["emcvnx_info.config"] = LegacyCheckDefinition( + name="emcvnx_info_config", service_name="EMC VNX Config", sections=["emcvnx_info"], discovery_function=discover_emcvnx_info_config, @@ -262,6 +266,7 @@ def discover_emcvnx_info_io(x): check_info["emcvnx_info.io"] = LegacyCheckDefinition( + name="emcvnx_info_io", service_name="EMC VNX IO", sections=["emcvnx_info"], discovery_function=discover_emcvnx_info_io, diff --git a/cmk/base/legacy_checks/emcvnx_mirrorview.py b/cmk/base/legacy_checks/emcvnx_mirrorview.py index 140d7430300..b3485f219fd 100644 --- a/cmk/base/legacy_checks/emcvnx_mirrorview.py +++ b/cmk/base/legacy_checks/emcvnx_mirrorview.py @@ -135,6 +135,7 @@ def check_emcvnx_mirrorview(item, params, parsed): check_info["emcvnx_mirrorview"] = LegacyCheckDefinition( + name="emcvnx_mirrorview", parse_function=parse_emcvnx_mirrorview, service_name="Mirror view %s", discovery_function=inventory_emcvnx_mirrorview, diff --git a/cmk/base/legacy_checks/emcvnx_raidgroups.py b/cmk/base/legacy_checks/emcvnx_raidgroups.py index ddb833e5fcc..9dc2d110f88 100644 --- a/cmk/base/legacy_checks/emcvnx_raidgroups.py +++ b/cmk/base/legacy_checks/emcvnx_raidgroups.py @@ -112,6 +112,7 @@ def parse_emcvnx_raidgroups(info): check_info["emcvnx_raidgroups"] = LegacyCheckDefinition( + name="emcvnx_raidgroups", parse_function=parse_emcvnx_raidgroups, ) @@ -140,6 +141,7 @@ def check_emcvnx_raidgroups_list_luns(item, _no_params, section): check_info["emcvnx_raidgroups.list_luns"] = LegacyCheckDefinition( + name="emcvnx_raidgroups_list_luns", service_name="RAID Group %s LUNs", sections=["emcvnx_raidgroups"], discovery_function=inventory_emcvnx_raidgroups, @@ -177,6 +179,7 @@ def check_emcvnx_raidgroups_list_disks(item, _no_params, section): check_info["emcvnx_raidgroups.list_disks"] = LegacyCheckDefinition( + name="emcvnx_raidgroups_list_disks", service_name="RAID Group %s Disks", sections=["emcvnx_raidgroups"], discovery_function=inventory_emcvnx_raidgroups, @@ -230,6 +233,7 @@ def check_emcvnx_raidgroups_capacity(item, params, section): check_info["emcvnx_raidgroups.capacity"] = LegacyCheckDefinition( + name="emcvnx_raidgroups_capacity", service_name="RAID Group %s Capacity", sections=["emcvnx_raidgroups"], discovery_function=inventory_emcvnx_raidgroups_capacity, @@ -283,6 +287,7 @@ def check_emcvnx_raidgroups_capacity_contiguous(item, params, section): check_info["emcvnx_raidgroups.capacity_contiguous"] = LegacyCheckDefinition( + name="emcvnx_raidgroups_capacity_contiguous", service_name="RAID Group %s Capacity Contiguous", sections=["emcvnx_raidgroups"], discovery_function=inventory_emcvnx_raidgroups_capacity_contiguous, diff --git a/cmk/base/legacy_checks/emcvnx_sp_util.py b/cmk/base/legacy_checks/emcvnx_sp_util.py index 4a94df21a4e..79abc28dfc9 100644 --- a/cmk/base/legacy_checks/emcvnx_sp_util.py +++ b/cmk/base/legacy_checks/emcvnx_sp_util.py @@ -63,6 +63,7 @@ def check_emcvnx_sp_util(item, params, parsed): check_info["emcvnx_sp_util"] = LegacyCheckDefinition( + name="emcvnx_sp_util", parse_function=parse_emcvnx_sp_util, service_name="Storage Processor Utilization", discovery_function=inventory_emcvnx_sp_util, diff --git a/cmk/base/legacy_checks/emcvnx_storage_pools.py b/cmk/base/legacy_checks/emcvnx_storage_pools.py index 4c829b757a7..730ee495b6c 100644 --- a/cmk/base/legacy_checks/emcvnx_storage_pools.py +++ b/cmk/base/legacy_checks/emcvnx_storage_pools.py @@ -142,6 +142,7 @@ def check_emcvnx_storage_pools(item, params, parsed): check_info["emcvnx_storage_pools"] = LegacyCheckDefinition( + name="emcvnx_storage_pools", parse_function=parse_emcvnx_storage_pools, service_name="Pool %s General", discovery_function=inventory_emcvnx_storage_pools, @@ -234,6 +235,7 @@ def check_emcvnx_storage_pools_tiering(item, params, parsed): check_info["emcvnx_storage_pools.tiering"] = LegacyCheckDefinition( + name="emcvnx_storage_pools_tiering", service_name="Pool %s Tiering Status", sections=["emcvnx_storage_pools"], discovery_function=inventory_emcvnx_storage_pools_tiering, @@ -323,6 +325,7 @@ def check_emcvnx_storage_pools_tieringtypes(item, params, parsed): check_info["emcvnx_storage_pools.tieringtypes"] = LegacyCheckDefinition( + name="emcvnx_storage_pools_tieringtypes", service_name="Pool %s tiering", sections=["emcvnx_storage_pools"], discovery_function=inventory_emcvnx_storage_pools_tieringtypes, @@ -382,6 +385,7 @@ def check_emcvnx_storage_pools_deduplication(item, _no_params, parsed): check_info["emcvnx_storage_pools.deduplication"] = LegacyCheckDefinition( + name="emcvnx_storage_pools_deduplication", service_name="Pool %s Deduplication", sections=["emcvnx_storage_pools"], discovery_function=inventory_emcvnx_storage_pools, diff --git a/cmk/base/legacy_checks/emcvnx_writecache.py b/cmk/base/legacy_checks/emcvnx_writecache.py index 156c3d27bbd..b79a68c1c93 100644 --- a/cmk/base/legacy_checks/emcvnx_writecache.py +++ b/cmk/base/legacy_checks/emcvnx_writecache.py @@ -40,6 +40,7 @@ def parse_emcvnx_writecache(string_table: StringTable) -> StringTable: check_info["emcvnx_writecache"] = LegacyCheckDefinition( + name="emcvnx_writecache", parse_function=parse_emcvnx_writecache, service_name="Write Cache State %s", discovery_function=inventory_emcvnx_writecache, diff --git a/cmk/base/legacy_checks/emerson_stat.py b/cmk/base/legacy_checks/emerson_stat.py index 042b5a9cff3..4fceb9f390b 100644 --- a/cmk/base/legacy_checks/emerson_stat.py +++ b/cmk/base/legacy_checks/emerson_stat.py @@ -76,6 +76,7 @@ def parse_emerson_stat(string_table: StringTable) -> StringTable: check_info["emerson_stat"] = LegacyCheckDefinition( + name="emerson_stat", parse_function=parse_emerson_stat, detect=startswith(".1.3.6.1.4.1.6302.2.1.1.1.0", "Emerson Network Power"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emerson_temp.py b/cmk/base/legacy_checks/emerson_temp.py index cf00e560087..70548aeb1f1 100644 --- a/cmk/base/legacy_checks/emerson_temp.py +++ b/cmk/base/legacy_checks/emerson_temp.py @@ -43,6 +43,7 @@ def parse_emerson_temp(string_table: StringTable) -> StringTable: check_info["emerson_temp"] = LegacyCheckDefinition( + name="emerson_temp", parse_function=parse_emerson_temp, detect=startswith(".1.3.6.1.4.1.6302.2.1.1.1.0", "Emerson Network Power"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/emka_modules.py b/cmk/base/legacy_checks/emka_modules.py index 7b4ef35d24c..e20ded59e33 100644 --- a/cmk/base/legacy_checks/emka_modules.py +++ b/cmk/base/legacy_checks/emka_modules.py @@ -202,6 +202,7 @@ def check_emka_modules(item, params, parsed): check_info["emka_modules"] = LegacyCheckDefinition( + name="emka_modules", detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "emka"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13595"), @@ -269,6 +270,7 @@ def check_emka_modules_alarm(item, params, parsed): check_info["emka_modules.alarm"] = LegacyCheckDefinition( + name="emka_modules_alarm", service_name="Alarm %s", sections=["emka_modules"], discovery_function=inventory_emka_modules_alarm, @@ -308,6 +310,7 @@ def check_emka_modules_handle(item, params, parsed): check_info["emka_modules.handle"] = LegacyCheckDefinition( + name="emka_modules_handle", service_name="Handle %s", sections=["emka_modules"], discovery_function=inventory_emka_modules_handle, @@ -339,6 +342,7 @@ def check_emka_modules_sensor_volt(item, params, parsed): check_info["emka_modules.sensor_volt"] = LegacyCheckDefinition( + name="emka_modules_sensor_volt", service_name="Phase %s", sections=["emka_modules"], discovery_function=inventory_emka_modules_sensor_volt, @@ -377,6 +381,7 @@ def check_emka_modules_sensor_temp(item, params, parsed): check_info["emka_modules.sensor_temp"] = LegacyCheckDefinition( + name="emka_modules_sensor_temp", service_name="Temperature %s", sections=["emka_modules"], discovery_function=inventory_emka_modules_sensor_temp, @@ -409,6 +414,7 @@ def check_emka_modules_sensor_humid(item, params, parsed): check_info["emka_modules.sensor_humid"] = LegacyCheckDefinition( + name="emka_modules_sensor_humid", service_name="Humidity %s", sections=["emka_modules"], discovery_function=inventory_emka_modules_sensor_humid, @@ -446,6 +452,7 @@ def check_emka_modules_relay(item, params, parsed): check_info["emka_modules.relay"] = LegacyCheckDefinition( + name="emka_modules_relay", service_name="Relay %s", sections=["emka_modules"], discovery_function=inventory_emka_modules_relay, diff --git a/cmk/base/legacy_checks/enterasys_cpu_util.py b/cmk/base/legacy_checks/enterasys_cpu_util.py index d8aecf5ece9..382887c36f2 100644 --- a/cmk/base/legacy_checks/enterasys_cpu_util.py +++ b/cmk/base/legacy_checks/enterasys_cpu_util.py @@ -30,6 +30,7 @@ def parse_enterasys_cpu_util(string_table: StringTable) -> StringTable: check_info["enterasys_cpu_util"] = LegacyCheckDefinition( + name="enterasys_cpu_util", parse_function=parse_enterasys_cpu_util, detect=DETECT_ENTERASYS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/enterasys_fans.py b/cmk/base/legacy_checks/enterasys_fans.py index ec60fe73d3c..6ecb3d0e578 100644 --- a/cmk/base/legacy_checks/enterasys_fans.py +++ b/cmk/base/legacy_checks/enterasys_fans.py @@ -38,6 +38,7 @@ def parse_enterasys_fans(string_table: StringTable) -> StringTable: check_info["enterasys_fans"] = LegacyCheckDefinition( + name="enterasys_fans", parse_function=parse_enterasys_fans, detect=DETECT_ENTERASYS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/enterasys_lsnat.py b/cmk/base/legacy_checks/enterasys_lsnat.py index a37aa03aaca..244e563f421 100644 --- a/cmk/base/legacy_checks/enterasys_lsnat.py +++ b/cmk/base/legacy_checks/enterasys_lsnat.py @@ -47,6 +47,7 @@ def parse_enterasys_lsnat(string_table: StringTable) -> StringTable | None: check_info["enterasys_lsnat"] = LegacyCheckDefinition( + name="enterasys_lsnat", parse_function=parse_enterasys_lsnat, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.5624.2.1"), diff --git a/cmk/base/legacy_checks/enterasys_powersupply.py b/cmk/base/legacy_checks/enterasys_powersupply.py index adbed7c3f8e..7f3de6b7daa 100644 --- a/cmk/base/legacy_checks/enterasys_powersupply.py +++ b/cmk/base/legacy_checks/enterasys_powersupply.py @@ -60,6 +60,7 @@ def parse_enterasys_powersupply(string_table: StringTable) -> StringTable: check_info["enterasys_powersupply"] = LegacyCheckDefinition( + name="enterasys_powersupply", parse_function=parse_enterasys_powersupply, detect=DETECT_ENTERASYS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/enterasys_temp.py b/cmk/base/legacy_checks/enterasys_temp.py index 96c60630be5..3d565ba9910 100644 --- a/cmk/base/legacy_checks/enterasys_temp.py +++ b/cmk/base/legacy_checks/enterasys_temp.py @@ -36,6 +36,7 @@ def parse_enterasys_temp(string_table: StringTable) -> StringTable: check_info["enterasys_temp"] = LegacyCheckDefinition( + name="enterasys_temp", parse_function=parse_enterasys_temp, detect=DETECT_ENTERASYS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/entersekt.py b/cmk/base/legacy_checks/entersekt.py index f181bde82b3..54c97f18c0e 100644 --- a/cmk/base/legacy_checks/entersekt.py +++ b/cmk/base/legacy_checks/entersekt.py @@ -44,6 +44,7 @@ def parse_entersekt(string_table: StringTable) -> StringTable: check_info["entersekt"] = LegacyCheckDefinition( + name="entersekt", parse_function=parse_entersekt, detect=all_of(contains(".1.3.6.1.2.1.1.1.0", "linux"), exists(".1.3.6.1.4.1.38235.2.3.1.0")), fetch=SNMPTree( @@ -99,6 +100,7 @@ def check_entersekt_emrerrors(item, params, info): check_info["entersekt.emrerrors"] = LegacyCheckDefinition( + name="entersekt_emrerrors", service_name="Entersekt http EMR Errors", sections=["entersekt"], discovery_function=inventory_entersekt_emrerrors, @@ -151,6 +153,7 @@ def check_entersekt_ecerterrors(item, params, info): check_info["entersekt.ecerterrors"] = LegacyCheckDefinition( + name="entersekt_ecerterrors", service_name="Entersekt http Ecert Errors", sections=["entersekt"], discovery_function=inventory_entersekt_ecerterrors, @@ -202,6 +205,7 @@ def check_entersekt_soaperrors(item, params, info): check_info["entersekt.soaperrors"] = LegacyCheckDefinition( + name="entersekt_soaperrors", service_name="Entersekt Soap Service Errors", sections=["entersekt"], discovery_function=inventory_entersekt_soaperrors, @@ -266,6 +270,7 @@ def check_entersekt_certexpiry(item, params, info): check_info["entersekt.certexpiry"] = LegacyCheckDefinition( + name="entersekt_certexpiry", service_name="Entersekt Certificate Expiration", sections=["entersekt"], discovery_function=inventory_entersekt_certexpiry, diff --git a/cmk/base/legacy_checks/epson_beamer_lamp.py b/cmk/base/legacy_checks/epson_beamer_lamp.py index 778b243637f..0e2115daecc 100644 --- a/cmk/base/legacy_checks/epson_beamer_lamp.py +++ b/cmk/base/legacy_checks/epson_beamer_lamp.py @@ -31,6 +31,7 @@ def parse_epson_beamer_lamp(string_table: StringTable) -> StringTable: check_info["epson_beamer_lamp"] = LegacyCheckDefinition( + name="epson_beamer_lamp", parse_function=parse_epson_beamer_lamp, detect=contains(".1.3.6.1.2.1.1.2.0", "1248"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/esx_vsphere_counters.py b/cmk/base/legacy_checks/esx_vsphere_counters.py index 2fff360f80c..fccd55256d3 100644 --- a/cmk/base/legacy_checks/esx_vsphere_counters.py +++ b/cmk/base/legacy_checks/esx_vsphere_counters.py @@ -66,6 +66,7 @@ def check_esx_vsphere_counters_uptime(_no_item, params, parsed): check_info["esx_vsphere_counters.uptime"] = LegacyCheckDefinition( + name="esx_vsphere_counters_uptime", service_name="Uptime", sections=["esx_vsphere_counters"], discovery_function=inventory_esx_vsphere_counters_uptime, @@ -117,6 +118,7 @@ def check_esx_vsphere_counters_swap(item, params, parsed): check_info["esx_vsphere_counters.swap"] = LegacyCheckDefinition( + name="esx_vsphere_counters_swap", service_name="VMKernel Swap", sections=["esx_vsphere_counters"], discovery_function=inventory_esx_vsphere_counters_swap, diff --git a/cmk/base/legacy_checks/esx_vsphere_datastores.py b/cmk/base/legacy_checks/esx_vsphere_datastores.py index 036814e08ab..0747d79b622 100644 --- a/cmk/base/legacy_checks/esx_vsphere_datastores.py +++ b/cmk/base/legacy_checks/esx_vsphere_datastores.py @@ -101,6 +101,7 @@ def discover_esx_vsphere_datastores(section): check_info["esx_vsphere_datastores"] = LegacyCheckDefinition( + name="esx_vsphere_datastores", parse_function=parse_esx_vsphere_datastores, service_name="Filesystem %s", discovery_function=discover_esx_vsphere_datastores, diff --git a/cmk/base/legacy_checks/esx_vsphere_hostsystem.py b/cmk/base/legacy_checks/esx_vsphere_hostsystem.py index 66866f441f4..e9edd8a7da3 100644 --- a/cmk/base/legacy_checks/esx_vsphere_hostsystem.py +++ b/cmk/base/legacy_checks/esx_vsphere_hostsystem.py @@ -50,6 +50,7 @@ def check_esx_vsphere_hostsystem_state(_no_item, _no_params, parsed): check_info["esx_vsphere_hostsystem.state"] = LegacyCheckDefinition( + name="esx_vsphere_hostsystem_state", service_name="Overall state", sections=["esx_vsphere_hostsystem"], discovery_function=inventory_esx_vsphere_hostsystem_state, @@ -92,6 +93,7 @@ def check_esx_vsphere_hostsystem_maintenance(_no_item, params, parsed): check_info["esx_vsphere_hostsystem.maintenance"] = LegacyCheckDefinition( + name="esx_vsphere_hostsystem_maintenance", service_name="Maintenance Mode", sections=["esx_vsphere_hostsystem"], discovery_function=inventory_esx_vsphere_hostsystem_maintenance, @@ -220,6 +222,7 @@ def check_esx_vsphere_hostsystem_multipath( # pylint: disable=too-many-branches check_info["esx_vsphere_hostsystem.multipath"] = LegacyCheckDefinition( + name="esx_vsphere_hostsystem_multipath", service_name="Multipath %s", sections=["esx_vsphere_hostsystem"], discovery_function=inventory_esx_vsphere_hostsystem_multipath, diff --git a/cmk/base/legacy_checks/esx_vsphere_licenses.py b/cmk/base/legacy_checks/esx_vsphere_licenses.py index bb91d04a243..406948936a2 100644 --- a/cmk/base/legacy_checks/esx_vsphere_licenses.py +++ b/cmk/base/legacy_checks/esx_vsphere_licenses.py @@ -47,6 +47,7 @@ def check_esx_vsphere_licenses(item, params, parsed): check_info["esx_vsphere_licenses"] = LegacyCheckDefinition( + name="esx_vsphere_licenses", parse_function=parse_esx_vsphere_licenses, service_name="License %s", discovery_function=inventory_esx_vsphere_licenses, diff --git a/cmk/base/legacy_checks/esx_vsphere_objects.py b/cmk/base/legacy_checks/esx_vsphere_objects.py index d5cb7ef7bfb..a34a3395aab 100644 --- a/cmk/base/legacy_checks/esx_vsphere_objects.py +++ b/cmk/base/legacy_checks/esx_vsphere_objects.py @@ -91,6 +91,7 @@ def check_esx_vsphere_objects(item, params, parsed): check_info["esx_vsphere_objects"] = LegacyCheckDefinition( + name="esx_vsphere_objects", parse_function=parse_esx_vsphere_objects, service_name="%s", discovery_function=inventory_esx_vsphere_objects, @@ -140,6 +141,7 @@ def check_esx_vsphere_objects_count(_no_item, params, parsed): check_info["esx_vsphere_objects.count"] = LegacyCheckDefinition( + name="esx_vsphere_objects_count", service_name="Object count", sections=["esx_vsphere_objects"], discovery_function=inventory_esx_vsphere_objects_count, diff --git a/cmk/base/legacy_checks/esx_vsphere_sensors.py b/cmk/base/legacy_checks/esx_vsphere_sensors.py index 6d1cf824a9d..9794d872f5c 100644 --- a/cmk/base/legacy_checks/esx_vsphere_sensors.py +++ b/cmk/base/legacy_checks/esx_vsphere_sensors.py @@ -62,6 +62,7 @@ def parse_esx_vsphere_sensors(string_table: StringTable) -> StringTable: check_info["esx_vsphere_sensors"] = LegacyCheckDefinition( + name="esx_vsphere_sensors", parse_function=parse_esx_vsphere_sensors, service_name="Hardware Sensors", discovery_function=inventory_esx_vsphere_sensors, diff --git a/cmk/base/legacy_checks/esx_vsphere_vm.py b/cmk/base/legacy_checks/esx_vsphere_vm.py index 44c6d7b7211..b8a4340c71d 100644 --- a/cmk/base/legacy_checks/esx_vsphere_vm.py +++ b/cmk/base/legacy_checks/esx_vsphere_vm.py @@ -55,6 +55,7 @@ def check_esx_vsphere_vm_mounted_devices(item, params, section): check_info["esx_vsphere_vm.mounted_devices"] = LegacyCheckDefinition( + name="esx_vsphere_vm_mounted_devices", service_name="ESX Mounted Devices", sections=["esx_vsphere_vm"], discovery_function=inventory_esx_vsphere_vm_mounted_devices, diff --git a/cmk/base/legacy_checks/etherbox2_temp.py b/cmk/base/legacy_checks/etherbox2_temp.py index a9ee3d65c17..a4ae5569643 100644 --- a/cmk/base/legacy_checks/etherbox2_temp.py +++ b/cmk/base/legacy_checks/etherbox2_temp.py @@ -60,6 +60,7 @@ def check_etherbox2_temp(item, params, parsed): check_info["etherbox2_temp"] = LegacyCheckDefinition( + name="etherbox2_temp", detect=all_of( equals(".1.3.6.1.2.1.1.1.0", ""), contains(".1.3.6.1.4.1.14848.2.1.1.1.0", "Version 1.2") ), diff --git a/cmk/base/legacy_checks/f5_bigip_apm.py b/cmk/base/legacy_checks/f5_bigip_apm.py index 7d1b9f99f8d..ce3d9b1ee6d 100644 --- a/cmk/base/legacy_checks/f5_bigip_apm.py +++ b/cmk/base/legacy_checks/f5_bigip_apm.py @@ -27,6 +27,7 @@ def parse_f5_bigip_apm(string_table: StringTable) -> StringTable: check_info["f5_bigip_apm"] = LegacyCheckDefinition( + name="f5_bigip_apm", parse_function=parse_f5_bigip_apm, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/f5_bigip_chassis_temp.py b/cmk/base/legacy_checks/f5_bigip_chassis_temp.py index b13cdc27466..543a0176810 100644 --- a/cmk/base/legacy_checks/f5_bigip_chassis_temp.py +++ b/cmk/base/legacy_checks/f5_bigip_chassis_temp.py @@ -29,6 +29,7 @@ def parse_f5_bigip_chassis_temp(string_table: StringTable) -> StringTable: check_info["f5_bigip_chassis_temp"] = LegacyCheckDefinition( + name="f5_bigip_chassis_temp", parse_function=parse_f5_bigip_chassis_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/f5_bigip_conns.py b/cmk/base/legacy_checks/f5_bigip_conns.py index 256ec08d192..5860c6f4c29 100644 --- a/cmk/base/legacy_checks/f5_bigip_conns.py +++ b/cmk/base/legacy_checks/f5_bigip_conns.py @@ -89,6 +89,7 @@ def parse_f5_bigip_conns(string_table: StringTable) -> StringTable: check_info["f5_bigip_conns"] = LegacyCheckDefinition( + name="f5_bigip_conns", parse_function=parse_f5_bigip_conns, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/f5_bigip_cpu_temp.py b/cmk/base/legacy_checks/f5_bigip_cpu_temp.py index f384329b26b..912458f7d90 100644 --- a/cmk/base/legacy_checks/f5_bigip_cpu_temp.py +++ b/cmk/base/legacy_checks/f5_bigip_cpu_temp.py @@ -29,6 +29,7 @@ def parse_f5_bigip_cpu_temp(string_table: StringTable) -> StringTable: check_info["f5_bigip_cpu_temp"] = LegacyCheckDefinition( + name="f5_bigip_cpu_temp", parse_function=parse_f5_bigip_cpu_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/f5_bigip_fans.py b/cmk/base/legacy_checks/f5_bigip_fans.py index 9505ca705e2..017b380077a 100644 --- a/cmk/base/legacy_checks/f5_bigip_fans.py +++ b/cmk/base/legacy_checks/f5_bigip_fans.py @@ -76,6 +76,7 @@ def check_f5_bigip_fans(item, params, parsed): # Get ID and Speed from the CPU and chassis fan tables check_info["f5_bigip_fans"] = LegacyCheckDefinition( + name="f5_bigip_fans", detect=DETECT, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/f5_bigip_interfaces.py b/cmk/base/legacy_checks/f5_bigip_interfaces.py index 3599f4de3c9..63a4275d55f 100644 --- a/cmk/base/legacy_checks/f5_bigip_interfaces.py +++ b/cmk/base/legacy_checks/f5_bigip_interfaces.py @@ -96,6 +96,7 @@ def check_f5_bigip_interfaces(item, _no_params, section): check_info["f5_bigip_interfaces"] = LegacyCheckDefinition( + name="f5_bigip_interfaces", detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.3375.2.1.3.4.10"), equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.3375.2.1.3.4.20"), diff --git a/cmk/base/legacy_checks/f5_bigip_mem.py b/cmk/base/legacy_checks/f5_bigip_mem.py index d5f3c50ff83..03a8546f0ae 100644 --- a/cmk/base/legacy_checks/f5_bigip_mem.py +++ b/cmk/base/legacy_checks/f5_bigip_mem.py @@ -60,6 +60,7 @@ def check_f5_bigip_mem(item, params, parsed): check_info["f5_bigip_mem"] = LegacyCheckDefinition( + name="f5_bigip_mem", detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.3375"), fetch=SNMPTree( base=".1.3.6.1.4.1.3375.2.1", diff --git a/cmk/base/legacy_checks/f5_bigip_pool.py b/cmk/base/legacy_checks/f5_bigip_pool.py index 00314a9fb29..1c95e2ae9f1 100644 --- a/cmk/base/legacy_checks/f5_bigip_pool.py +++ b/cmk/base/legacy_checks/f5_bigip_pool.py @@ -95,6 +95,7 @@ def check_f5_bigip_pool(item, params, parsed): check_info["f5_bigip_pool"] = LegacyCheckDefinition( + name="f5_bigip_pool", detect=DETECT, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/f5_bigip_psu.py b/cmk/base/legacy_checks/f5_bigip_psu.py index ff08ed7263b..ea2eb127264 100644 --- a/cmk/base/legacy_checks/f5_bigip_psu.py +++ b/cmk/base/legacy_checks/f5_bigip_psu.py @@ -55,6 +55,7 @@ def parse_f5_bigip_psu(string_table: StringTable) -> StringTable: check_info["f5_bigip_psu"] = LegacyCheckDefinition( + name="f5_bigip_psu", parse_function=parse_f5_bigip_psu, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/f5_bigip_snat.py b/cmk/base/legacy_checks/f5_bigip_snat.py index 032e4d8c313..17efcfec7ab 100644 --- a/cmk/base/legacy_checks/f5_bigip_snat.py +++ b/cmk/base/legacy_checks/f5_bigip_snat.py @@ -108,6 +108,7 @@ def check_f5_bigip_snat(item, params, parsed): check_info["f5_bigip_snat"] = LegacyCheckDefinition( + name="f5_bigip_snat", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.3375.2.2.9.2.3.1", diff --git a/cmk/base/legacy_checks/f5_bigip_vserver.py b/cmk/base/legacy_checks/f5_bigip_vserver.py index c756956bd4f..646d2cdd6b1 100644 --- a/cmk/base/legacy_checks/f5_bigip_vserver.py +++ b/cmk/base/legacy_checks/f5_bigip_vserver.py @@ -215,6 +215,7 @@ def check_f5_bigip_vserver(item, params, parsed): check_info["f5_bigip_vserver"] = LegacyCheckDefinition( + name="f5_bigip_vserver", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.3375.2.2.10", diff --git a/cmk/base/legacy_checks/fast_lta_headunit.py b/cmk/base/legacy_checks/fast_lta_headunit.py index d0ee62cd20a..2ae415e6f87 100644 --- a/cmk/base/legacy_checks/fast_lta_headunit.py +++ b/cmk/base/legacy_checks/fast_lta_headunit.py @@ -17,6 +17,7 @@ def parse_fast_lta_headunit(string_table: Sequence[StringTable]) -> Sequence[Str check_info["fast_lta_headunit"] = LegacyCheckDefinition( + name="fast_lta_headunit", parse_function=parse_fast_lta_headunit, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.8072.3.2.10"), @@ -88,6 +89,7 @@ def check_fast_lta_headunit_status(item, _no_params, info): check_info["fast_lta_headunit.status"] = LegacyCheckDefinition( + name="fast_lta_headunit_status", service_name="Fast LTA Headunit Status", sections=["fast_lta_headunit"], discovery_function=inventory_fast_lta_headunit_status, @@ -139,6 +141,7 @@ def check_fast_lta_headunit_replication(item, _no_params, info): check_info["fast_lta_headunit.replication"] = LegacyCheckDefinition( + name="fast_lta_headunit_replication", service_name="Fast LTA Replication", sections=["fast_lta_headunit"], discovery_function=inventory_fast_lta_headunit_replication, diff --git a/cmk/base/legacy_checks/fast_lta_silent_cubes.py b/cmk/base/legacy_checks/fast_lta_silent_cubes.py index b1b77663c59..2a11f2db62b 100644 --- a/cmk/base/legacy_checks/fast_lta_silent_cubes.py +++ b/cmk/base/legacy_checks/fast_lta_silent_cubes.py @@ -32,6 +32,7 @@ def parse_fast_lta_silent_cubes(string_table: StringTable) -> StringTable: check_info["fast_lta_silent_cubes"] = LegacyCheckDefinition( + name="fast_lta_silent_cubes", parse_function=parse_fast_lta_silent_cubes, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.8072.3.2.10"), @@ -48,6 +49,7 @@ def parse_fast_lta_silent_cubes(string_table: StringTable) -> StringTable: check_info["fast_lta_silent_cubes.capacity"] = LegacyCheckDefinition( + name="fast_lta_silent_cubes_capacity", service_name="Fast LTA SC Capacity %s", sections=["fast_lta_silent_cubes"], discovery_function=inventory_fast_lta_silent_cubes_status, diff --git a/cmk/base/legacy_checks/fast_lta_volumes.py b/cmk/base/legacy_checks/fast_lta_volumes.py index aab33ff8097..8cc4c424523 100644 --- a/cmk/base/legacy_checks/fast_lta_volumes.py +++ b/cmk/base/legacy_checks/fast_lta_volumes.py @@ -37,6 +37,7 @@ def discover_fast_lta_volumes(section): check_info["fast_lta_volumes"] = LegacyCheckDefinition( + name="fast_lta_volumes", detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.8072.3.2.10"), any_of(exists(".1.3.6.1.4.1.27417.5.1.1.2"), exists(".1.3.6.1.4.1.27417.5.1.1.2.0")), diff --git a/cmk/base/legacy_checks/fc_port.py b/cmk/base/legacy_checks/fc_port.py index 2f46351be09..866cb7bdd18 100644 --- a/cmk/base/legacy_checks/fc_port.py +++ b/cmk/base/legacy_checks/fc_port.py @@ -332,6 +332,7 @@ def parse_fc_port(string_table: StringTable) -> StringTable: check_info["fc_port"] = LegacyCheckDefinition( + name="fc_port", parse_function=parse_fc_port, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1588.2.1.1"), diff --git a/cmk/base/legacy_checks/filehandler.py b/cmk/base/legacy_checks/filehandler.py index f05935e5bf9..b6ef5351f30 100644 --- a/cmk/base/legacy_checks/filehandler.py +++ b/cmk/base/legacy_checks/filehandler.py @@ -47,6 +47,7 @@ def parse_filehandler(string_table: StringTable) -> StringTable: check_info["filehandler"] = LegacyCheckDefinition( + name="filehandler", parse_function=parse_filehandler, service_name="Filehandler", discovery_function=inventory_filehandler, diff --git a/cmk/base/legacy_checks/filestats.py b/cmk/base/legacy_checks/filestats.py index 47a8100e158..0d61c07d47b 100644 --- a/cmk/base/legacy_checks/filestats.py +++ b/cmk/base/legacy_checks/filestats.py @@ -298,6 +298,7 @@ def discover_filestats_single(section): check_info["filestats.single"] = LegacyCheckDefinition( + name="filestats_single", service_name="File %s", sections=["filestats"], discovery_function=discover_filestats_single, @@ -306,6 +307,7 @@ def discover_filestats_single(section): ) check_info["filestats"] = LegacyCheckDefinition( + name="filestats", parse_function=parse_filestats, service_name="File group %s", discovery_function=discover_filestats, diff --git a/cmk/base/legacy_checks/fireeye_active_vms.py b/cmk/base/legacy_checks/fireeye_active_vms.py index 55dd552267e..27ccc7225ca 100644 --- a/cmk/base/legacy_checks/fireeye_active_vms.py +++ b/cmk/base/legacy_checks/fireeye_active_vms.py @@ -32,6 +32,7 @@ def parse_fireeye_active_vms(string_table: StringTable) -> StringTable: check_info["fireeye_active_vms"] = LegacyCheckDefinition( + name="fireeye_active_vms", parse_function=parse_fireeye_active_vms, detect=fireeye.DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_bypass.py b/cmk/base/legacy_checks/fireeye_bypass.py index 0de590a589e..14088f48c48 100644 --- a/cmk/base/legacy_checks/fireeye_bypass.py +++ b/cmk/base/legacy_checks/fireeye_bypass.py @@ -34,6 +34,7 @@ def parse_fireeye_bypass(string_table: StringTable) -> StringTable: check_info["fireeye_bypass"] = LegacyCheckDefinition( + name="fireeye_bypass", parse_function=parse_fireeye_bypass, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_content.py b/cmk/base/legacy_checks/fireeye_content.py index 63b6dff81ca..526eb166078 100644 --- a/cmk/base/legacy_checks/fireeye_content.py +++ b/cmk/base/legacy_checks/fireeye_content.py @@ -71,6 +71,7 @@ def check_fireeye_content(_no_item, params, parsed): check_info["fireeye_content"] = LegacyCheckDefinition( + name="fireeye_content", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.25597.11.5.1", diff --git a/cmk/base/legacy_checks/fireeye_fans.py b/cmk/base/legacy_checks/fireeye_fans.py index 28e5ae1c083..ffb9afb0203 100644 --- a/cmk/base/legacy_checks/fireeye_fans.py +++ b/cmk/base/legacy_checks/fireeye_fans.py @@ -65,6 +65,7 @@ def discover_fireeye_fans(info): check_info["fireeye_fans"] = LegacyCheckDefinition( + name="fireeye_fans", parse_function=parse_fireeye_fans, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_lic_active.py b/cmk/base/legacy_checks/fireeye_lic_active.py index bbbf8e03b5b..5763ba91109 100644 --- a/cmk/base/legacy_checks/fireeye_lic_active.py +++ b/cmk/base/legacy_checks/fireeye_lic_active.py @@ -34,6 +34,7 @@ def discover_fireeye_lic_active(info): check_info["fireeye_lic_active"] = LegacyCheckDefinition( + name="fireeye_lic_active", parse_function=parse_fireeye_lic_active, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_lic_expiration.py b/cmk/base/legacy_checks/fireeye_lic_expiration.py index d3a4685132b..883bb5a4274 100644 --- a/cmk/base/legacy_checks/fireeye_lic_expiration.py +++ b/cmk/base/legacy_checks/fireeye_lic_expiration.py @@ -37,6 +37,7 @@ def parse_fireeye_lic_expiration(string_table: StringTable) -> StringTable: check_info["fireeye_lic_expiration"] = LegacyCheckDefinition( + name="fireeye_lic_expiration", parse_function=parse_fireeye_lic_expiration, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_mail.py b/cmk/base/legacy_checks/fireeye_mail.py index 1438e0f6599..7050de55ea0 100644 --- a/cmk/base/legacy_checks/fireeye_mail.py +++ b/cmk/base/legacy_checks/fireeye_mail.py @@ -72,6 +72,7 @@ def discover_fireeye_mail(info): check_info["fireeye_mail"] = LegacyCheckDefinition( + name="fireeye_mail", parse_function=parse_fireeye_mail, detect=DETECT, fetch=SNMPTree( @@ -137,6 +138,7 @@ def discover_fireeye_mail_attachment(info): check_info["fireeye_mail.attachment"] = LegacyCheckDefinition( + name="fireeye_mail_attachment", service_name="Mails Containing Attachment", sections=["fireeye_mail"], discovery_function=discover_fireeye_mail_attachment, @@ -177,6 +179,7 @@ def discover_fireeye_mail_url(info): check_info["fireeye_mail.url"] = LegacyCheckDefinition( + name="fireeye_mail_url", service_name="Mails Containing URL", sections=["fireeye_mail"], discovery_function=discover_fireeye_mail_url, @@ -247,6 +250,7 @@ def discover_fireeye_mail_statistics(info): check_info["fireeye_mail.statistics"] = LegacyCheckDefinition( + name="fireeye_mail_statistics", service_name="Mail Processing Statistics", sections=["fireeye_mail"], discovery_function=discover_fireeye_mail_statistics, @@ -283,6 +287,7 @@ def discover_fireeye_mail_received(info): check_info["fireeye_mail.received"] = LegacyCheckDefinition( + name="fireeye_mail_received", service_name="Mails Received", sections=["fireeye_mail"], discovery_function=discover_fireeye_mail_received, diff --git a/cmk/base/legacy_checks/fireeye_mailq.py b/cmk/base/legacy_checks/fireeye_mailq.py index 3311ee53884..c99f11148e4 100644 --- a/cmk/base/legacy_checks/fireeye_mailq.py +++ b/cmk/base/legacy_checks/fireeye_mailq.py @@ -40,6 +40,7 @@ def check_fireeye_mailq(_no_item, params, parsed): check_info["fireeye_mailq"] = LegacyCheckDefinition( + name="fireeye_mailq", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.25597.13.1", diff --git a/cmk/base/legacy_checks/fireeye_powersupplies.py b/cmk/base/legacy_checks/fireeye_powersupplies.py index 11f1b580ef4..1c5f4dd113d 100644 --- a/cmk/base/legacy_checks/fireeye_powersupplies.py +++ b/cmk/base/legacy_checks/fireeye_powersupplies.py @@ -32,6 +32,7 @@ def discover_fireeye_powersupplies(info): check_info["fireeye_powersupplies"] = LegacyCheckDefinition( + name="fireeye_powersupplies", parse_function=parse_fireeye_powersupplies, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_quarantine.py b/cmk/base/legacy_checks/fireeye_quarantine.py index 8ddced99ffd..283b958e458 100644 --- a/cmk/base/legacy_checks/fireeye_quarantine.py +++ b/cmk/base/legacy_checks/fireeye_quarantine.py @@ -34,6 +34,7 @@ def parse_fireeye_quarantine(string_table: StringTable) -> StringTable: check_info["fireeye_quarantine"] = LegacyCheckDefinition( + name="fireeye_quarantine", parse_function=parse_fireeye_quarantine, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_raid.py b/cmk/base/legacy_checks/fireeye_raid.py index 491dc08abba..34365de2f1d 100644 --- a/cmk/base/legacy_checks/fireeye_raid.py +++ b/cmk/base/legacy_checks/fireeye_raid.py @@ -59,6 +59,7 @@ def discover_fireeye_raid(parsed): check_info["fireeye_raid"] = LegacyCheckDefinition( + name="fireeye_raid", detect=DETECT, fetch=[ SNMPTree( @@ -101,6 +102,7 @@ def discover_fireeye_raid_disks(parsed): check_info["fireeye_raid.disks"] = LegacyCheckDefinition( + name="fireeye_raid_disks", service_name="Disk status %s", sections=["fireeye_raid"], discovery_function=discover_fireeye_raid_disks, diff --git a/cmk/base/legacy_checks/fireeye_smtp_conn.py b/cmk/base/legacy_checks/fireeye_smtp_conn.py index 7cdfe3a84cf..af3533a5884 100644 --- a/cmk/base/legacy_checks/fireeye_smtp_conn.py +++ b/cmk/base/legacy_checks/fireeye_smtp_conn.py @@ -28,6 +28,7 @@ def discover_fireeye_smtp_conn(info): check_info["fireeye_smtp_conn"] = LegacyCheckDefinition( + name="fireeye_smtp_conn", parse_function=parse_fireeye_smtp_conn, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_sys_image.py b/cmk/base/legacy_checks/fireeye_sys_image.py index 96bc6142e53..39dda75c017 100644 --- a/cmk/base/legacy_checks/fireeye_sys_image.py +++ b/cmk/base/legacy_checks/fireeye_sys_image.py @@ -38,6 +38,7 @@ def discover_fireeye_sys_image(info): check_info["fireeye_sys_image"] = LegacyCheckDefinition( + name="fireeye_sys_image", parse_function=parse_fireeye_sys_image, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fireeye_temp.py b/cmk/base/legacy_checks/fireeye_temp.py index 7ce0535a69e..7285cc03faa 100644 --- a/cmk/base/legacy_checks/fireeye_temp.py +++ b/cmk/base/legacy_checks/fireeye_temp.py @@ -47,6 +47,7 @@ def parse_fireeye_temp(string_table: StringTable) -> StringTable: check_info["fireeye_temp"] = LegacyCheckDefinition( + name="fireeye_temp", parse_function=parse_fireeye_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fortigate_cpu.py b/cmk/base/legacy_checks/fortigate_cpu.py index 0f15b078e3b..68ed3a148be 100644 --- a/cmk/base/legacy_checks/fortigate_cpu.py +++ b/cmk/base/legacy_checks/fortigate_cpu.py @@ -41,6 +41,7 @@ def check_fortigate_cpu(item, params, info): check_info["fortigate_cpu_base"] = LegacyCheckDefinition( + name="fortigate_cpu_base", parse_function=parse_fortigate_cpu, detect=all_of( contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12356.101.1"), @@ -59,6 +60,7 @@ def check_fortigate_cpu(item, params, info): ) check_info["fortigate_cpu"] = LegacyCheckDefinition( + name="fortigate_cpu", parse_function=parse_fortigate_cpu, detect=all_of( contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12356.101.1"), diff --git a/cmk/base/legacy_checks/fortigate_ipsecvpn.py b/cmk/base/legacy_checks/fortigate_ipsecvpn.py index 924292feb94..87145069ec3 100644 --- a/cmk/base/legacy_checks/fortigate_ipsecvpn.py +++ b/cmk/base/legacy_checks/fortigate_ipsecvpn.py @@ -71,6 +71,7 @@ def parse_fortigate_ipsecvpn(string_table: StringTable) -> StringTable: check_info["fortigate_ipsecvpn"] = LegacyCheckDefinition( + name="fortigate_ipsecvpn", parse_function=parse_fortigate_ipsecvpn, detect=DETECT_FORTIGATE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fortigate_memory.py b/cmk/base/legacy_checks/fortigate_memory.py index 96404d99faa..5794ab04e2d 100644 --- a/cmk/base/legacy_checks/fortigate_memory.py +++ b/cmk/base/legacy_checks/fortigate_memory.py @@ -48,6 +48,7 @@ def check_fortigate_memory(item, params, current_reading): check_info["fortigate_memory"] = LegacyCheckDefinition( + name="fortigate_memory", detect=all_of(contains(".1.3.6.1.2.1.1.1.0", "fortigate"), exists(".1.3.6.1.4.1.12356.1.9.0")), fetch=SNMPTree( base=".1.3.6.1.4.1.12356.1", diff --git a/cmk/base/legacy_checks/fortigate_memory_base.py b/cmk/base/legacy_checks/fortigate_memory_base.py index 6f5d80485db..20fa4591991 100644 --- a/cmk/base/legacy_checks/fortigate_memory_base.py +++ b/cmk/base/legacy_checks/fortigate_memory_base.py @@ -45,6 +45,7 @@ def check_fortigate_memory_base(_item, params, parsed): check_info["fortigate_memory_base"] = LegacyCheckDefinition( + name="fortigate_memory_base", detect=DETECT_FORTIGATE, fetch=SNMPTree( base=".1.3.6.1.4.1.12356.101.4.1", diff --git a/cmk/base/legacy_checks/fortigate_node.py b/cmk/base/legacy_checks/fortigate_node.py index ac7dae96981..b1e90ecd89c 100644 --- a/cmk/base/legacy_checks/fortigate_node.py +++ b/cmk/base/legacy_checks/fortigate_node.py @@ -90,6 +90,7 @@ def check_fortigate_cluster(_no_item, _no_params, parsed): check_info["fortigate_node"] = LegacyCheckDefinition( + name="fortigate_node", detect=all_of( contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12356.101.1"), not_equals(".1.3.6.1.4.1.12356.101.13.1.1.0", "1"), @@ -133,6 +134,7 @@ def check_fortigate_node_cpu(item, params, parsed): check_info["fortigate_node.cpu"] = LegacyCheckDefinition( + name="fortigate_node_cpu", service_name="CPU utilization %s", sections=["fortigate_node"], discovery_function=inventory_fortigate_node_cpu, @@ -166,6 +168,7 @@ def check_fortigate_node_ses(item, params, parsed): check_info["fortigate_node.sessions"] = LegacyCheckDefinition( + name="fortigate_node_sessions", service_name="Sessions %s", sections=["fortigate_node"], discovery_function=inventory_fortigate_node_ses, diff --git a/cmk/base/legacy_checks/fortigate_sessions.py b/cmk/base/legacy_checks/fortigate_sessions.py index 9cf530ce5e2..aab00f2ca78 100644 --- a/cmk/base/legacy_checks/fortigate_sessions.py +++ b/cmk/base/legacy_checks/fortigate_sessions.py @@ -30,6 +30,7 @@ def parse_fortigate_sessions(string_table: StringTable) -> StringTable | None: check_info["fortigate_sessions"] = LegacyCheckDefinition( + name="fortigate_sessions", parse_function=parse_fortigate_sessions, detect=all_of( contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12356.101.1"), diff --git a/cmk/base/legacy_checks/fortigate_sessions_base.py b/cmk/base/legacy_checks/fortigate_sessions_base.py index b8280b188d3..a0271715371 100644 --- a/cmk/base/legacy_checks/fortigate_sessions_base.py +++ b/cmk/base/legacy_checks/fortigate_sessions_base.py @@ -26,6 +26,7 @@ def parse_fortigate_sessions_base(string_table: StringTable) -> StringTable | No check_info["fortigate_sessions_base"] = LegacyCheckDefinition( + name="fortigate_sessions_base", parse_function=parse_fortigate_sessions_base, detect=all_of( contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12356.101.1"), diff --git a/cmk/base/legacy_checks/fortigate_sslvpn.py b/cmk/base/legacy_checks/fortigate_sslvpn.py index 778568ff390..0866a8eec9f 100644 --- a/cmk/base/legacy_checks/fortigate_sslvpn.py +++ b/cmk/base/legacy_checks/fortigate_sslvpn.py @@ -60,6 +60,7 @@ def discover_fortigate_sslvpn(section): check_info["fortigate_sslvpn"] = LegacyCheckDefinition( + name="fortigate_sslvpn", detect=DETECT_FORTIGATE, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/fortinet_controller_aps.py b/cmk/base/legacy_checks/fortinet_controller_aps.py index acde00d117a..38cacaa2426 100644 --- a/cmk/base/legacy_checks/fortinet_controller_aps.py +++ b/cmk/base/legacy_checks/fortinet_controller_aps.py @@ -121,6 +121,7 @@ def check_fortinet_controller_aps(item, params, parsed): check_info["fortinet_controller_aps"] = LegacyCheckDefinition( + name="fortinet_controller_aps", detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.15983"), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/fortisandbox_cpu_util.py b/cmk/base/legacy_checks/fortisandbox_cpu_util.py index 9fca0c443b7..153924310df 100644 --- a/cmk/base/legacy_checks/fortisandbox_cpu_util.py +++ b/cmk/base/legacy_checks/fortisandbox_cpu_util.py @@ -38,6 +38,7 @@ def parse_fortisandbox_cpu_util(string_table: StringTable) -> StringTable: check_info["fortisandbox_cpu_util"] = LegacyCheckDefinition( + name="fortisandbox_cpu_util", parse_function=parse_fortisandbox_cpu_util, detect=DETECT_FORTISANDBOX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fortisandbox_queues.py b/cmk/base/legacy_checks/fortisandbox_queues.py index 139d6e15147..c6cc4bf1c9d 100644 --- a/cmk/base/legacy_checks/fortisandbox_queues.py +++ b/cmk/base/legacy_checks/fortisandbox_queues.py @@ -67,6 +67,7 @@ def check_fortisandbox_queues(item, params, parsed): check_info["fortisandbox_queues"] = LegacyCheckDefinition( + name="fortisandbox_queues", detect=DETECT_FORTISANDBOX, fetch=SNMPTree( base=".1.3.6.1.4.1.12356.118.5.1", diff --git a/cmk/base/legacy_checks/fsc_fans.py b/cmk/base/legacy_checks/fsc_fans.py index 5a89f99c12f..92d6a799f17 100644 --- a/cmk/base/legacy_checks/fsc_fans.py +++ b/cmk/base/legacy_checks/fsc_fans.py @@ -37,6 +37,7 @@ def check_fsc_fans(item, params, parsed): check_info["fsc_fans"] = LegacyCheckDefinition( + name="fsc_fans", detect=all_of( all_of( any_of( diff --git a/cmk/base/legacy_checks/fsc_ipmi_mem_status.py b/cmk/base/legacy_checks/fsc_ipmi_mem_status.py index f2174eba64b..87c24edb236 100644 --- a/cmk/base/legacy_checks/fsc_ipmi_mem_status.py +++ b/cmk/base/legacy_checks/fsc_ipmi_mem_status.py @@ -60,6 +60,7 @@ def parse_fsc_ipmi_mem_status(string_table: StringTable) -> StringTable: check_info["fsc_ipmi_mem_status"] = LegacyCheckDefinition( + name="fsc_ipmi_mem_status", parse_function=parse_fsc_ipmi_mem_status, service_name="IPMI Memory status %s", discovery_function=inventory_fsc_ipmi_mem_status, diff --git a/cmk/base/legacy_checks/fsc_sc2_cpu_status.py b/cmk/base/legacy_checks/fsc_sc2_cpu_status.py index 1673a20931a..96f9051d53f 100644 --- a/cmk/base/legacy_checks/fsc_sc2_cpu_status.py +++ b/cmk/base/legacy_checks/fsc_sc2_cpu_status.py @@ -53,6 +53,7 @@ def get_cpu_status(status): check_info["fsc_sc2_cpu_status"] = LegacyCheckDefinition( + name="fsc_sc2_cpu_status", parse_function=parse_fsc_sc2_cpu_status, detect=DETECT_FSC_SC2, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fsc_sc2_fans.py b/cmk/base/legacy_checks/fsc_sc2_fans.py index 8fc7f88bcd6..962af9aff9e 100644 --- a/cmk/base/legacy_checks/fsc_sc2_fans.py +++ b/cmk/base/legacy_checks/fsc_sc2_fans.py @@ -70,6 +70,7 @@ def check_fsc_sc2_fans(item, params, info): check_info["fsc_sc2_fans"] = LegacyCheckDefinition( + name="fsc_sc2_fans", parse_function=parse_fsc_sc2_fans, detect=DETECT_FSC_SC2, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fsc_sc2_info.py b/cmk/base/legacy_checks/fsc_sc2_info.py index 8885a7b53e3..277d5d578f2 100644 --- a/cmk/base/legacy_checks/fsc_sc2_info.py +++ b/cmk/base/legacy_checks/fsc_sc2_info.py @@ -35,6 +35,7 @@ def check_fsc_sc2_info(_no_item, _no_params, info): check_info["fsc_sc2_info"] = LegacyCheckDefinition( + name="fsc_sc2_info", parse_function=parse_fsc_sc2_info, detect=DETECT_FSC_SC2, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fsc_sc2_mem_status.py b/cmk/base/legacy_checks/fsc_sc2_mem_status.py index 576a2d85302..3494b9712bf 100644 --- a/cmk/base/legacy_checks/fsc_sc2_mem_status.py +++ b/cmk/base/legacy_checks/fsc_sc2_mem_status.py @@ -70,6 +70,7 @@ def get_mem_status(status): check_info["fsc_sc2_mem_status"] = LegacyCheckDefinition( + name="fsc_sc2_mem_status", parse_function=parse_fsc_sc2_mem_status, detect=DETECT_FSC_SC2, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fsc_sc2_power_consumption.py b/cmk/base/legacy_checks/fsc_sc2_power_consumption.py index c5421e424cf..4a7c0f5b2ca 100644 --- a/cmk/base/legacy_checks/fsc_sc2_power_consumption.py +++ b/cmk/base/legacy_checks/fsc_sc2_power_consumption.py @@ -47,6 +47,7 @@ def discover_fsc_sc2_power_consumption(section): check_info["fsc_sc2_power_consumption"] = LegacyCheckDefinition( + name="fsc_sc2_power_consumption", detect=DETECT_FSC_SC2, fetch=SNMPTree( base=".1.3.6.1.4.1.231.2.10.2.2.10.6.7.1", diff --git a/cmk/base/legacy_checks/fsc_sc2_psu.py b/cmk/base/legacy_checks/fsc_sc2_psu.py index b41d90dca11..8138109dfba 100644 --- a/cmk/base/legacy_checks/fsc_sc2_psu.py +++ b/cmk/base/legacy_checks/fsc_sc2_psu.py @@ -60,6 +60,7 @@ def parse_fsc_sc2_psu(string_table: StringTable) -> StringTable: check_info["fsc_sc2_psu"] = LegacyCheckDefinition( + name="fsc_sc2_psu", parse_function=parse_fsc_sc2_psu, detect=DETECT_FSC_SC2, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fsc_sc2_temp.py b/cmk/base/legacy_checks/fsc_sc2_temp.py index ec459c094b9..a6e9ae46fcc 100644 --- a/cmk/base/legacy_checks/fsc_sc2_temp.py +++ b/cmk/base/legacy_checks/fsc_sc2_temp.py @@ -107,6 +107,7 @@ def check_fsc_sc2_temp(item, params, info): check_info["fsc_sc2_temp"] = LegacyCheckDefinition( + name="fsc_sc2_temp", parse_function=parse_fsc_sc2_temp, detect=DETECT_FSC_SC2, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/fsc_sc2_voltage.py b/cmk/base/legacy_checks/fsc_sc2_voltage.py index 0a9ee599aec..23dc5183f08 100644 --- a/cmk/base/legacy_checks/fsc_sc2_voltage.py +++ b/cmk/base/legacy_checks/fsc_sc2_voltage.py @@ -104,6 +104,7 @@ def discover_fsc_sc2_voltage(section): check_info["fsc_sc2_voltage"] = LegacyCheckDefinition( + name="fsc_sc2_voltage", detect=DETECT_FSC_SC2, fetch=SNMPTree( base=".1.3.6.1.4.1.231.2.10.2.2.10.6.3.1", diff --git a/cmk/base/legacy_checks/fsc_subsystems.py b/cmk/base/legacy_checks/fsc_subsystems.py index 89dc3490877..a145aba0448 100644 --- a/cmk/base/legacy_checks/fsc_subsystems.py +++ b/cmk/base/legacy_checks/fsc_subsystems.py @@ -46,6 +46,7 @@ def parse_fsc_subsystems(string_table: StringTable) -> StringTable: check_info["fsc_subsystems"] = LegacyCheckDefinition( + name="fsc_subsystems", parse_function=parse_fsc_subsystems, detect=all_of( any_of( diff --git a/cmk/base/legacy_checks/fsc_temp.py b/cmk/base/legacy_checks/fsc_temp.py index 3c37d0b1728..16091c33ef2 100644 --- a/cmk/base/legacy_checks/fsc_temp.py +++ b/cmk/base/legacy_checks/fsc_temp.py @@ -50,6 +50,7 @@ def parse_fsc_temp(string_table: StringTable) -> StringTable: check_info["fsc_temp"] = LegacyCheckDefinition( + name="fsc_temp", parse_function=parse_fsc_temp, detect=all_of( all_of( diff --git a/cmk/base/legacy_checks/genua_carp.py b/cmk/base/legacy_checks/genua_carp.py index f4974476c62..b9f4c3ebe8a 100644 --- a/cmk/base/legacy_checks/genua_carp.py +++ b/cmk/base/legacy_checks/genua_carp.py @@ -129,6 +129,7 @@ def parse_genua_carp(string_table: Sequence[StringTable]) -> Sequence[StringTabl check_info["genua_carp"] = LegacyCheckDefinition( + name="genua_carp", parse_function=parse_genua_carp, detect=DETECT_GENUA, fetch=[ diff --git a/cmk/base/legacy_checks/genua_fan.py b/cmk/base/legacy_checks/genua_fan.py index 57e0b271a7b..6dba4a6a92d 100644 --- a/cmk/base/legacy_checks/genua_fan.py +++ b/cmk/base/legacy_checks/genua_fan.py @@ -64,6 +64,7 @@ def parse_genua_fan(string_table: Sequence[StringTable]) -> Sequence[StringTable check_info["genua_fan"] = LegacyCheckDefinition( + name="genua_fan", parse_function=parse_genua_fan, detect=DETECT_GENUA, fetch=[ diff --git a/cmk/base/legacy_checks/genua_pfstate.py b/cmk/base/legacy_checks/genua_pfstate.py index e0adfe0eb95..eb52cbe11e2 100644 --- a/cmk/base/legacy_checks/genua_pfstate.py +++ b/cmk/base/legacy_checks/genua_pfstate.py @@ -83,6 +83,7 @@ def parse_genua_pfstate(string_table: Sequence[StringTable]) -> Sequence[StringT check_info["genua_pfstate"] = LegacyCheckDefinition( + name="genua_pfstate", parse_function=parse_genua_pfstate, detect=DETECT_GENUA, fetch=[ diff --git a/cmk/base/legacy_checks/genua_state_correlation.py b/cmk/base/legacy_checks/genua_state_correlation.py index ca9c9e0cc6c..efd31c463e4 100644 --- a/cmk/base/legacy_checks/genua_state_correlation.py +++ b/cmk/base/legacy_checks/genua_state_correlation.py @@ -82,6 +82,7 @@ def parse_genua_state_correlation(string_table: Sequence[StringTable]) -> Sequen check_info["genua_state_correlation"] = LegacyCheckDefinition( + name="genua_state_correlation", parse_function=parse_genua_state_correlation, detect=DETECT_GENUA, fetch=[ diff --git a/cmk/base/legacy_checks/genua_vpn.py b/cmk/base/legacy_checks/genua_vpn.py index 53e3bcd820c..db3a6e4d2c8 100644 --- a/cmk/base/legacy_checks/genua_vpn.py +++ b/cmk/base/legacy_checks/genua_vpn.py @@ -64,6 +64,7 @@ def parse_genua_vpn(string_table: StringTable) -> StringTable: check_info["genua_vpn"] = LegacyCheckDefinition( + name="genua_vpn", parse_function=parse_genua_vpn, detect=DETECT_GENUA, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/graylog_cluster_stats.py b/cmk/base/legacy_checks/graylog_cluster_stats.py index 1bb8d9571b0..4d8a87bf983 100644 --- a/cmk/base/legacy_checks/graylog_cluster_stats.py +++ b/cmk/base/legacy_checks/graylog_cluster_stats.py @@ -81,6 +81,7 @@ def check_graylog_cluster_stats(_no_item, params, parsed): check_info["graylog_cluster_stats"] = LegacyCheckDefinition( + name="graylog_cluster_stats", parse_function=deserialize_and_merge_json, service_name="Graylog Cluster Stats", discovery_function=discover_graylog_cluster_stats, @@ -184,6 +185,7 @@ def check_graylog_cluster_stats_elastic( # pylint: disable=too-many-branches check_info["graylog_cluster_stats.elastic"] = LegacyCheckDefinition( + name="graylog_cluster_stats_elastic", service_name="Graylog Cluster Elasticsearch Stats", sections=["graylog_cluster_stats"], discovery_function=inventory_graylog_cluster_stats_elastic, @@ -258,6 +260,7 @@ def check_graylog_cluster_stats_mongodb(_no_item, params, parsed): check_info["graylog_cluster_stats.mongodb"] = LegacyCheckDefinition( + name="graylog_cluster_stats_mongodb", service_name="Graylog Cluster MongoDB Stats", sections=["graylog_cluster_stats"], discovery_function=inventory_graylog_cluster_stats_mongodb, diff --git a/cmk/base/legacy_checks/graylog_cluster_traffic.py b/cmk/base/legacy_checks/graylog_cluster_traffic.py index e3b517e33e3..98cb6a1b8f5 100644 --- a/cmk/base/legacy_checks/graylog_cluster_traffic.py +++ b/cmk/base/legacy_checks/graylog_cluster_traffic.py @@ -62,6 +62,7 @@ def check_graylog_cluster_traffic(_no_item, params, parsed): check_info["graylog_cluster_traffic"] = LegacyCheckDefinition( + name="graylog_cluster_traffic", parse_function=deserialize_and_merge_json, service_name="Graylog Cluster Traffic", discovery_function=discover_graylog_cluster_traffic, diff --git a/cmk/base/legacy_checks/graylog_jvm.py b/cmk/base/legacy_checks/graylog_jvm.py index 0d575ae2106..d5bbc9773d0 100644 --- a/cmk/base/legacy_checks/graylog_jvm.py +++ b/cmk/base/legacy_checks/graylog_jvm.py @@ -49,6 +49,7 @@ def check_graylog_jvm(_no_item, params, parsed): check_info["graylog_jvm"] = LegacyCheckDefinition( + name="graylog_jvm", parse_function=deserialize_and_merge_json, service_name="Graylog JVM", discovery_function=discover_graylog_jvm, diff --git a/cmk/base/legacy_checks/graylog_license.py b/cmk/base/legacy_checks/graylog_license.py index eae04aae166..5371a701ac7 100644 --- a/cmk/base/legacy_checks/graylog_license.py +++ b/cmk/base/legacy_checks/graylog_license.py @@ -108,6 +108,7 @@ def _handle_readable_output(value): check_info["graylog_license"] = LegacyCheckDefinition( + name="graylog_license", parse_function=parse_graylog_agent_data, service_name="Graylog License", discovery_function=inventory_graylog_license, diff --git a/cmk/base/legacy_checks/graylog_messages.py b/cmk/base/legacy_checks/graylog_messages.py index 50114e00571..9e48e8b3881 100644 --- a/cmk/base/legacy_checks/graylog_messages.py +++ b/cmk/base/legacy_checks/graylog_messages.py @@ -28,6 +28,7 @@ def check_graylog_messages(_no_item, params, parsed): check_info["graylog_messages"] = LegacyCheckDefinition( + name="graylog_messages", parse_function=parse_graylog_agent_data, service_name="Graylog Messages", discovery_function=inventory_graylog_messages, diff --git a/cmk/base/legacy_checks/graylog_nodes.py b/cmk/base/legacy_checks/graylog_nodes.py index abd37d45141..72917365002 100644 --- a/cmk/base/legacy_checks/graylog_nodes.py +++ b/cmk/base/legacy_checks/graylog_nodes.py @@ -140,6 +140,7 @@ def check_graylog_nodes(item, params, parsed): # pylint: disable=too-many-branc check_info["graylog_nodes"] = LegacyCheckDefinition( + name="graylog_nodes", parse_function=parse_graylog_nodes, service_name="Graylog Node %s", discovery_function=inventory_graylog_nodes, diff --git a/cmk/base/legacy_checks/graylog_sidecars.py b/cmk/base/legacy_checks/graylog_sidecars.py index 9a8523e469e..f16840f797f 100644 --- a/cmk/base/legacy_checks/graylog_sidecars.py +++ b/cmk/base/legacy_checks/graylog_sidecars.py @@ -160,6 +160,7 @@ def discover_graylog_sidecars(section): check_info["graylog_sidecars"] = LegacyCheckDefinition( + name="graylog_sidecars", parse_function=parse_graylog_sidecars, service_name="Graylog Sidecar %s", discovery_function=discover_graylog_sidecars, diff --git a/cmk/base/legacy_checks/graylog_sources.py b/cmk/base/legacy_checks/graylog_sources.py index e989d83cd81..6885e9d1488 100644 --- a/cmk/base/legacy_checks/graylog_sources.py +++ b/cmk/base/legacy_checks/graylog_sources.py @@ -96,6 +96,7 @@ def discover_graylog_sources(section): check_info["graylog_sources"] = LegacyCheckDefinition( + name="graylog_sources", parse_function=parse_graylog_sources, service_name="Graylog Source %s", discovery_function=discover_graylog_sources, diff --git a/cmk/base/legacy_checks/gude_humidity.py b/cmk/base/legacy_checks/gude_humidity.py index 8eb52ffa4ec..365a80d2f98 100644 --- a/cmk/base/legacy_checks/gude_humidity.py +++ b/cmk/base/legacy_checks/gude_humidity.py @@ -47,6 +47,7 @@ def check_gude_humidity( check_info["gude_humidity"] = LegacyCheckDefinition( + name="gude_humidity", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.28507.19"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.28507.38"), diff --git a/cmk/base/legacy_checks/gude_powerbanks.py b/cmk/base/legacy_checks/gude_powerbanks.py index 0427ae9a17f..2ec662f4100 100644 --- a/cmk/base/legacy_checks/gude_powerbanks.py +++ b/cmk/base/legacy_checks/gude_powerbanks.py @@ -76,6 +76,7 @@ def inventory_gude_powerbanks(parsed): _TABLES = (19, 38) check_info["gude_powerbanks"] = LegacyCheckDefinition( + name="gude_powerbanks", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.28507.19"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.28507.38"), diff --git a/cmk/base/legacy_checks/gude_relayport.py b/cmk/base/legacy_checks/gude_relayport.py index 0ce4f6d00cc..17f35e48431 100644 --- a/cmk/base/legacy_checks/gude_relayport.py +++ b/cmk/base/legacy_checks/gude_relayport.py @@ -56,6 +56,7 @@ def discover_gude_relayport(section): check_info["gude_relayport"] = LegacyCheckDefinition( + name="gude_relayport", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.28507.38"), fetch=SNMPTree( base=".1.3.6.1.4.1.28507.38.1", diff --git a/cmk/base/legacy_checks/gude_temp.py b/cmk/base/legacy_checks/gude_temp.py index 36b6e519ed7..6c8f372a947 100644 --- a/cmk/base/legacy_checks/gude_temp.py +++ b/cmk/base/legacy_checks/gude_temp.py @@ -39,6 +39,7 @@ def check_gude_temp( check_info["gude_temp"] = LegacyCheckDefinition( + name="gude_temp", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.28507.19"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.28507.38"), diff --git a/cmk/base/legacy_checks/h3c_lanswitch_cpu.py b/cmk/base/legacy_checks/h3c_lanswitch_cpu.py index f41d05e4fa7..61ba1d3ab0d 100644 --- a/cmk/base/legacy_checks/h3c_lanswitch_cpu.py +++ b/cmk/base/legacy_checks/h3c_lanswitch_cpu.py @@ -73,6 +73,7 @@ def parse_h3c_lanswitch_cpu(string_table: StringTable) -> StringTable: check_info["h3c_lanswitch_cpu"] = LegacyCheckDefinition( + name="h3c_lanswitch_cpu", parse_function=parse_h3c_lanswitch_cpu, detect=contains(".1.3.6.1.2.1.1.1.0", "3com s"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/h3c_lanswitch_sensors.py b/cmk/base/legacy_checks/h3c_lanswitch_sensors.py index 4ecfcc4098e..a00a63e9f65 100644 --- a/cmk/base/legacy_checks/h3c_lanswitch_sensors.py +++ b/cmk/base/legacy_checks/h3c_lanswitch_sensors.py @@ -42,6 +42,7 @@ def check_h3c_lanswitch_sensors( check_info["h3c_lanswitch_sensors"] = LegacyCheckDefinition( + name="h3c_lanswitch_sensors", detect=contains(".1.3.6.1.2.1.1.1.0", "3com s"), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/heartbeat_nodes.py b/cmk/base/legacy_checks/heartbeat_nodes.py index 65fb1f5a9a0..e1c6b867330 100644 --- a/cmk/base/legacy_checks/heartbeat_nodes.py +++ b/cmk/base/legacy_checks/heartbeat_nodes.py @@ -59,6 +59,7 @@ def parse_heartbeat_nodes(string_table: StringTable) -> StringTable: check_info["heartbeat_nodes"] = LegacyCheckDefinition( + name="heartbeat_nodes", parse_function=parse_heartbeat_nodes, service_name="Heartbeat Node %s", discovery_function=inventory_heartbeat_nodes, diff --git a/cmk/base/legacy_checks/heartbeat_rscstatus.py b/cmk/base/legacy_checks/heartbeat_rscstatus.py index 14ee4ac7b6a..cc5de1c4344 100644 --- a/cmk/base/legacy_checks/heartbeat_rscstatus.py +++ b/cmk/base/legacy_checks/heartbeat_rscstatus.py @@ -44,6 +44,7 @@ def check_heartbeat_rscstatus(_no_item, params, heartbeat_rsc_status): check_info["heartbeat_rscstatus"] = LegacyCheckDefinition( + name="heartbeat_rscstatus", parse_function=parse_heartbeat_rscstatus, service_name="Heartbeat Ressource Status", discovery_function=inventory_heartbeat_rscstatus, diff --git a/cmk/base/legacy_checks/hepta.py b/cmk/base/legacy_checks/hepta.py index 88613376f90..a1b0ce547cf 100644 --- a/cmk/base/legacy_checks/hepta.py +++ b/cmk/base/legacy_checks/hepta.py @@ -85,6 +85,7 @@ def check_hepta(item, params, parsed): check_info["hepta"] = LegacyCheckDefinition( + name="hepta", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12527"), fetch=[ SNMPTree( @@ -139,6 +140,7 @@ def check_hepta_time_sync(item, params, parsed): check_info["hepta.syncmoduletimesyncstate"] = LegacyCheckDefinition( + name="hepta_syncmoduletimesyncstate", service_name="%s", sections=["hepta"], discovery_function=inventory_hepta_time_sync, @@ -179,6 +181,7 @@ def check_hepta_ntpsysstratum(item, params, parsed): check_info["hepta.ntpsysstratum"] = LegacyCheckDefinition( + name="hepta_ntpsysstratum", service_name="%s", sections=["hepta"], discovery_function=inventory_hepta_ntpsysstratum, @@ -212,6 +215,7 @@ def check_hepta_syncmoduletimelocal(item, params, parsed): check_info["hepta.syncmoduletimelocal"] = LegacyCheckDefinition( + name="hepta_syncmoduletimelocal", service_name="%s", sections=["hepta"], discovery_function=inventory_hepta_syncmoduletimelocal, diff --git a/cmk/base/legacy_checks/hitachi_hnas_bossock.py b/cmk/base/legacy_checks/hitachi_hnas_bossock.py index 38cc85b29df..8221156696c 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_bossock.py +++ b/cmk/base/legacy_checks/hitachi_hnas_bossock.py @@ -37,6 +37,7 @@ def check_hitachi_hnas_bossock( check_info["hitachi_hnas_bossock"] = LegacyCheckDefinition( + name="hitachi_hnas_bossock", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.11096.6.1.1.6.7.4.1", diff --git a/cmk/base/legacy_checks/hitachi_hnas_cifs.py b/cmk/base/legacy_checks/hitachi_hnas_cifs.py index 2b757810def..46051b2edea 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_cifs.py +++ b/cmk/base/legacy_checks/hitachi_hnas_cifs.py @@ -31,6 +31,7 @@ def parse_hitachi_hnas_cifs(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_cifs"] = LegacyCheckDefinition( + name="hitachi_hnas_cifs", parse_function=parse_hitachi_hnas_cifs, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_cpu.py b/cmk/base/legacy_checks/hitachi_hnas_cpu.py index 043d606f1f6..7f4e74808f2 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_cpu.py +++ b/cmk/base/legacy_checks/hitachi_hnas_cpu.py @@ -38,6 +38,7 @@ def parse_hitachi_hnas_cpu(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_cpu"] = LegacyCheckDefinition( + name="hitachi_hnas_cpu", parse_function=parse_hitachi_hnas_cpu, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_drives.py b/cmk/base/legacy_checks/hitachi_hnas_drives.py index a342aa8209e..7d2b5d122a5 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_drives.py +++ b/cmk/base/legacy_checks/hitachi_hnas_drives.py @@ -45,6 +45,7 @@ def check_hitachi_hnas_drives(_no_item, params, info): check_info["hitachi_hnas_drives"] = LegacyCheckDefinition( + name="hitachi_hnas_drives", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.11096.6.1.1.1.3.4.2.1", diff --git a/cmk/base/legacy_checks/hitachi_hnas_fan.py b/cmk/base/legacy_checks/hitachi_hnas_fan.py index b75709e47ae..692239656cd 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_fan.py +++ b/cmk/base/legacy_checks/hitachi_hnas_fan.py @@ -66,6 +66,7 @@ def parse_hitachi_hnas_fan(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_fan"] = LegacyCheckDefinition( + name="hitachi_hnas_fan", parse_function=parse_hitachi_hnas_fan, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_fpga.py b/cmk/base/legacy_checks/hitachi_hnas_fpga.py index d0407f7e47b..fa1edb037e4 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_fpga.py +++ b/cmk/base/legacy_checks/hitachi_hnas_fpga.py @@ -42,6 +42,7 @@ def parse_hitachi_hnas_fpga(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_fpga"] = LegacyCheckDefinition( + name="hitachi_hnas_fpga", parse_function=parse_hitachi_hnas_fpga, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_pnode.py b/cmk/base/legacy_checks/hitachi_hnas_pnode.py index fe0088014e9..bf8423a7405 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_pnode.py +++ b/cmk/base/legacy_checks/hitachi_hnas_pnode.py @@ -51,6 +51,7 @@ def parse_hitachi_hnas_pnode(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_pnode"] = LegacyCheckDefinition( + name="hitachi_hnas_pnode", parse_function=parse_hitachi_hnas_pnode, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_psu.py b/cmk/base/legacy_checks/hitachi_hnas_psu.py index 0e7ec1d7195..159b4f8cd8b 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_psu.py +++ b/cmk/base/legacy_checks/hitachi_hnas_psu.py @@ -50,6 +50,7 @@ def parse_hitachi_hnas_psu(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_psu"] = LegacyCheckDefinition( + name="hitachi_hnas_psu", parse_function=parse_hitachi_hnas_psu, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_quorumdevice.py b/cmk/base/legacy_checks/hitachi_hnas_quorumdevice.py index 5fad973ac03..e0b0030b334 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_quorumdevice.py +++ b/cmk/base/legacy_checks/hitachi_hnas_quorumdevice.py @@ -42,6 +42,7 @@ def parse_hitachi_hnas_quorumdevice(string_table: StringTable) -> StringTable | check_info["hitachi_hnas_quorumdevice"] = LegacyCheckDefinition( + name="hitachi_hnas_quorumdevice", parse_function=parse_hitachi_hnas_quorumdevice, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_temp.py b/cmk/base/legacy_checks/hitachi_hnas_temp.py index 57d0a7b96fd..282eea63439 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_temp.py +++ b/cmk/base/legacy_checks/hitachi_hnas_temp.py @@ -59,6 +59,7 @@ def parse_hitachi_hnas_temp(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_temp"] = LegacyCheckDefinition( + name="hitachi_hnas_temp", parse_function=parse_hitachi_hnas_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hnas_vnode.py b/cmk/base/legacy_checks/hitachi_hnas_vnode.py index c403e24b5ce..3a7f01a73d8 100644 --- a/cmk/base/legacy_checks/hitachi_hnas_vnode.py +++ b/cmk/base/legacy_checks/hitachi_hnas_vnode.py @@ -57,6 +57,7 @@ def parse_hitachi_hnas_vnode(string_table: StringTable) -> StringTable: check_info["hitachi_hnas_vnode"] = LegacyCheckDefinition( + name="hitachi_hnas_vnode", parse_function=parse_hitachi_hnas_vnode, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hitachi_hus_status.py b/cmk/base/legacy_checks/hitachi_hus_status.py index e6682b70bcc..f57d4891c04 100644 --- a/cmk/base/legacy_checks/hitachi_hus_status.py +++ b/cmk/base/legacy_checks/hitachi_hus_status.py @@ -50,6 +50,7 @@ def parse_hitachi_hus_status(string_table: StringTable) -> StringTable | None: check_info["hitachi_hus_status"] = LegacyCheckDefinition( + name="hitachi_hus_status", parse_function=parse_hitachi_hus_status, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.116"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hivemanager_devices.py b/cmk/base/legacy_checks/hivemanager_devices.py index a9808d4e552..49b6f3ee234 100644 --- a/cmk/base/legacy_checks/hivemanager_devices.py +++ b/cmk/base/legacy_checks/hivemanager_devices.py @@ -97,6 +97,7 @@ def parse_hivemanager_devices(string_table: StringTable) -> StringTable: check_info["hivemanager_devices"] = LegacyCheckDefinition( + name="hivemanager_devices", parse_function=parse_hivemanager_devices, service_name="Client %s", discovery_function=inventory_hivemanager_devices, diff --git a/cmk/base/legacy_checks/hivemanager_ng_devices.py b/cmk/base/legacy_checks/hivemanager_ng_devices.py index 91493cbc3fe..f1061f59009 100644 --- a/cmk/base/legacy_checks/hivemanager_ng_devices.py +++ b/cmk/base/legacy_checks/hivemanager_ng_devices.py @@ -71,6 +71,7 @@ def check_hivemanager_ng_devices(item, params, parsed): check_info["hivemanager_ng_devices"] = LegacyCheckDefinition( + name="hivemanager_ng_devices", parse_function=parse_hivemanager_ng_devices, service_name="Client %s", discovery_function=inventory_hivemanager_ng_devices, diff --git a/cmk/base/legacy_checks/hp_blade.py b/cmk/base/legacy_checks/hp_blade.py index 5c09838b078..2e8d2ff7bd8 100644 --- a/cmk/base/legacy_checks/hp_blade.py +++ b/cmk/base/legacy_checks/hp_blade.py @@ -50,6 +50,7 @@ def parse_hp_blade(string_table: StringTable) -> StringTable: check_info["hp_blade"] = LegacyCheckDefinition( + name="hp_blade", parse_function=parse_hp_blade, detect=DETECT_HP_BLADE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_blade_blades.py b/cmk/base/legacy_checks/hp_blade_blades.py index 372f5dfbfa6..50732f0eb2f 100644 --- a/cmk/base/legacy_checks/hp_blade_blades.py +++ b/cmk/base/legacy_checks/hp_blade_blades.py @@ -92,6 +92,7 @@ def parse_hp_blade_blades(string_table: StringTable) -> StringTable: check_info["hp_blade_blades"] = LegacyCheckDefinition( + name="hp_blade_blades", parse_function=parse_hp_blade_blades, detect=DETECT_HP_BLADE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_blade_fan.py b/cmk/base/legacy_checks/hp_blade_fan.py index c6f60edcdf3..8f9ce9f775c 100644 --- a/cmk/base/legacy_checks/hp_blade_fan.py +++ b/cmk/base/legacy_checks/hp_blade_fan.py @@ -58,6 +58,7 @@ def parse_hp_blade_fan(string_table: StringTable) -> StringTable: check_info["hp_blade_fan"] = LegacyCheckDefinition( + name="hp_blade_fan", parse_function=parse_hp_blade_fan, detect=DETECT_HP_BLADE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_blade_manager.py b/cmk/base/legacy_checks/hp_blade_manager.py index a464581aa2a..62d4bc54413 100644 --- a/cmk/base/legacy_checks/hp_blade_manager.py +++ b/cmk/base/legacy_checks/hp_blade_manager.py @@ -73,6 +73,7 @@ def parse_hp_blade_manager(string_table: StringTable) -> StringTable: check_info["hp_blade_manager"] = LegacyCheckDefinition( + name="hp_blade_manager", parse_function=parse_hp_blade_manager, detect=DETECT_HP_BLADE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_blade_psu.py b/cmk/base/legacy_checks/hp_blade_psu.py index e72e44a7c3c..2c24fdacba3 100644 --- a/cmk/base/legacy_checks/hp_blade_psu.py +++ b/cmk/base/legacy_checks/hp_blade_psu.py @@ -109,6 +109,7 @@ def parse_hp_blade_psu(string_table: StringTable) -> StringTable: check_info["hp_blade_psu"] = LegacyCheckDefinition( + name="hp_blade_psu", parse_function=parse_hp_blade_psu, detect=DETECT_HP_BLADE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_eml_sum.py b/cmk/base/legacy_checks/hp_eml_sum.py index 0edf8837afc..0163ae410f4 100644 --- a/cmk/base/legacy_checks/hp_eml_sum.py +++ b/cmk/base/legacy_checks/hp_eml_sum.py @@ -45,6 +45,7 @@ def parse_hp_eml_sum(string_table: StringTable) -> StringTable: check_info["hp_eml_sum"] = LegacyCheckDefinition( + name="hp_eml_sum", parse_function=parse_hp_eml_sum, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.11.10.2.1.3.20"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_fan.py b/cmk/base/legacy_checks/hp_fan.py index 8ef11ddbfb7..61a7be57feb 100644 --- a/cmk/base/legacy_checks/hp_fan.py +++ b/cmk/base/legacy_checks/hp_fan.py @@ -35,6 +35,7 @@ def check_hp_fan(item, _no_params, parsed): check_info["hp_fan"] = LegacyCheckDefinition( + name="hp_fan", detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "hp"), any_of( diff --git a/cmk/base/legacy_checks/hp_hh3c_ext.py b/cmk/base/legacy_checks/hp_hh3c_ext.py index 1eb8e6162fc..039d998e4d7 100644 --- a/cmk/base/legacy_checks/hp_hh3c_ext.py +++ b/cmk/base/legacy_checks/hp_hh3c_ext.py @@ -66,6 +66,7 @@ def check_hp_hh3c_ext(item, params, parsed): check_info["hp_hh3c_ext"] = LegacyCheckDefinition( + name="hp_hh3c_ext", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.25506.11.1.239"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.25506.11.1.87"), @@ -140,6 +141,7 @@ def check_hp_hh3c_ext_states(item, params, parsed): check_info["hp_hh3c_ext.states"] = LegacyCheckDefinition( + name="hp_hh3c_ext_states", service_name="Status %s", sections=["hp_hh3c_ext"], discovery_function=inventory_hp_hh3c_ext_states, @@ -174,6 +176,7 @@ def check_hp_hh3c_ext_cpu(item, params, parsed): check_info["hp_hh3c_ext.cpu"] = LegacyCheckDefinition( + name="hp_hh3c_ext_cpu", service_name="CPU utilization %s", sections=["hp_hh3c_ext"], discovery_function=inventory_hp_hh3c_ext_cpu, @@ -216,6 +219,7 @@ def check_hp_hh3c_ext_mem(item, params, parsed): check_info["hp_hh3c_ext.mem"] = LegacyCheckDefinition( + name="hp_hh3c_ext_mem", service_name="Memory %s", sections=["hp_hh3c_ext"], discovery_function=inventory_hp_hh3c_ext_mem, diff --git a/cmk/base/legacy_checks/hp_mcs_sensors.py b/cmk/base/legacy_checks/hp_mcs_sensors.py index 248ed060e76..bf2df16dc51 100644 --- a/cmk/base/legacy_checks/hp_mcs_sensors.py +++ b/cmk/base/legacy_checks/hp_mcs_sensors.py @@ -62,6 +62,7 @@ def check_hp_mcs_sensors(item, params, parsed): check_info["hp_mcs_sensors"] = LegacyCheckDefinition( + name="hp_mcs_sensors", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.232.167"), fetch=SNMPTree( base=".1.3.6.1.4.1.232.167.2.4.5.2.1", @@ -89,6 +90,7 @@ def check_hp_mcs_sensors_fan(item, params, parsed): check_info["hp_mcs_sensors.fan"] = LegacyCheckDefinition( + name="hp_mcs_sensors_fan", service_name="Sensor %s", sections=["hp_mcs_sensors"], discovery_function=inventory_hp_mcs_sensors_fan, diff --git a/cmk/base/legacy_checks/hp_mcs_system.py b/cmk/base/legacy_checks/hp_mcs_system.py index ddb0ff6201b..c79f7a40cbd 100644 --- a/cmk/base/legacy_checks/hp_mcs_system.py +++ b/cmk/base/legacy_checks/hp_mcs_system.py @@ -37,6 +37,7 @@ def parse_hp_mcs_system(string_table: StringTable) -> StringTable: check_info["hp_mcs_system"] = LegacyCheckDefinition( + name="hp_mcs_system", parse_function=parse_hp_mcs_system, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.232.167"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_procurve_cpu.py b/cmk/base/legacy_checks/hp_procurve_cpu.py index ab4d5f1c026..bfa91c84806 100644 --- a/cmk/base/legacy_checks/hp_procurve_cpu.py +++ b/cmk/base/legacy_checks/hp_procurve_cpu.py @@ -32,6 +32,7 @@ def parse_hp_procurve_cpu(string_table: StringTable) -> StringTable: check_info["hp_procurve_cpu"] = LegacyCheckDefinition( + name="hp_procurve_cpu", parse_function=parse_hp_procurve_cpu, detect=any_of( contains(".1.3.6.1.2.1.1.2.0", ".11.2.3.7.11"), diff --git a/cmk/base/legacy_checks/hp_procurve_mem.py b/cmk/base/legacy_checks/hp_procurve_mem.py index af94751ae4e..90b8c4b1a56 100644 --- a/cmk/base/legacy_checks/hp_procurve_mem.py +++ b/cmk/base/legacy_checks/hp_procurve_mem.py @@ -50,6 +50,7 @@ def parse_hp_procurve_mem(string_table: StringTable) -> StringTable: check_info["hp_procurve_mem"] = LegacyCheckDefinition( + name="hp_procurve_mem", parse_function=parse_hp_procurve_mem, detect=any_of( contains(".1.3.6.1.2.1.1.2.0", ".11.2.3.7.11"), diff --git a/cmk/base/legacy_checks/hp_procurve_sensors.py b/cmk/base/legacy_checks/hp_procurve_sensors.py index 2e6e6245bc4..eb1f841f24d 100644 --- a/cmk/base/legacy_checks/hp_procurve_sensors.py +++ b/cmk/base/legacy_checks/hp_procurve_sensors.py @@ -99,6 +99,7 @@ def parse_hp_procurve_sensors(string_table: StringTable) -> StringTable: check_info["hp_procurve_sensors"] = LegacyCheckDefinition( + name="hp_procurve_sensors", parse_function=parse_hp_procurve_sensors, detect=any_of( contains(".1.3.6.1.2.1.1.2.0", ".11.2.3.7.11"), diff --git a/cmk/base/legacy_checks/hp_procurve_temp.py b/cmk/base/legacy_checks/hp_procurve_temp.py index 2fdc90d0f62..456c12f5f64 100644 --- a/cmk/base/legacy_checks/hp_procurve_temp.py +++ b/cmk/base/legacy_checks/hp_procurve_temp.py @@ -37,6 +37,7 @@ def parse_hp_procurve_temp(string_table: StringTable) -> StringTable: check_info["hp_procurve_temp"] = LegacyCheckDefinition( + name="hp_procurve_temp", parse_function=parse_hp_procurve_temp, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.11.2.3.7.11"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_proliant.py b/cmk/base/legacy_checks/hp_proliant.py index 3cbb9febe76..76d4587e5d7 100644 --- a/cmk/base/legacy_checks/hp_proliant.py +++ b/cmk/base/legacy_checks/hp_proliant.py @@ -40,6 +40,7 @@ def parse_hp_proliant(string_table: StringTable) -> StringTable: check_info["hp_proliant"] = LegacyCheckDefinition( + name="hp_proliant", parse_function=parse_hp_proliant, detect=any_of( contains(".1.3.6.1.2.1.1.2.0", "8072.3.2.10"), diff --git a/cmk/base/legacy_checks/hp_proliant_cpu.py b/cmk/base/legacy_checks/hp_proliant_cpu.py index 45b1a8fc0dd..0b7f8f0b020 100644 --- a/cmk/base/legacy_checks/hp_proliant_cpu.py +++ b/cmk/base/legacy_checks/hp_proliant_cpu.py @@ -44,6 +44,7 @@ def check_hp_proliant_cpu(item, params, info): check_info["hp_proliant_cpu"] = LegacyCheckDefinition( + name="hp_proliant_cpu", parse_function=parse_hp_proliant_cpu, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_proliant_da_cntlr.py b/cmk/base/legacy_checks/hp_proliant_da_cntlr.py index 18a9eb8e079..457e06ff4ef 100644 --- a/cmk/base/legacy_checks/hp_proliant_da_cntlr.py +++ b/cmk/base/legacy_checks/hp_proliant_da_cntlr.py @@ -90,6 +90,7 @@ def check_hp_proliant_da_cntlr(item, params, info): check_info["hp_proliant_da_cntlr"] = LegacyCheckDefinition( + name="hp_proliant_da_cntlr", parse_function=parse_hp_proliant_da_cntlr, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_proliant_raid.py b/cmk/base/legacy_checks/hp_proliant_raid.py index cf6387033c2..04d963c5dfc 100644 --- a/cmk/base/legacy_checks/hp_proliant_raid.py +++ b/cmk/base/legacy_checks/hp_proliant_raid.py @@ -86,6 +86,7 @@ def check_hp_proliant_raid(item, _no_params, parsed): check_info["hp_proliant_raid"] = LegacyCheckDefinition( + name="hp_proliant_raid", detect=DETECT, fetch=SNMPTree( base=".1.3.6.1.4.1.232.3.2.3.1.1", diff --git a/cmk/base/legacy_checks/hp_proliant_temp.py b/cmk/base/legacy_checks/hp_proliant_temp.py index dfa5becf6a3..15dd0647f8a 100644 --- a/cmk/base/legacy_checks/hp_proliant_temp.py +++ b/cmk/base/legacy_checks/hp_proliant_temp.py @@ -86,6 +86,7 @@ def check_hp_proliant_temp(item, params, info): check_info["hp_proliant_temp"] = LegacyCheckDefinition( + name="hp_proliant_temp", parse_function=parse_hp_proliant_temp, detect=DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_psu.py b/cmk/base/legacy_checks/hp_psu.py index c8204fc25b2..216ac537186 100644 --- a/cmk/base/legacy_checks/hp_psu.py +++ b/cmk/base/legacy_checks/hp_psu.py @@ -45,6 +45,7 @@ def check_hp_psu_temp(item, params, parsed): check_info["hp_psu.temp"] = LegacyCheckDefinition( + name="hp_psu_temp", service_name="Temperature Power Supply %s", sections=["hp_psu"], discovery_function=inventory_hp_psu_temp, @@ -87,6 +88,7 @@ def check_hp_psu(item, params, parsed): check_info["hp_psu"] = LegacyCheckDefinition( + name="hp_psu", detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "hp"), any_of( diff --git a/cmk/base/legacy_checks/hp_sts_drvbox.py b/cmk/base/legacy_checks/hp_sts_drvbox.py index 70ad4b5a400..60082a8db70 100644 --- a/cmk/base/legacy_checks/hp_sts_drvbox.py +++ b/cmk/base/legacy_checks/hp_sts_drvbox.py @@ -124,6 +124,7 @@ def parse_hp_sts_drvbox(string_table: StringTable) -> StringTable: check_info["hp_sts_drvbox"] = LegacyCheckDefinition( + name="hp_sts_drvbox", parse_function=parse_hp_sts_drvbox, detect=contains(".1.3.6.1.4.1.232.2.2.4.2.0", "proliant"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/hp_webmgmt_status.py b/cmk/base/legacy_checks/hp_webmgmt_status.py index 282137b0ca3..9d2d6ca6b50 100644 --- a/cmk/base/legacy_checks/hp_webmgmt_status.py +++ b/cmk/base/legacy_checks/hp_webmgmt_status.py @@ -44,6 +44,7 @@ def parse_hp_webmgmt_status(string_table: Sequence[StringTable]) -> Sequence[Str check_info["hp_webmgmt_status"] = LegacyCheckDefinition( + name="hp_webmgmt_status", parse_function=parse_hp_webmgmt_status, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.11"), diff --git a/cmk/base/legacy_checks/hpux_fchba.py b/cmk/base/legacy_checks/hpux_fchba.py index 34d006e22c2..d1f69923992 100644 --- a/cmk/base/legacy_checks/hpux_fchba.py +++ b/cmk/base/legacy_checks/hpux_fchba.py @@ -75,6 +75,7 @@ def check_hpux_fchba(item, _no_params, section): check_info["hpux_fchba"] = LegacyCheckDefinition( + name="hpux_fchba", service_name="FC HBA %s", parse_function=parse_hpux_fchba, discovery_function=inventory_hpux_fchba, diff --git a/cmk/base/legacy_checks/hpux_multipath.py b/cmk/base/legacy_checks/hpux_multipath.py index c40fd9a3037..d3ad20d1658 100644 --- a/cmk/base/legacy_checks/hpux_multipath.py +++ b/cmk/base/legacy_checks/hpux_multipath.py @@ -113,6 +113,7 @@ def check_hpux_multipath(item, params, parsed): check_info["hpux_multipath"] = LegacyCheckDefinition( + name="hpux_multipath", service_name="Multipath %s", parse_function=parse_hpux_multipath, discovery_function=inventory_hpux_multipath, diff --git a/cmk/base/legacy_checks/hpux_serviceguard.py b/cmk/base/legacy_checks/hpux_serviceguard.py index 4abe7fcbff7..b8b4268de87 100644 --- a/cmk/base/legacy_checks/hpux_serviceguard.py +++ b/cmk/base/legacy_checks/hpux_serviceguard.py @@ -58,6 +58,7 @@ def parse_hpux_serviceguard(string_table: StringTable) -> StringTable: check_info["hpux_serviceguard"] = LegacyCheckDefinition( + name="hpux_serviceguard", parse_function=parse_hpux_serviceguard, service_name="Serviceguard %s", discovery_function=inventory_hpux_serviceguard, diff --git a/cmk/base/legacy_checks/hpux_snmp_cs.py b/cmk/base/legacy_checks/hpux_snmp_cs.py index ccc2d8e2c33..3b9b965faeb 100644 --- a/cmk/base/legacy_checks/hpux_snmp_cs.py +++ b/cmk/base/legacy_checks/hpux_snmp_cs.py @@ -86,6 +86,7 @@ def parse_hpux_snmp_cs(string_table: StringTable) -> StringTable: check_info["hpux_snmp_cs"] = LegacyCheckDefinition( + name="hpux_snmp_cs", parse_function=parse_hpux_snmp_cs, detect=startswith(".1.3.6.1.2.1.1.1.0", "HP-UX"), fetch=SNMPTree( @@ -96,6 +97,7 @@ def parse_hpux_snmp_cs(string_table: StringTable) -> StringTable: check_info["hpux_snmp_cs.cpu"] = LegacyCheckDefinition( + name="hpux_snmp_cs_cpu", service_name="CPU utilization", sections=["hpux_snmp_cs"], discovery_function=inventory_hpux_snmp_cpu, diff --git a/cmk/base/legacy_checks/hpux_tunables.py b/cmk/base/legacy_checks/hpux_tunables.py index c08c6c06ab5..7a57b72161a 100644 --- a/cmk/base/legacy_checks/hpux_tunables.py +++ b/cmk/base/legacy_checks/hpux_tunables.py @@ -59,6 +59,7 @@ def parse_hpux_tunables(info): check_info["hpux_tunables"] = LegacyCheckDefinition( + name="hpux_tunables", parse_function=parse_hpux_tunables, ) @@ -127,6 +128,7 @@ def check_hpux_tunables_nkthread(_no_item, params, section): check_info["hpux_tunables.nkthread"] = LegacyCheckDefinition( + name="hpux_tunables_nkthread", service_name="Number of threads", sections=["hpux_tunables"], discovery_function=inventory_hpux_tunables_nkthread, @@ -161,6 +163,7 @@ def check_hpux_tunables_nproc(_no_item, params, section): check_info["hpux_tunables.nproc"] = LegacyCheckDefinition( + name="hpux_tunables_nproc", service_name="Number of processes", sections=["hpux_tunables"], discovery_function=inventory_hpux_tunables_nproc, @@ -193,6 +196,7 @@ def check_hpux_tunables_maxfiles_lim(_no_item, params, section): check_info["hpux_tunables.maxfiles_lim"] = LegacyCheckDefinition( + name="hpux_tunables_maxfiles_lim", service_name="Number of open files", sections=["hpux_tunables"], discovery_function=inventory_hpux_tunables_maxfiles_lim, @@ -225,6 +229,7 @@ def check_hpux_tunables_semmni(_no_item, params, section): check_info["hpux_tunables.semmni"] = LegacyCheckDefinition( + name="hpux_tunables_semmni", service_name="Number of IPC Semaphore IDs", sections=["hpux_tunables"], discovery_function=inventory_hpux_tunables_semmni, @@ -257,6 +262,7 @@ def check_hpux_tunables_shmseg(_no_item, params, section): check_info["hpux_tunables.shmseg"] = LegacyCheckDefinition( + name="hpux_tunables_shmseg", service_name="Number of shared memory segments", sections=["hpux_tunables"], discovery_function=inventory_hpux_tunables_shmseg, @@ -289,6 +295,7 @@ def check_hpux_tunables_semmns(_no_item, params, section): check_info["hpux_tunables.semmns"] = LegacyCheckDefinition( + name="hpux_tunables_semmns", service_name="Number of IPC Semaphores", sections=["hpux_tunables"], discovery_function=inventory_hpux_tunables_semmns, diff --git a/cmk/base/legacy_checks/hr_cpu.py b/cmk/base/legacy_checks/hr_cpu.py index 694169bda80..e2bb2480ff6 100644 --- a/cmk/base/legacy_checks/hr_cpu.py +++ b/cmk/base/legacy_checks/hr_cpu.py @@ -45,6 +45,7 @@ def parse_hr_cpu(string_table: StringTable) -> StringTable: check_info["hr_cpu"] = LegacyCheckDefinition( + name="hr_cpu", parse_function=parse_hr_cpu, detect=ucd_hr_detection.HR, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_osn_fan.py b/cmk/base/legacy_checks/huawei_osn_fan.py index 6cb7307e4e2..11b8616d007 100644 --- a/cmk/base/legacy_checks/huawei_osn_fan.py +++ b/cmk/base/legacy_checks/huawei_osn_fan.py @@ -37,6 +37,7 @@ def parse_huawei_osn_fan(string_table: StringTable) -> StringTable: check_info["huawei_osn_fan"] = LegacyCheckDefinition( + name="huawei_osn_fan", parse_function=parse_huawei_osn_fan, detect=DETECT_HUAWEI_OSN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_osn_laser.py b/cmk/base/legacy_checks/huawei_osn_laser.py index 2fff2e98650..e9101dfd3e3 100644 --- a/cmk/base/legacy_checks/huawei_osn_laser.py +++ b/cmk/base/legacy_checks/huawei_osn_laser.py @@ -70,6 +70,7 @@ def parse_huawei_osn_laser(string_table: StringTable) -> StringTable: check_info["huawei_osn_laser"] = LegacyCheckDefinition( + name="huawei_osn_laser", parse_function=parse_huawei_osn_laser, detect=DETECT_HUAWEI_OSN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_osn_power.py b/cmk/base/legacy_checks/huawei_osn_power.py index b865a976a86..e278327dc34 100644 --- a/cmk/base/legacy_checks/huawei_osn_power.py +++ b/cmk/base/legacy_checks/huawei_osn_power.py @@ -40,6 +40,7 @@ def parse_huawei_osn_power(string_table: StringTable) -> StringTable: check_info["huawei_osn_power"] = LegacyCheckDefinition( + name="huawei_osn_power", parse_function=parse_huawei_osn_power, detect=DETECT_HUAWEI_OSN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_osn_temp.py b/cmk/base/legacy_checks/huawei_osn_temp.py index e59b2f2c79f..f9655a592bc 100644 --- a/cmk/base/legacy_checks/huawei_osn_temp.py +++ b/cmk/base/legacy_checks/huawei_osn_temp.py @@ -30,6 +30,7 @@ def parse_huawei_osn_temp(string_table: StringTable) -> StringTable: check_info["huawei_osn_temp"] = LegacyCheckDefinition( + name="huawei_osn_temp", parse_function=parse_huawei_osn_temp, detect=DETECT_HUAWEI_OSN, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_switch_cpu.py b/cmk/base/legacy_checks/huawei_switch_cpu.py index a35562e86fc..eb641d9ca8d 100644 --- a/cmk/base/legacy_checks/huawei_switch_cpu.py +++ b/cmk/base/legacy_checks/huawei_switch_cpu.py @@ -32,6 +32,7 @@ def discover_huawei_switch_cpu(section): check_info["huawei_switch_cpu"] = LegacyCheckDefinition( + name="huawei_switch_cpu", detect=DETECT_HUAWEI_SWITCH, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_switch_fan.py b/cmk/base/legacy_checks/huawei_switch_fan.py index d22546458f2..516c20ad955 100644 --- a/cmk/base/legacy_checks/huawei_switch_fan.py +++ b/cmk/base/legacy_checks/huawei_switch_fan.py @@ -51,6 +51,7 @@ def check_huawei_switch_fan(item, params, parsed): check_info["huawei_switch_fan"] = LegacyCheckDefinition( + name="huawei_switch_fan", detect=DETECT_HUAWEI_SWITCH, fetch=SNMPTree( base=".1.3.6.1.4.1.2011.5.25.31.1.1.10.1", diff --git a/cmk/base/legacy_checks/huawei_switch_mem.py b/cmk/base/legacy_checks/huawei_switch_mem.py index 17fd810ed77..14bebf4e718 100644 --- a/cmk/base/legacy_checks/huawei_switch_mem.py +++ b/cmk/base/legacy_checks/huawei_switch_mem.py @@ -38,6 +38,7 @@ def discover_huawei_switch_mem(section): check_info["huawei_switch_mem"] = LegacyCheckDefinition( + name="huawei_switch_mem", detect=DETECT_HUAWEI_SWITCH, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_switch_psu.py b/cmk/base/legacy_checks/huawei_switch_psu.py index a243090639b..e32f6579358 100644 --- a/cmk/base/legacy_checks/huawei_switch_psu.py +++ b/cmk/base/legacy_checks/huawei_switch_psu.py @@ -46,6 +46,7 @@ def check_huawei_switch_psu( check_info["huawei_switch_psu"] = LegacyCheckDefinition( + name="huawei_switch_psu", detect=DETECT_HUAWEI_SWITCH, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_switch_stack.py b/cmk/base/legacy_checks/huawei_switch_stack.py index 86ab7788454..35fbb0df0a7 100644 --- a/cmk/base/legacy_checks/huawei_switch_stack.py +++ b/cmk/base/legacy_checks/huawei_switch_stack.py @@ -53,6 +53,7 @@ def check_huawei_switch_stack(item, params, parsed): check_info["huawei_switch_stack"] = LegacyCheckDefinition( + name="huawei_switch_stack", detect=DETECT_HUAWEI_SWITCH, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_switch_temp.py b/cmk/base/legacy_checks/huawei_switch_temp.py index a64e61300bf..dceb330abef 100644 --- a/cmk/base/legacy_checks/huawei_switch_temp.py +++ b/cmk/base/legacy_checks/huawei_switch_temp.py @@ -38,6 +38,7 @@ def check_huawei_switch_temp( check_info["huawei_switch_temp"] = LegacyCheckDefinition( + name="huawei_switch_temp", detect=DETECT_HUAWEI_SWITCH, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/huawei_wlc_aps.py b/cmk/base/legacy_checks/huawei_wlc_aps.py index 30c17632ebf..bf20f2ab90b 100644 --- a/cmk/base/legacy_checks/huawei_wlc_aps.py +++ b/cmk/base/legacy_checks/huawei_wlc_aps.py @@ -90,6 +90,7 @@ def parse_huawei_wlc_aps(string_table): check_info["huawei_wlc_aps"] = LegacyCheckDefinition( + name="huawei_wlc_aps", detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2011.2.240.17"), fetch=[ SNMPTree( @@ -150,6 +151,7 @@ def check_huawei_wlc_aps_status(item, params, parsed): check_info["huawei_wlc_aps.status"] = LegacyCheckDefinition( + name="huawei_wlc_aps_status", service_name="AP %s Status", sections=["huawei_wlc_aps"], discovery_function=discovery_huawei_wlc_aps_status, @@ -175,6 +177,7 @@ def check_huawei_wlc_aps_cpu(item, params, parsed): check_info["huawei_wlc_aps.cpu"] = LegacyCheckDefinition( + name="huawei_wlc_aps_cpu", service_name="AP %s CPU", sections=["huawei_wlc_aps"], discovery_function=discovery_huawei_wlc_aps_cpu, @@ -204,6 +207,7 @@ def check_huawei_wlc_aps_mem(item, params, parsed): check_info["huawei_wlc_aps.mem"] = LegacyCheckDefinition( + name="huawei_wlc_aps_mem", service_name="AP %s Memory", sections=["huawei_wlc_aps"], discovery_function=discovery_huawei_wlc_aps_mem, @@ -231,6 +235,7 @@ def check_huawei_wlc_aps_temp(item, params, parsed): check_info["huawei_wlc_aps.temp"] = LegacyCheckDefinition( + name="huawei_wlc_aps_temp", service_name="AP %s Temperature", sections=["huawei_wlc_aps"], discovery_function=discovery_huawei_wlc_aps_temp, diff --git a/cmk/base/legacy_checks/huawei_wlc_devs.py b/cmk/base/legacy_checks/huawei_wlc_devs.py index 1f05c043037..453f4d7b955 100644 --- a/cmk/base/legacy_checks/huawei_wlc_devs.py +++ b/cmk/base/legacy_checks/huawei_wlc_devs.py @@ -28,6 +28,7 @@ def parse_huawei_wlc_devs(string_table): check_info["huawei_wlc_devs"] = LegacyCheckDefinition( + name="huawei_wlc_devs", detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2011.2.240.17"), fetch=SNMPTree( base=".1.3.6.1.4.1.2011.5.25.31.1.1", @@ -59,6 +60,7 @@ def check_huawei_wlc_devs_mem(item, params, parsed): check_info["huawei_wlc_devs.mem"] = LegacyCheckDefinition( + name="huawei_wlc_devs_mem", service_name="Device %s Memory", sections=["huawei_wlc_devs"], discovery_function=discovery_huawei_wlc_devs_mem, @@ -85,6 +87,7 @@ def check_huawei_wlc_devs_cpu(item, params, parsed): check_info["huawei_wlc_devs.cpu"] = LegacyCheckDefinition( + name="huawei_wlc_devs_cpu", service_name="Device %s CPU", sections=["huawei_wlc_devs"], discovery_function=discovery_huawei_wlc_devs_cpu, diff --git a/cmk/base/legacy_checks/hwg_humidity.py b/cmk/base/legacy_checks/hwg_humidity.py index 7b670823889..601b4efe5d0 100644 --- a/cmk/base/legacy_checks/hwg_humidity.py +++ b/cmk/base/legacy_checks/hwg_humidity.py @@ -30,6 +30,7 @@ def check_hwg_humidity(item, params, parsed): check_info["hwg_humidity"] = LegacyCheckDefinition( + name="hwg_humidity", detect=contains(".1.3.6.1.2.1.1.1.0", "hwg"), fetch=SNMPTree( base=".1.3.6.1.4.1.21796.4.1.3.1", @@ -44,6 +45,7 @@ def check_hwg_humidity(item, params, parsed): ) check_info["hwg_ste2.humidity"] = LegacyCheckDefinition( + name="hwg_ste2_humidity", service_name="Humidity %s", sections=["hwg_ste2"], discovery_function=inventory_hwg_humidity, diff --git a/cmk/base/legacy_checks/hwg_temp.py b/cmk/base/legacy_checks/hwg_temp.py index fa4c23c84fe..9877b6c5390 100644 --- a/cmk/base/legacy_checks/hwg_temp.py +++ b/cmk/base/legacy_checks/hwg_temp.py @@ -53,6 +53,7 @@ def check_hwg_temp(item, params, parsed): check_info["hwg_temp"] = LegacyCheckDefinition( + name="hwg_temp", detect=contains(".1.3.6.1.2.1.1.1.0", "hwg"), fetch=SNMPTree( base=".1.3.6.1.4.1.21796.4.1.3.1", @@ -67,6 +68,7 @@ def check_hwg_temp(item, params, parsed): ) check_info["hwg_ste2"] = LegacyCheckDefinition( + name="hwg_ste2", detect=contains(".1.3.6.1.2.1.1.1.0", "STE2"), fetch=SNMPTree( base=".1.3.6.1.4.1.21796.4.9.3.1", diff --git a/cmk/base/legacy_checks/hyperv_checkpoints.py b/cmk/base/legacy_checks/hyperv_checkpoints.py index 41a7d6aa9a7..4f918232320 100644 --- a/cmk/base/legacy_checks/hyperv_checkpoints.py +++ b/cmk/base/legacy_checks/hyperv_checkpoints.py @@ -52,6 +52,7 @@ def parse_hyperv_checkpoints(string_table: StringTable) -> StringTable: check_info["hyperv_checkpoints"] = LegacyCheckDefinition( + name="hyperv_checkpoints", parse_function=parse_hyperv_checkpoints, service_name="HyperV Checkpoints", discovery_function=inventory_hyperv_checkpoints, diff --git a/cmk/base/legacy_checks/hyperv_vms.py b/cmk/base/legacy_checks/hyperv_vms.py index 3fa268b27c2..f0e3964012b 100644 --- a/cmk/base/legacy_checks/hyperv_vms.py +++ b/cmk/base/legacy_checks/hyperv_vms.py @@ -170,6 +170,7 @@ def check_hyperv_vms(item, params, parsed): } check_info["hyperv_vms"] = LegacyCheckDefinition( + name="hyperv_vms", parse_function=parse_hyperv_vms, service_name="VM %s", discovery_function=inventory_hyperv_vms, diff --git a/cmk/base/legacy_checks/hyperv_vmstatus.py b/cmk/base/legacy_checks/hyperv_vmstatus.py index bd8e8c95cfc..e56a94f7806 100644 --- a/cmk/base/legacy_checks/hyperv_vmstatus.py +++ b/cmk/base/legacy_checks/hyperv_vmstatus.py @@ -36,6 +36,7 @@ def check_hyperv_vmstatus(_no_item, _no_params, parsed): check_info["hyperv_vmstatus"] = LegacyCheckDefinition( + name="hyperv_vmstatus", parse_function=parse_hyperv_vmstatus, service_name="HyperV Status", discovery_function=discover_hyperv_vmstatus, diff --git a/cmk/base/legacy_checks/ibm_imm_fan.py b/cmk/base/legacy_checks/ibm_imm_fan.py index 5dfd1b02cad..58e5c58da4c 100644 --- a/cmk/base/legacy_checks/ibm_imm_fan.py +++ b/cmk/base/legacy_checks/ibm_imm_fan.py @@ -57,6 +57,7 @@ def parse_ibm_imm_fan(string_table: StringTable) -> StringTable: check_info["ibm_imm_fan"] = LegacyCheckDefinition( + name="ibm_imm_fan", parse_function=parse_ibm_imm_fan, detect=DETECT_IBM_IMM, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ibm_imm_health.py b/cmk/base/legacy_checks/ibm_imm_health.py index 3ad2ef5cc76..5908de43ec2 100644 --- a/cmk/base/legacy_checks/ibm_imm_health.py +++ b/cmk/base/legacy_checks/ibm_imm_health.py @@ -47,6 +47,7 @@ def parse_ibm_imm_health(string_table: StringTable) -> StringTable: check_info["ibm_imm_health"] = LegacyCheckDefinition( + name="ibm_imm_health", parse_function=parse_ibm_imm_health, detect=DETECT_IBM_IMM, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ibm_imm_voltage.py b/cmk/base/legacy_checks/ibm_imm_voltage.py index d3ff436f551..70003118ca2 100644 --- a/cmk/base/legacy_checks/ibm_imm_voltage.py +++ b/cmk/base/legacy_checks/ibm_imm_voltage.py @@ -50,6 +50,7 @@ def parse_ibm_imm_voltage(string_table: StringTable) -> StringTable: check_info["ibm_imm_voltage"] = LegacyCheckDefinition( + name="ibm_imm_voltage", parse_function=parse_ibm_imm_voltage, detect=DETECT_IBM_IMM, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ibm_mq_channels.py b/cmk/base/legacy_checks/ibm_mq_channels.py index 01dd272fd95..d8c29797ce4 100644 --- a/cmk/base/legacy_checks/ibm_mq_channels.py +++ b/cmk/base/legacy_checks/ibm_mq_channels.py @@ -76,6 +76,7 @@ def check_ibm_mq_channels(item, params, parsed): check_info["ibm_mq_channels"] = LegacyCheckDefinition( + name="ibm_mq_channels", service_name="IBM MQ Channel %s", discovery_function=inventory_ibm_mq_channels, check_function=check_ibm_mq_channels, diff --git a/cmk/base/legacy_checks/ibm_mq_managers.py b/cmk/base/legacy_checks/ibm_mq_managers.py index 0d2168752e7..bedc5496a43 100644 --- a/cmk/base/legacy_checks/ibm_mq_managers.py +++ b/cmk/base/legacy_checks/ibm_mq_managers.py @@ -118,6 +118,7 @@ def check_ibm_mq_managers(item, params, parsed): # pylint: disable=too-many-bra check_info["ibm_mq_managers"] = LegacyCheckDefinition( + name="ibm_mq_managers", service_name="IBM MQ Manager %s", discovery_function=inventory_ibm_mq_managers, check_function=check_ibm_mq_managers, diff --git a/cmk/base/legacy_checks/ibm_mq_plugin.py b/cmk/base/legacy_checks/ibm_mq_plugin.py index 9c4608a6150..b9bc680348d 100644 --- a/cmk/base/legacy_checks/ibm_mq_plugin.py +++ b/cmk/base/legacy_checks/ibm_mq_plugin.py @@ -50,6 +50,7 @@ def check_ibm_mq_plugin(_no_item, params, parsed): check_info["ibm_mq_plugin"] = LegacyCheckDefinition( + name="ibm_mq_plugin", parse_function=parse_ibm_mq_plugin, service_name="IBM MQ Plugin", discovery_function=inventory_ibm_mq_plugin, diff --git a/cmk/base/legacy_checks/ibm_mq_queues.py b/cmk/base/legacy_checks/ibm_mq_queues.py index b79f103acf8..ba9f747558f 100644 --- a/cmk/base/legacy_checks/ibm_mq_queues.py +++ b/cmk/base/legacy_checks/ibm_mq_queues.py @@ -189,6 +189,7 @@ def ibm_mq_get_qtime(qtime, label, key): check_info["ibm_mq_queues"] = LegacyCheckDefinition( + name="ibm_mq_queues", service_name="IBM MQ Queue %s", discovery_function=inventory_ibm_mq_queues, check_function=check_ibm_mq_queues, diff --git a/cmk/base/legacy_checks/ibm_rsa_health.py b/cmk/base/legacy_checks/ibm_rsa_health.py index 9980611d4d7..f2d56833a0f 100644 --- a/cmk/base/legacy_checks/ibm_rsa_health.py +++ b/cmk/base/legacy_checks/ibm_rsa_health.py @@ -53,6 +53,7 @@ def parse_ibm_rsa_health(string_table: StringTable) -> StringTable: check_info["ibm_rsa_health"] = LegacyCheckDefinition( + name="ibm_rsa_health", parse_function=parse_ibm_rsa_health, detect=contains(".1.3.6.1.2.1.1.1.0", "Remote Supervisor Adapter"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ibm_storage_ts.py b/cmk/base/legacy_checks/ibm_storage_ts.py index 50fd3f33af8..380141eadae 100644 --- a/cmk/base/legacy_checks/ibm_storage_ts.py +++ b/cmk/base/legacy_checks/ibm_storage_ts.py @@ -26,6 +26,7 @@ def parse_ibm_storage_ts(string_table: Sequence[StringTable]) -> Sequence[String check_info["ibm_storage_ts"] = LegacyCheckDefinition( + name="ibm_storage_ts", parse_function=parse_ibm_storage_ts, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2.6.210"), fetch=[ @@ -86,6 +87,7 @@ def check_ibm_storage_ts_status(_no_item, _no_params, info): check_info["ibm_storage_ts.status"] = LegacyCheckDefinition( + name="ibm_storage_ts_status", service_name="Status", sections=["ibm_storage_ts"], discovery_function=inventory_ibm_storage_ts_status, @@ -120,6 +122,7 @@ def worst_status(*args): check_info["ibm_storage_ts.library"] = LegacyCheckDefinition( + name="ibm_storage_ts_library", service_name="Library %s", sections=["ibm_storage_ts"], discovery_function=inventory_ibm_storage_ts_library, @@ -149,6 +152,7 @@ def check_ibm_storage_ts_drive(item, params, info): check_info["ibm_storage_ts.drive"] = LegacyCheckDefinition( + name="ibm_storage_ts_drive", service_name="Drive %s", sections=["ibm_storage_ts"], discovery_function=inventory_ibm_storage_ts_drive, diff --git a/cmk/base/legacy_checks/ibm_svc_array.py b/cmk/base/legacy_checks/ibm_svc_array.py index 8fce8d93784..ca10713cd8c 100644 --- a/cmk/base/legacy_checks/ibm_svc_array.py +++ b/cmk/base/legacy_checks/ibm_svc_array.py @@ -70,6 +70,7 @@ def discover_ibm_svc_array(section): check_info["ibm_svc_array"] = LegacyCheckDefinition( + name="ibm_svc_array", parse_function=parse_ibm_svc_array, service_name="RAID Array %s", discovery_function=discover_ibm_svc_array, diff --git a/cmk/base/legacy_checks/ibm_svc_disks.py b/cmk/base/legacy_checks/ibm_svc_disks.py index 5230f2446ae..3bd49da42a6 100644 --- a/cmk/base/legacy_checks/ibm_svc_disks.py +++ b/cmk/base/legacy_checks/ibm_svc_disks.py @@ -105,6 +105,7 @@ def check_ibm_svc_disks(_no_item, params, parsed): check_info["ibm_svc_disks"] = LegacyCheckDefinition( + name="ibm_svc_disks", parse_function=parse_ibm_svc_disks, service_name="Disk Summary", discovery_function=discover_ibm_svc_disks, diff --git a/cmk/base/legacy_checks/ibm_svc_enclosure.py b/cmk/base/legacy_checks/ibm_svc_enclosure.py index 93842df78f8..ac39afcd686 100644 --- a/cmk/base/legacy_checks/ibm_svc_enclosure.py +++ b/cmk/base/legacy_checks/ibm_svc_enclosure.py @@ -100,6 +100,7 @@ def discover_ibm_svc_enclosure(section): check_info["ibm_svc_enclosure"] = LegacyCheckDefinition( + name="ibm_svc_enclosure", parse_function=parse_ibm_svc_enclosure, service_name="Enclosure %s", discovery_function=discover_ibm_svc_enclosure, diff --git a/cmk/base/legacy_checks/ibm_svc_enclosurestats.py b/cmk/base/legacy_checks/ibm_svc_enclosurestats.py index 72cef16632b..c9b25ece668 100644 --- a/cmk/base/legacy_checks/ibm_svc_enclosurestats.py +++ b/cmk/base/legacy_checks/ibm_svc_enclosurestats.py @@ -47,6 +47,7 @@ def parse_ibm_svc_enclosurestats(info): check_info["ibm_svc_enclosurestats"] = LegacyCheckDefinition( + name="ibm_svc_enclosurestats", parse_function=parse_ibm_svc_enclosurestats, ) @@ -74,6 +75,7 @@ def check_ibm_svc_enclosurestats_temp(item, params, section): check_info["ibm_svc_enclosurestats.temp"] = LegacyCheckDefinition( + name="ibm_svc_enclosurestats_temp", service_name="Temperature Enclosure %s", sections=["ibm_svc_enclosurestats"], discovery_function=inventory_ibm_svc_enclosurestats_temp, @@ -108,6 +110,7 @@ def check_ibm_svc_enclosurestats_power(item, _no_params, section): check_info["ibm_svc_enclosurestats.power"] = LegacyCheckDefinition( + name="ibm_svc_enclosurestats_power", service_name="Power Enclosure %s", sections=["ibm_svc_enclosurestats"], discovery_function=inventory_ibm_svc_enclosurestats_power, diff --git a/cmk/base/legacy_checks/ibm_svc_eventlog.py b/cmk/base/legacy_checks/ibm_svc_eventlog.py index a4ba8e9ad99..9c03e57512b 100644 --- a/cmk/base/legacy_checks/ibm_svc_eventlog.py +++ b/cmk/base/legacy_checks/ibm_svc_eventlog.py @@ -60,6 +60,7 @@ def parse_ibm_svc_eventlog(string_table: StringTable) -> StringTable: check_info["ibm_svc_eventlog"] = LegacyCheckDefinition( + name="ibm_svc_eventlog", parse_function=parse_ibm_svc_eventlog, service_name="Eventlog", discovery_function=inventory_ibm_svc_eventlog, diff --git a/cmk/base/legacy_checks/ibm_svc_host.py b/cmk/base/legacy_checks/ibm_svc_host.py index b59278ac02e..0ec945bc8bd 100644 --- a/cmk/base/legacy_checks/ibm_svc_host.py +++ b/cmk/base/legacy_checks/ibm_svc_host.py @@ -111,6 +111,7 @@ def check_ibm_svc_host(item, params, parsed): # pylint: disable=too-many-branch check_info["ibm_svc_host"] = LegacyCheckDefinition( + name="ibm_svc_host", parse_function=parse_ibm_svc_host, service_name="Hosts", discovery_function=discover_ibm_svc_host, diff --git a/cmk/base/legacy_checks/ibm_svc_license.py b/cmk/base/legacy_checks/ibm_svc_license.py index 039fd71a4c4..126acdbec07 100644 --- a/cmk/base/legacy_checks/ibm_svc_license.py +++ b/cmk/base/legacy_checks/ibm_svc_license.py @@ -56,6 +56,7 @@ def check_ibm_svc_license(item, params, parsed): check_info["ibm_svc_license"] = LegacyCheckDefinition( + name="ibm_svc_license", parse_function=parse_ibm_svc_license, service_name="License %s", discovery_function=inventory_ibm_svc_license, diff --git a/cmk/base/legacy_checks/ibm_svc_mdisk.py b/cmk/base/legacy_checks/ibm_svc_mdisk.py index 339991a5992..fda1d17ab66 100644 --- a/cmk/base/legacy_checks/ibm_svc_mdisk.py +++ b/cmk/base/legacy_checks/ibm_svc_mdisk.py @@ -69,6 +69,7 @@ def check_ibm_svc_mdisk(item, params, parsed): check_info["ibm_svc_mdisk"] = LegacyCheckDefinition( + name="ibm_svc_mdisk", parse_function=parse_ibm_svc_mdisk, service_name="MDisk %s", discovery_function=inventory_ibm_svc_mdisk, diff --git a/cmk/base/legacy_checks/ibm_svc_mdiskgrp.py b/cmk/base/legacy_checks/ibm_svc_mdiskgrp.py index 2b0b21662df..56b61670dc3 100644 --- a/cmk/base/legacy_checks/ibm_svc_mdiskgrp.py +++ b/cmk/base/legacy_checks/ibm_svc_mdiskgrp.py @@ -158,6 +158,7 @@ def check_ibm_svc_mdiskgrp(item, params, parsed): check_info["ibm_svc_mdiskgrp"] = LegacyCheckDefinition( + name="ibm_svc_mdiskgrp", parse_function=parse_ibm_svc_mdiskgrp, service_name="Pool Capacity %s", discovery_function=inventory_ibm_svc_mdiskgrp, diff --git a/cmk/base/legacy_checks/ibm_svc_node.py b/cmk/base/legacy_checks/ibm_svc_node.py index 037d84e8830..7898e35bdd1 100644 --- a/cmk/base/legacy_checks/ibm_svc_node.py +++ b/cmk/base/legacy_checks/ibm_svc_node.py @@ -84,6 +84,7 @@ def discover_ibm_svc_node(section): check_info["ibm_svc_node"] = LegacyCheckDefinition( + name="ibm_svc_node", parse_function=parse_ibm_svc_node, service_name="IO Group %s", discovery_function=discover_ibm_svc_node, diff --git a/cmk/base/legacy_checks/ibm_svc_nodestats.py b/cmk/base/legacy_checks/ibm_svc_nodestats.py index 9493dca56d8..91d1ae0455e 100644 --- a/cmk/base/legacy_checks/ibm_svc_nodestats.py +++ b/cmk/base/legacy_checks/ibm_svc_nodestats.py @@ -159,6 +159,7 @@ def parse_ibm_svc_nodestats(info): check_info["ibm_svc_nodestats"] = LegacyCheckDefinition( + name="ibm_svc_nodestats", parse_function=parse_ibm_svc_nodestats, ) @@ -197,6 +198,7 @@ def check_ibm_svc_nodestats_diskio(item, _no_params, section): check_info["ibm_svc_nodestats.diskio"] = LegacyCheckDefinition( + name="ibm_svc_nodestats_diskio", service_name="Disk IO %s", sections=["ibm_svc_nodestats"], discovery_function=inventory_ibm_svc_nodestats_diskio, @@ -235,6 +237,7 @@ def check_ibm_svc_nodestats_iops(item, _no_params, section): check_info["ibm_svc_nodestats.iops"] = LegacyCheckDefinition( + name="ibm_svc_nodestats_iops", service_name="Disk IOPS %s", sections=["ibm_svc_nodestats"], discovery_function=inventory_ibm_svc_nodestats_iops, @@ -273,6 +276,7 @@ def check_ibm_svc_nodestats_disk_latency(item, _no_params, section): check_info["ibm_svc_nodestats.disk_latency"] = LegacyCheckDefinition( + name="ibm_svc_nodestats_disk_latency", service_name="Disk Latency %s", sections=["ibm_svc_nodestats"], discovery_function=inventory_ibm_svc_nodestats_disk_latency, @@ -303,6 +307,7 @@ def check_ibm_svc_nodestats_cpu(item, params, section): check_info["ibm_svc_nodestats.cpu_util"] = LegacyCheckDefinition( + name="ibm_svc_nodestats_cpu_util", service_name="CPU utilization %s", sections=["ibm_svc_nodestats"], discovery_function=inventory_ibm_svc_nodestats_cpu, @@ -350,6 +355,7 @@ def check_ibm_svc_nodestats_cache(item, _no_params, section): check_info["ibm_svc_nodestats.cache"] = LegacyCheckDefinition( + name="ibm_svc_nodestats_cache", service_name="Cache %s", sections=["ibm_svc_nodestats"], discovery_function=inventory_ibm_svc_nodestats_cache, diff --git a/cmk/base/legacy_checks/ibm_svc_portfc.py b/cmk/base/legacy_checks/ibm_svc_portfc.py index 3c35cf4be29..c7ae70a2a36 100644 --- a/cmk/base/legacy_checks/ibm_svc_portfc.py +++ b/cmk/base/legacy_checks/ibm_svc_portfc.py @@ -96,6 +96,7 @@ def check_ibm_svc_portfc(item, _no_params, parsed): check_info["ibm_svc_portfc"] = LegacyCheckDefinition( + name="ibm_svc_portfc", parse_function=parse_ibm_svc_portfc, service_name="FC %s", discovery_function=inventory_ibm_svc_portfc, diff --git a/cmk/base/legacy_checks/ibm_svc_portsas.py b/cmk/base/legacy_checks/ibm_svc_portsas.py index 2e9989829dc..0ad9bc7cfc7 100644 --- a/cmk/base/legacy_checks/ibm_svc_portsas.py +++ b/cmk/base/legacy_checks/ibm_svc_portsas.py @@ -91,6 +91,7 @@ def check_ibm_svc_portsas(item, params, parsed): check_info["ibm_svc_portsas"] = LegacyCheckDefinition( + name="ibm_svc_portsas", parse_function=parse_ibm_svc_portsas, service_name="SAS %s", discovery_function=inventory_ibm_svc_portsas, diff --git a/cmk/base/legacy_checks/ibm_svc_system.py b/cmk/base/legacy_checks/ibm_svc_system.py index 75068be99f7..c2b82c1aa3c 100644 --- a/cmk/base/legacy_checks/ibm_svc_system.py +++ b/cmk/base/legacy_checks/ibm_svc_system.py @@ -100,6 +100,7 @@ def parse_ibm_svc_system(string_table: StringTable) -> StringTable: check_info["ibm_svc_system"] = LegacyCheckDefinition( + name="ibm_svc_system", parse_function=parse_ibm_svc_system, service_name="Info", discovery_function=inventory_ibm_svc_system, diff --git a/cmk/base/legacy_checks/ibm_tl_changer_devices.py b/cmk/base/legacy_checks/ibm_tl_changer_devices.py index b5ff1b2352c..2fee16a2d76 100644 --- a/cmk/base/legacy_checks/ibm_tl_changer_devices.py +++ b/cmk/base/legacy_checks/ibm_tl_changer_devices.py @@ -34,6 +34,7 @@ def parse_ibm_tl_changer_devices(string_table: StringTable) -> StringTable: check_info["ibm_tl_changer_devices"] = LegacyCheckDefinition( + name="ibm_tl_changer_devices", parse_function=parse_ibm_tl_changer_devices, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.32925.1"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ibm_tl_media_access_devices.py b/cmk/base/legacy_checks/ibm_tl_media_access_devices.py index 02f8bbce86b..3317af4e0e3 100644 --- a/cmk/base/legacy_checks/ibm_tl_media_access_devices.py +++ b/cmk/base/legacy_checks/ibm_tl_media_access_devices.py @@ -76,6 +76,7 @@ def check_ibm_tl_media_access_devices(item, params, parsed): check_info["ibm_tl_media_access_devices"] = LegacyCheckDefinition( + name="ibm_tl_media_access_devices", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.32925.1"), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/ibm_xraid_pdisks.py b/cmk/base/legacy_checks/ibm_xraid_pdisks.py index 4440bbfff93..e8ce8918198 100644 --- a/cmk/base/legacy_checks/ibm_xraid_pdisks.py +++ b/cmk/base/legacy_checks/ibm_xraid_pdisks.py @@ -47,6 +47,7 @@ def check_ibm_xraid_pdisks(item, _no_params, section): check_info["ibm_xraid_pdisks"] = LegacyCheckDefinition( + name="ibm_xraid_pdisks", detect=all_of( any_of( equals(".1.3.6.1.2.1.1.1.0", "software: windows"), equals(".1.3.6.1.2.1.1.1.0", "linux") diff --git a/cmk/base/legacy_checks/icom_repeater.py b/cmk/base/legacy_checks/icom_repeater.py index 8e2a2c09c00..e9f83a93ade 100644 --- a/cmk/base/legacy_checks/icom_repeater.py +++ b/cmk/base/legacy_checks/icom_repeater.py @@ -107,6 +107,7 @@ def check_icom_repeater_ps_volt(_no_item, params, parsed): check_info["icom_repeater.ps_volt"] = LegacyCheckDefinition( + name="icom_repeater_ps_volt", service_name="Power Supply Voltage", sections=["icom_repeater"], discovery_function=inventory_icom_repeater_ps_volt, @@ -174,6 +175,7 @@ def check_icom_repeater_pll_volt(item, params, parsed): check_info["icom_repeater.pll_volt"] = LegacyCheckDefinition( + name="icom_repeater_pll_volt", service_name="%s PLL Lock Voltage", sections=["icom_repeater"], discovery_function=inventory_icom_repeater_pll_volt, @@ -211,6 +213,7 @@ def check_icom_repeater_temp(_no_item, params, parsed): check_info["icom_repeater.temp"] = LegacyCheckDefinition( + name="icom_repeater_temp", service_name="Temperature %s", sections=["icom_repeater"], discovery_function=inventory_icom_repeater_temp, @@ -254,6 +257,7 @@ def check_icom_repeater(_no_item, _no_params, parsed): check_info["icom_repeater"] = LegacyCheckDefinition( + name="icom_repeater", detect=contains(".1.3.6.1.2.1.1.1.0", "fr5000"), fetch=SNMPTree( base=".1.3.6.1.4.1.2021.8.1", diff --git a/cmk/base/legacy_checks/infoblox_dhcp_stats.py b/cmk/base/legacy_checks/infoblox_dhcp_stats.py index e2d722f7e4d..a793017e343 100644 --- a/cmk/base/legacy_checks/infoblox_dhcp_stats.py +++ b/cmk/base/legacy_checks/infoblox_dhcp_stats.py @@ -52,6 +52,7 @@ def parse_infoblox_dhcp_stats(string_table: StringTable) -> StringTable | None: check_info["infoblox_dhcp_stats"] = LegacyCheckDefinition( + name="infoblox_dhcp_stats", parse_function=parse_infoblox_dhcp_stats, detect=DETECT_INFOBLOX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/infoblox_dns_stats.py b/cmk/base/legacy_checks/infoblox_dns_stats.py index c9345b1dc80..0f90f0ee804 100644 --- a/cmk/base/legacy_checks/infoblox_dns_stats.py +++ b/cmk/base/legacy_checks/infoblox_dns_stats.py @@ -42,6 +42,7 @@ def parse_infoblox_dns_stats(string_table: StringTable) -> StringTable | None: check_info["infoblox_dns_stats"] = LegacyCheckDefinition( + name="infoblox_dns_stats", parse_function=parse_infoblox_dns_stats, detect=DETECT_INFOBLOX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/infoblox_grid_status.py b/cmk/base/legacy_checks/infoblox_grid_status.py index 6830d315ffb..6a97fb3b156 100644 --- a/cmk/base/legacy_checks/infoblox_grid_status.py +++ b/cmk/base/legacy_checks/infoblox_grid_status.py @@ -33,6 +33,7 @@ def parse_infoblox_grid_status(string_table: StringTable) -> StringTable | None: check_info["infoblox_grid_status"] = LegacyCheckDefinition( + name="infoblox_grid_status", parse_function=parse_infoblox_grid_status, detect=DETECT_INFOBLOX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/infoblox_replication_status.py b/cmk/base/legacy_checks/infoblox_replication_status.py index 54410d2f433..ebd2ca77d76 100644 --- a/cmk/base/legacy_checks/infoblox_replication_status.py +++ b/cmk/base/legacy_checks/infoblox_replication_status.py @@ -58,6 +58,7 @@ def parse_infoblox_replication_status(string_table: StringTable) -> StringTable: check_info["infoblox_replication_status"] = LegacyCheckDefinition( + name="infoblox_replication_status", parse_function=parse_infoblox_replication_status, detect=DETECT_INFOBLOX, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/informix_dbspaces.py b/cmk/base/legacy_checks/informix_dbspaces.py index 7549aa2ef11..d12d1426535 100644 --- a/cmk/base/legacy_checks/informix_dbspaces.py +++ b/cmk/base/legacy_checks/informix_dbspaces.py @@ -88,6 +88,7 @@ def check_informix_dbspaces(item, params, parsed): check_info["informix_dbspaces"] = LegacyCheckDefinition( + name="informix_dbspaces", parse_function=parse_informix_dbspaces, service_name="Informix Tablespace %s", discovery_function=inventory_informix_dbspaces, diff --git a/cmk/base/legacy_checks/informix_locks.py b/cmk/base/legacy_checks/informix_locks.py index 47360e78e09..d70b9f56e2f 100644 --- a/cmk/base/legacy_checks/informix_locks.py +++ b/cmk/base/legacy_checks/informix_locks.py @@ -45,6 +45,7 @@ def check_informix_locks(item, params, parsed): check_info["informix_locks"] = LegacyCheckDefinition( + name="informix_locks", parse_function=parse_informix_locks, service_name="Informix Locks %s", discovery_function=inventory_informix_locks, diff --git a/cmk/base/legacy_checks/informix_logusage.py b/cmk/base/legacy_checks/informix_logusage.py index 253571f917c..cf71fb72896 100644 --- a/cmk/base/legacy_checks/informix_logusage.py +++ b/cmk/base/legacy_checks/informix_logusage.py @@ -98,6 +98,7 @@ def check_informix_logusage(item, params, parsed): check_info["informix_logusage"] = LegacyCheckDefinition( + name="informix_logusage", parse_function=parse_informix_logusage, service_name="Informix Log Usage %s", discovery_function=inventory_informix_logusage, diff --git a/cmk/base/legacy_checks/informix_sessions.py b/cmk/base/legacy_checks/informix_sessions.py index 6706cc176f6..d97379f29d4 100644 --- a/cmk/base/legacy_checks/informix_sessions.py +++ b/cmk/base/legacy_checks/informix_sessions.py @@ -46,6 +46,7 @@ def check_informix_sessions(item, params, parsed): check_info["informix_sessions"] = LegacyCheckDefinition( + name="informix_sessions", parse_function=parse_informix_sessions, service_name="Informix Sessions %s", discovery_function=inventory_informix_sessions, diff --git a/cmk/base/legacy_checks/informix_status.py b/cmk/base/legacy_checks/informix_status.py index 5eb2316ec57..0fef3c87537 100644 --- a/cmk/base/legacy_checks/informix_status.py +++ b/cmk/base/legacy_checks/informix_status.py @@ -60,6 +60,7 @@ def check_informix_status(item, params, parsed): check_info["informix_status"] = LegacyCheckDefinition( + name="informix_status", parse_function=parse_informix_status, service_name="Informix Instance %s", discovery_function=inventory_informix_status, diff --git a/cmk/base/legacy_checks/informix_tabextents.py b/cmk/base/legacy_checks/informix_tabextents.py index 9a4a800d51b..286fb59da0f 100644 --- a/cmk/base/legacy_checks/informix_tabextents.py +++ b/cmk/base/legacy_checks/informix_tabextents.py @@ -65,6 +65,7 @@ def check_informix_tabextents(item, params, parsed): check_info["informix_tabextents"] = LegacyCheckDefinition( + name="informix_tabextents", parse_function=parse_informix_tabextents, service_name="Informix Table Extents %s", discovery_function=inventory_informix_tabextents, diff --git a/cmk/base/legacy_checks/innovaphone_channels.py b/cmk/base/legacy_checks/innovaphone_channels.py index c11613f6155..8f9c6c70913 100644 --- a/cmk/base/legacy_checks/innovaphone_channels.py +++ b/cmk/base/legacy_checks/innovaphone_channels.py @@ -35,6 +35,7 @@ def parse_innovaphone_channels(string_table: StringTable) -> StringTable: check_info["innovaphone_channels"] = LegacyCheckDefinition( + name="innovaphone_channels", parse_function=parse_innovaphone_channels, service_name="Channel %s", discovery_function=discover_innovaphone_channels, diff --git a/cmk/base/legacy_checks/innovaphone_cpu.py b/cmk/base/legacy_checks/innovaphone_cpu.py index f110d65827b..cf55cfe3a7a 100644 --- a/cmk/base/legacy_checks/innovaphone_cpu.py +++ b/cmk/base/legacy_checks/innovaphone_cpu.py @@ -38,6 +38,7 @@ def parse_innovaphone_cpu(string_table: StringTable) -> StringTable: check_info["innovaphone_cpu"] = LegacyCheckDefinition( + name="innovaphone_cpu", parse_function=parse_innovaphone_cpu, service_name="CPU utilization", discovery_function=inventory_innovaphone_cpu, diff --git a/cmk/base/legacy_checks/innovaphone_licenses.py b/cmk/base/legacy_checks/innovaphone_licenses.py index f976d353538..6b2baa6ced3 100644 --- a/cmk/base/legacy_checks/innovaphone_licenses.py +++ b/cmk/base/legacy_checks/innovaphone_licenses.py @@ -49,6 +49,7 @@ def parse_innovaphone_licenses(string_table: StringTable) -> StringTable: check_info["innovaphone_licenses"] = LegacyCheckDefinition( + name="innovaphone_licenses", parse_function=parse_innovaphone_licenses, service_name="Licenses", discovery_function=discover_innovaphone_licenses, diff --git a/cmk/base/legacy_checks/innovaphone_mem.py b/cmk/base/legacy_checks/innovaphone_mem.py index 6d1eeb4a1ba..47ce06b0532 100644 --- a/cmk/base/legacy_checks/innovaphone_mem.py +++ b/cmk/base/legacy_checks/innovaphone_mem.py @@ -29,6 +29,7 @@ def parse_innovaphone_mem(string_table: StringTable) -> StringTable: check_info["innovaphone_mem"] = LegacyCheckDefinition( + name="innovaphone_mem", parse_function=parse_innovaphone_mem, service_name="Memory", discovery_function=inventory_innovaphone_mem, diff --git a/cmk/base/legacy_checks/innovaphone_priports_l1.py b/cmk/base/legacy_checks/innovaphone_priports_l1.py index a1e33598ee3..39c248dfefb 100644 --- a/cmk/base/legacy_checks/innovaphone_priports_l1.py +++ b/cmk/base/legacy_checks/innovaphone_priports_l1.py @@ -72,6 +72,7 @@ def check_innovaphone_priports_l1(item, params, parsed): check_info["innovaphone_priports_l1"] = LegacyCheckDefinition( + name="innovaphone_priports_l1", detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.6666"), fetch=SNMPTree( base=".1.3.6.1.4.1.6666.1.2.1", diff --git a/cmk/base/legacy_checks/innovaphone_priports_l2.py b/cmk/base/legacy_checks/innovaphone_priports_l2.py index 7a394ea5a13..b63d1eb8046 100644 --- a/cmk/base/legacy_checks/innovaphone_priports_l2.py +++ b/cmk/base/legacy_checks/innovaphone_priports_l2.py @@ -70,6 +70,7 @@ def parse_innovaphone_priports_l2(string_table: StringTable) -> StringTable: check_info["innovaphone_priports_l2"] = LegacyCheckDefinition( + name="innovaphone_priports_l2", parse_function=parse_innovaphone_priports_l2, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.6666"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/innovaphone_temp.py b/cmk/base/legacy_checks/innovaphone_temp.py index c4280b09d13..94a869298de 100644 --- a/cmk/base/legacy_checks/innovaphone_temp.py +++ b/cmk/base/legacy_checks/innovaphone_temp.py @@ -24,6 +24,7 @@ def parse_innovaphone_temp(string_table: StringTable) -> StringTable: check_info["innovaphone_temp"] = LegacyCheckDefinition( + name="innovaphone_temp", parse_function=parse_innovaphone_temp, service_name="Temperature %s", discovery_function=inventory_innovaphone_temp, diff --git a/cmk/base/legacy_checks/intel_true_scale_chassis_temp.py b/cmk/base/legacy_checks/intel_true_scale_chassis_temp.py index e0a27ef24a2..72814f906a9 100644 --- a/cmk/base/legacy_checks/intel_true_scale_chassis_temp.py +++ b/cmk/base/legacy_checks/intel_true_scale_chassis_temp.py @@ -48,6 +48,7 @@ def parse_intel_true_scale_chassis_temp(string_table: StringTable) -> StringTabl check_info["intel_true_scale_chassis_temp"] = LegacyCheckDefinition( + name="intel_true_scale_chassis_temp", parse_function=parse_intel_true_scale_chassis_temp, detect=DETECT_INTEL_TRUE_SCALE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/intel_true_scale_fans.py b/cmk/base/legacy_checks/intel_true_scale_fans.py index 28811ba9e63..1fe207bcbea 100644 --- a/cmk/base/legacy_checks/intel_true_scale_fans.py +++ b/cmk/base/legacy_checks/intel_true_scale_fans.py @@ -82,6 +82,7 @@ def parse_intel_true_scale_fans(string_table: StringTable) -> StringTable: check_info["intel_true_scale_fans"] = LegacyCheckDefinition( + name="intel_true_scale_fans", parse_function=parse_intel_true_scale_fans, detect=DETECT_INTEL_TRUE_SCALE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/intel_true_scale_psus.py b/cmk/base/legacy_checks/intel_true_scale_psus.py index 617e6727bde..451092e8af7 100644 --- a/cmk/base/legacy_checks/intel_true_scale_psus.py +++ b/cmk/base/legacy_checks/intel_true_scale_psus.py @@ -89,6 +89,7 @@ def check_intel_true_scale_psus(item, params, parsed): check_info["intel_true_scale_psus"] = LegacyCheckDefinition( + name="intel_true_scale_psus", detect=DETECT_INTEL_TRUE_SCALE, fetch=SNMPTree( base=".1.3.6.1.4.1.10222.2.1.4.7.1", diff --git a/cmk/base/legacy_checks/intel_true_scale_sensors_temp.py b/cmk/base/legacy_checks/intel_true_scale_sensors_temp.py index a396869a337..fd1e1fdd49b 100644 --- a/cmk/base/legacy_checks/intel_true_scale_sensors_temp.py +++ b/cmk/base/legacy_checks/intel_true_scale_sensors_temp.py @@ -131,6 +131,7 @@ def check_intel_true_scale_sensors_temp(item, params, parsed): check_info["intel_true_scale_sensors_temp"] = LegacyCheckDefinition( + name="intel_true_scale_sensors_temp", detect=DETECT_INTEL_TRUE_SCALE, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/ipr400_in_voltage.py b/cmk/base/legacy_checks/ipr400_in_voltage.py index fe2702bfaf7..de2919dc80c 100644 --- a/cmk/base/legacy_checks/ipr400_in_voltage.py +++ b/cmk/base/legacy_checks/ipr400_in_voltage.py @@ -34,6 +34,7 @@ def parse_ipr400_in_voltage(string_table: StringTable) -> StringTable: check_info["ipr400_in_voltage"] = LegacyCheckDefinition( + name="ipr400_in_voltage", parse_function=parse_ipr400_in_voltage, detect=startswith(".1.3.6.1.2.1.1.1.0", "ipr voip device ipr400"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ipr400_temp.py b/cmk/base/legacy_checks/ipr400_temp.py index 30ab2f173ab..8548d3fcf09 100644 --- a/cmk/base/legacy_checks/ipr400_temp.py +++ b/cmk/base/legacy_checks/ipr400_temp.py @@ -25,6 +25,7 @@ def parse_ipr400_temp(string_table: StringTable) -> StringTable: check_info["ipr400_temp"] = LegacyCheckDefinition( + name="ipr400_temp", parse_function=parse_ipr400_temp, detect=startswith(".1.3.6.1.2.1.1.1.0", "ipr voip device ipr400"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/iptables.py b/cmk/base/legacy_checks/iptables.py index 14cb3b2ab15..289b691bce6 100644 --- a/cmk/base/legacy_checks/iptables.py +++ b/cmk/base/legacy_checks/iptables.py @@ -87,6 +87,7 @@ def check_iptables(_no_item, params, parsed): check_info["iptables"] = LegacyCheckDefinition( + name="iptables", parse_function=parse_iptables, service_name="Iptables", discovery_function=inventory_iptables, diff --git a/cmk/base/legacy_checks/ispro_sensors_digital.py b/cmk/base/legacy_checks/ispro_sensors_digital.py index 63a3b24ed91..b3343f310b5 100644 --- a/cmk/base/legacy_checks/ispro_sensors_digital.py +++ b/cmk/base/legacy_checks/ispro_sensors_digital.py @@ -54,6 +54,7 @@ def parse_ispro_sensors_digital(string_table: StringTable) -> StringTable: check_info["ispro_sensors_digital"] = LegacyCheckDefinition( + name="ispro_sensors_digital", parse_function=parse_ispro_sensors_digital, detect=DETECT_ISPRO_SENSORS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ispro_sensors_humid.py b/cmk/base/legacy_checks/ispro_sensors_humid.py index 7e602f66bcf..875317b38f3 100644 --- a/cmk/base/legacy_checks/ispro_sensors_humid.py +++ b/cmk/base/legacy_checks/ispro_sensors_humid.py @@ -33,6 +33,7 @@ def parse_ispro_sensors_humid(string_table: StringTable) -> StringTable: check_info["ispro_sensors_humid"] = LegacyCheckDefinition( + name="ispro_sensors_humid", parse_function=parse_ispro_sensors_humid, detect=DETECT_ISPRO_SENSORS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ispro_sensors_temp.py b/cmk/base/legacy_checks/ispro_sensors_temp.py index fd6818a5a1f..604e552cff8 100644 --- a/cmk/base/legacy_checks/ispro_sensors_temp.py +++ b/cmk/base/legacy_checks/ispro_sensors_temp.py @@ -46,6 +46,7 @@ def parse_ispro_sensors_temp(string_table: StringTable) -> StringTable: check_info["ispro_sensors_temp"] = LegacyCheckDefinition( + name="ispro_sensors_temp", parse_function=parse_ispro_sensors_temp, detect=DETECT_ISPRO_SENSORS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/janitza_umg.py b/cmk/base/legacy_checks/janitza_umg.py index c7bb3bde440..4d6ad0cecdf 100644 --- a/cmk/base/legacy_checks/janitza_umg.py +++ b/cmk/base/legacy_checks/janitza_umg.py @@ -104,6 +104,7 @@ def inventory_janitza_umg_inphase(parsed): check_info["janitza_umg"] = LegacyCheckDefinition( + name="janitza_umg", detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.34278.8.6"), equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.34278.10.1"), @@ -176,6 +177,7 @@ def check_janitza_umg_freq(item, params, parsed): check_info["janitza_umg.freq"] = LegacyCheckDefinition( + name="janitza_umg_freq", service_name="Frequency %s", sections=["janitza_umg"], discovery_function=inventory_janitza_umg_freq, @@ -203,6 +205,7 @@ def check_janitza_umg_temp(item, params, parsed): check_info["janitza_umg.temp"] = LegacyCheckDefinition( + name="janitza_umg_temp", service_name="Temperature External %s", sections=["janitza_umg"], discovery_function=inventory_janitza_umg_temp, diff --git a/cmk/base/legacy_checks/jar_signature.py b/cmk/base/legacy_checks/jar_signature.py index 47ee5f4a69e..7906af9b979 100644 --- a/cmk/base/legacy_checks/jar_signature.py +++ b/cmk/base/legacy_checks/jar_signature.py @@ -116,6 +116,7 @@ def parse_jar_signature(string_table: StringTable) -> StringTable: check_info["jar_signature"] = LegacyCheckDefinition( + name="jar_signature", parse_function=parse_jar_signature, service_name="Jar-Signature %s", discovery_function=inventory_jar_signature, diff --git a/cmk/base/legacy_checks/jira_custom_svc.py b/cmk/base/legacy_checks/jira_custom_svc.py index 739f2c7e06a..f024a0fcdfc 100644 --- a/cmk/base/legacy_checks/jira_custom_svc.py +++ b/cmk/base/legacy_checks/jira_custom_svc.py @@ -124,6 +124,7 @@ def discover_jira_custom_svc(section): check_info["jira_custom_svc"] = LegacyCheckDefinition( + name="jira_custom_svc", parse_function=parse_jira_custom_svc, service_name="Jira %s", discovery_function=discover_jira_custom_svc, diff --git a/cmk/base/legacy_checks/jira_workflow.py b/cmk/base/legacy_checks/jira_workflow.py index 02625ceb5d4..83f43b1666e 100644 --- a/cmk/base/legacy_checks/jira_workflow.py +++ b/cmk/base/legacy_checks/jira_workflow.py @@ -69,6 +69,7 @@ def discover_jira_workflow(section): check_info["jira_workflow"] = LegacyCheckDefinition( + name="jira_workflow", parse_function=parse_jira_workflow, service_name="Jira Workflow %s", discovery_function=discover_jira_workflow, diff --git a/cmk/base/legacy_checks/jolokia_generic.py b/cmk/base/legacy_checks/jolokia_generic.py index 3be63cae470..25c067f04d7 100644 --- a/cmk/base/legacy_checks/jolokia_generic.py +++ b/cmk/base/legacy_checks/jolokia_generic.py @@ -70,6 +70,7 @@ def check_jolokia_generic_string(item, params, parsed): check_info["jolokia_generic.string"] = LegacyCheckDefinition( + name="jolokia_generic_string", service_name="JVM %s", sections=["jolokia_generic"], discovery_function=discover_type("string"), @@ -97,6 +98,7 @@ def check_jolokia_generic_rate(item, params, parsed): check_info["jolokia_generic.rate"] = LegacyCheckDefinition( + name="jolokia_generic_rate", service_name="JVM %s", sections=["jolokia_generic"], discovery_function=discover_type("rate"), @@ -124,6 +126,7 @@ def check_jolokia_generic(item, params, parsed): check_info["jolokia_generic"] = LegacyCheckDefinition( + name="jolokia_generic", parse_function=parse_jolokia_generic, service_name="JVM %s", discovery_function=discover_type("number"), diff --git a/cmk/base/legacy_checks/jolokia_info.py b/cmk/base/legacy_checks/jolokia_info.py index c2de89ea3c0..a8021725853 100644 --- a/cmk/base/legacy_checks/jolokia_info.py +++ b/cmk/base/legacy_checks/jolokia_info.py @@ -41,6 +41,7 @@ def discover_jolokia_info(section): check_info["jolokia_info"] = LegacyCheckDefinition( + name="jolokia_info", parse_function=parse_jolokia_info, service_name="JVM %s", discovery_function=discover_jolokia_info, diff --git a/cmk/base/legacy_checks/jolokia_jvm_garbagecollectors.py b/cmk/base/legacy_checks/jolokia_jvm_garbagecollectors.py index c86b067728d..11aafe1b2df 100644 --- a/cmk/base/legacy_checks/jolokia_jvm_garbagecollectors.py +++ b/cmk/base/legacy_checks/jolokia_jvm_garbagecollectors.py @@ -74,6 +74,7 @@ def check_jolokia_jvm_garbagecollectors_testable(item, params, parsed, value_sto check_info["jolokia_jvm_garbagecollectors"] = LegacyCheckDefinition( + name="jolokia_jvm_garbagecollectors", parse_function=parse_jolokia_jvm_garbagecollectors, service_name="JVM %s", discovery_function=discover_jolokia_jvm_garbagecollectors, diff --git a/cmk/base/legacy_checks/jolokia_jvm_memory.py b/cmk/base/legacy_checks/jolokia_jvm_memory.py index ff34f0a95cd..33d64512718 100644 --- a/cmk/base/legacy_checks/jolokia_jvm_memory.py +++ b/cmk/base/legacy_checks/jolokia_jvm_memory.py @@ -89,6 +89,7 @@ def check_jolokia_jvm_memory(item, params, parsed): check_info["jolokia_jvm_memory"] = LegacyCheckDefinition( + name="jolokia_jvm_memory", parse_function=parse_jolokia_jvm_memory, service_name="JVM %s Memory", discovery_function=discover_jolokia_jvm_memory, @@ -156,6 +157,7 @@ def check_jolokia_jvm_memory_pools(item, params, parsed): check_info["jolokia_jvm_memory.pools"] = LegacyCheckDefinition( + name="jolokia_jvm_memory_pools", service_name="JVM %s", sections=["jolokia_jvm_memory"], discovery_function=discover_jolokia_jvm_memory_pools, diff --git a/cmk/base/legacy_checks/jolokia_jvm_runtime.py b/cmk/base/legacy_checks/jolokia_jvm_runtime.py index 15b9671ae75..7071b093fae 100644 --- a/cmk/base/legacy_checks/jolokia_jvm_runtime.py +++ b/cmk/base/legacy_checks/jolokia_jvm_runtime.py @@ -31,6 +31,7 @@ def discover_jolokia_jvm_runtime(section): check_info["jolokia_jvm_runtime"] = LegacyCheckDefinition( + name="jolokia_jvm_runtime", parse_function=parse_jolokia_jvm_runtime, service_name="JVM %s Uptime", discovery_function=discover_jolokia_jvm_runtime, diff --git a/cmk/base/legacy_checks/jolokia_jvm_threading.py b/cmk/base/legacy_checks/jolokia_jvm_threading.py index cea161e0d04..bb2c4f9e213 100644 --- a/cmk/base/legacy_checks/jolokia_jvm_threading.py +++ b/cmk/base/legacy_checks/jolokia_jvm_threading.py @@ -69,6 +69,7 @@ def check_jolokia_jvm_threading(item, params, parsed): check_info["jolokia_jvm_threading"] = LegacyCheckDefinition( + name="jolokia_jvm_threading", parse_function=parse_jolokia_jvm_threading, service_name="JVM %s Threading", discovery_function=discover_jolokia_jvm_threading, @@ -117,6 +118,7 @@ def check_jolokia_jvm_threading_pool(item, params, parsed): check_info["jolokia_jvm_threading.pool"] = LegacyCheckDefinition( + name="jolokia_jvm_threading_pool", service_name="JVM %s", sections=["jolokia_jvm_threading"], discovery_function=discover_jolokia_jvm_threading_pool, diff --git a/cmk/base/legacy_checks/jolokia_metrics.py b/cmk/base/legacy_checks/jolokia_metrics.py index 8184035180f..dee0b286b3f 100644 --- a/cmk/base/legacy_checks/jolokia_metrics.py +++ b/cmk/base/legacy_checks/jolokia_metrics.py @@ -55,6 +55,7 @@ def parse_jolokia_metrics(string_table: StringTable) -> StringTable: check_info["jolokia_metrics"] = LegacyCheckDefinition( + name="jolokia_metrics", parse_function=parse_jolokia_metrics, ) @@ -150,6 +151,7 @@ def check_jolokia_metrics_serv_req(item, params, info): check_info["jolokia_metrics.serv_req"] = LegacyCheckDefinition( + name="jolokia_metrics_serv_req", service_name="JVM %s Requests", sections=["jolokia_metrics"], discovery_function=inventory_jolokia_metrics_serv, @@ -199,6 +201,7 @@ def check_jolokia_metrics_app_state(item, _no_params, info): check_info["jolokia_metrics.app_state"] = LegacyCheckDefinition( + name="jolokia_metrics_app_state", service_name="JVM %s State", sections=["jolokia_metrics"], discovery_function=get_inventory_jolokia_metrics_apps( @@ -319,6 +322,7 @@ def check_jolokia_metrics_bea_threads(item, _no_params, info): check_info["jolokia_metrics.app_sess"] = LegacyCheckDefinition( + name="jolokia_metrics_app_sess", service_name="JVM %s Sessions", sections=["jolokia_metrics"], discovery_function=get_inventory_jolokia_metrics_apps( @@ -333,6 +337,7 @@ def check_jolokia_metrics_bea_threads(item, _no_params, info): ) check_info["jolokia_metrics.requests"] = LegacyCheckDefinition( + name="jolokia_metrics_requests", service_name="JVM %s Requests", sections=["jolokia_metrics"], discovery_function=get_inventory_jolokia_metrics_apps("requests", needed_keys={"requestCount"}), @@ -341,6 +346,7 @@ def check_jolokia_metrics_bea_threads(item, _no_params, info): # Stuff found on BEA Weblogic check_info["jolokia_metrics.bea_queue"] = LegacyCheckDefinition( + name="jolokia_metrics_bea_queue", service_name="JVM %s Queue", sections=["jolokia_metrics"], discovery_function=get_inventory_jolokia_metrics_apps("queue", needed_keys={"QueueLength"}), @@ -352,6 +358,7 @@ def check_jolokia_metrics_bea_threads(item, _no_params, info): ) check_info["jolokia_metrics.bea_requests"] = LegacyCheckDefinition( + name="jolokia_metrics_bea_requests", service_name="JVM %s Requests", sections=["jolokia_metrics"], discovery_function=get_inventory_jolokia_metrics_apps( @@ -361,6 +368,7 @@ def check_jolokia_metrics_bea_threads(item, _no_params, info): ) check_info["jolokia_metrics.bea_threads"] = LegacyCheckDefinition( + name="jolokia_metrics_bea_threads", service_name="JVM %s Threads", sections=["jolokia_metrics"], discovery_function=get_inventory_jolokia_metrics_apps( @@ -370,6 +378,7 @@ def check_jolokia_metrics_bea_threads(item, _no_params, info): ) check_info["jolokia_metrics.bea_sess"] = LegacyCheckDefinition( + name="jolokia_metrics_bea_sess", service_name="JVM %s Sessions", sections=["jolokia_metrics"], discovery_function=get_inventory_jolokia_metrics_apps( @@ -445,6 +454,7 @@ def check_jolokia_metrics_cache_hits(item, _no_params, parsed): check_info["jolokia_metrics.cache_hits"] = LegacyCheckDefinition( + name="jolokia_metrics_cache_hits", service_name="JVM %s Cache Usage", sections=["jolokia_metrics"], discovery_function=discover_jolokia_metrics_cache_hits, @@ -469,6 +479,7 @@ def check_jolokia_metrics_in_memory(item, _no_params, parsed): check_info["jolokia_metrics.in_memory"] = LegacyCheckDefinition( + name="jolokia_metrics_in_memory", service_name="JVM %s In Memory", sections=["jolokia_metrics"], discovery_function=discover_jolokia_metrics_in_memory, @@ -493,6 +504,7 @@ def check_jolokia_metrics_on_disk(item, _no_params, parsed): check_info["jolokia_metrics.on_disk"] = LegacyCheckDefinition( + name="jolokia_metrics_on_disk", service_name="JVM %s On Disk", sections=["jolokia_metrics"], discovery_function=discover_jolokia_metrics_on_disk, @@ -517,6 +529,7 @@ def check_jolokia_metrics_off_heap(item, _no_params, parsed): check_info["jolokia_metrics.off_heap"] = LegacyCheckDefinition( + name="jolokia_metrics_off_heap", service_name="JVM %s Off Heap", sections=["jolokia_metrics"], discovery_function=discover_jolokia_metrics_off_heap, @@ -535,6 +548,7 @@ def check_jolokia_metrics_writer(item, _no_params, parsed): check_info["jolokia_metrics.writer"] = LegacyCheckDefinition( + name="jolokia_metrics_writer", service_name="JVM %s Cache Writer", sections=["jolokia_metrics"], discovery_function=discover_jolokia_metrics_writer, diff --git a/cmk/base/legacy_checks/juniper_alarm.py b/cmk/base/legacy_checks/juniper_alarm.py index 4ed48796579..050fb6acc00 100644 --- a/cmk/base/legacy_checks/juniper_alarm.py +++ b/cmk/base/legacy_checks/juniper_alarm.py @@ -40,6 +40,7 @@ def parse_juniper_alarm(string_table: StringTable) -> StringTable: check_info["juniper_alarm"] = LegacyCheckDefinition( + name="juniper_alarm", parse_function=parse_juniper_alarm, detect=DETECT_JUNIPER, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/juniper_bgp_state.py b/cmk/base/legacy_checks/juniper_bgp_state.py index 1acab289bb1..ba611dce81a 100644 --- a/cmk/base/legacy_checks/juniper_bgp_state.py +++ b/cmk/base/legacy_checks/juniper_bgp_state.py @@ -82,6 +82,7 @@ def discover_juniper_bgp_state(section): check_info["juniper_bgp_state"] = LegacyCheckDefinition( + name="juniper_bgp_state", detect=DETECT_JUNIPER, fetch=SNMPTree( base=".1.3.6.1.4.1.2636.5.1.1.2.1.1.1", diff --git a/cmk/base/legacy_checks/juniper_fru.py b/cmk/base/legacy_checks/juniper_fru.py index 57abc2c90fc..5d85046c260 100644 --- a/cmk/base/legacy_checks/juniper_fru.py +++ b/cmk/base/legacy_checks/juniper_fru.py @@ -123,6 +123,7 @@ def discover_juniper_fru(info): check_info["juniper_fru"] = LegacyCheckDefinition( + name="juniper_fru", detect=DETECT_JUNIPER, fetch=SNMPTree( base=".1.3.6.1.4.1.2636.3.1.15.1", @@ -150,6 +151,7 @@ def discover_juniper_fru_fan(info): # '----------------------------------------------------------------------' check_info["juniper_fru.fan"] = LegacyCheckDefinition( + name="juniper_fru_fan", service_name="Fan FRU %s", sections=["juniper_fru"], discovery_function=discover_juniper_fru_fan, diff --git a/cmk/base/legacy_checks/juniper_mem.py b/cmk/base/legacy_checks/juniper_mem.py index 82f3ac9bae6..e8899db6dc9 100644 --- a/cmk/base/legacy_checks/juniper_mem.py +++ b/cmk/base/legacy_checks/juniper_mem.py @@ -47,6 +47,7 @@ def check_juniper_mem( check_info["juniper_mem"] = LegacyCheckDefinition( + name="juniper_mem", detect=DETECT_JUNIPER, fetch=SNMPTree( base=".1.3.6.1.4.1.2636.3.1.13.1", diff --git a/cmk/base/legacy_checks/juniper_mem_screenos_trpz.py b/cmk/base/legacy_checks/juniper_mem_screenos_trpz.py index 7b552d3d395..32ad983dfc3 100644 --- a/cmk/base/legacy_checks/juniper_mem_screenos_trpz.py +++ b/cmk/base/legacy_checks/juniper_mem_screenos_trpz.py @@ -48,6 +48,7 @@ def check_juniper_mem_generic( check_info["juniper_trpz_mem"] = LegacyCheckDefinition( + name="juniper_trpz_mem", detect=DETECT_JUNIPER_TRPZ, fetch=SNMPTree( base=".1.3.6.1.4.1.14525.4.8.1.1", @@ -73,6 +74,7 @@ def parse_juniper_screenos_mem(string_table): check_info["juniper_screenos_mem"] = LegacyCheckDefinition( + name="juniper_screenos_mem", detect=DETECT_JUNIPER_SCREENOS, fetch=SNMPTree( base=".1.3.6.1.4.1.3224.16.2", diff --git a/cmk/base/legacy_checks/juniper_screenos_cpu.py b/cmk/base/legacy_checks/juniper_screenos_cpu.py index 05e2501980b..6f4bf848fd0 100644 --- a/cmk/base/legacy_checks/juniper_screenos_cpu.py +++ b/cmk/base/legacy_checks/juniper_screenos_cpu.py @@ -47,6 +47,7 @@ def parse_juniper_screenos_cpu(string_table: StringTable) -> StringTable | None: check_info["juniper_screenos_cpu"] = LegacyCheckDefinition( + name="juniper_screenos_cpu", parse_function=parse_juniper_screenos_cpu, detect=DETECT_JUNIPER_SCREENOS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/juniper_screenos_fan.py b/cmk/base/legacy_checks/juniper_screenos_fan.py index d03deb2ca94..1359400f01d 100644 --- a/cmk/base/legacy_checks/juniper_screenos_fan.py +++ b/cmk/base/legacy_checks/juniper_screenos_fan.py @@ -32,6 +32,7 @@ def parse_juniper_screenos_fan(string_table: StringTable) -> StringTable: check_info["juniper_screenos_fan"] = LegacyCheckDefinition( + name="juniper_screenos_fan", parse_function=parse_juniper_screenos_fan, detect=DETECT_JUNIPER_SCREENOS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/juniper_screenos_temp.py b/cmk/base/legacy_checks/juniper_screenos_temp.py index 413c625e336..714622dbc1a 100644 --- a/cmk/base/legacy_checks/juniper_screenos_temp.py +++ b/cmk/base/legacy_checks/juniper_screenos_temp.py @@ -33,6 +33,7 @@ def parse_juniper_screenos_temp(string_table: StringTable) -> StringTable: check_info["juniper_screenos_temp"] = LegacyCheckDefinition( + name="juniper_screenos_temp", parse_function=parse_juniper_screenos_temp, detect=DETECT_JUNIPER_SCREENOS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/juniper_screenos_vpn.py b/cmk/base/legacy_checks/juniper_screenos_vpn.py index 5d1b728586b..316bd039df3 100644 --- a/cmk/base/legacy_checks/juniper_screenos_vpn.py +++ b/cmk/base/legacy_checks/juniper_screenos_vpn.py @@ -31,6 +31,7 @@ def parse_juniper_screenos_vpn(string_table: StringTable) -> StringTable: check_info["juniper_screenos_vpn"] = LegacyCheckDefinition( + name="juniper_screenos_vpn", parse_function=parse_juniper_screenos_vpn, detect=DETECT_JUNIPER_SCREENOS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/juniper_temp.py b/cmk/base/legacy_checks/juniper_temp.py index c6b45a591fd..15ef7918a45 100644 --- a/cmk/base/legacy_checks/juniper_temp.py +++ b/cmk/base/legacy_checks/juniper_temp.py @@ -37,6 +37,7 @@ def check_juniper_temp(item, params, parsed): check_info["juniper_temp"] = LegacyCheckDefinition( + name="juniper_temp", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2636.1.1.1.2"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2636.1.1.1.4"), diff --git a/cmk/base/legacy_checks/juniper_trpz_flash.py b/cmk/base/legacy_checks/juniper_trpz_flash.py index b37a4331608..2a5e2b34999 100644 --- a/cmk/base/legacy_checks/juniper_trpz_flash.py +++ b/cmk/base/legacy_checks/juniper_trpz_flash.py @@ -62,6 +62,7 @@ def parse_juniper_trpz_flash(string_table: StringTable) -> StringTable | None: check_info["juniper_trpz_flash"] = LegacyCheckDefinition( + name="juniper_trpz_flash", parse_function=parse_juniper_trpz_flash, detect=DETECT_JUNIPER_TRPZ, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/juniper_trpz_info.py b/cmk/base/legacy_checks/juniper_trpz_info.py index 707287ac859..7a5849a1ff5 100644 --- a/cmk/base/legacy_checks/juniper_trpz_info.py +++ b/cmk/base/legacy_checks/juniper_trpz_info.py @@ -26,6 +26,7 @@ def parse_juniper_trpz_info(string_table: StringTable) -> StringTable | None: check_info["juniper_trpz_info"] = LegacyCheckDefinition( + name="juniper_trpz_info", parse_function=parse_juniper_trpz_info, detect=DETECT_JUNIPER_TRPZ, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/juniper_trpz_power.py b/cmk/base/legacy_checks/juniper_trpz_power.py index b13770a6891..f2bcf912209 100644 --- a/cmk/base/legacy_checks/juniper_trpz_power.py +++ b/cmk/base/legacy_checks/juniper_trpz_power.py @@ -53,6 +53,7 @@ def parse_juniper_trpz_power(string_table: StringTable) -> StringTable: check_info["juniper_trpz_power"] = LegacyCheckDefinition( + name="juniper_trpz_power", parse_function=parse_juniper_trpz_power, detect=DETECT_JUNIPER_TRPZ, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/keepalived.py b/cmk/base/legacy_checks/keepalived.py index 8c328b4b955..e719fb99315 100644 --- a/cmk/base/legacy_checks/keepalived.py +++ b/cmk/base/legacy_checks/keepalived.py @@ -57,6 +57,7 @@ def parse_keepalived(string_table: Sequence[StringTable]) -> Sequence[StringTabl check_info["keepalived"] = LegacyCheckDefinition( + name="keepalived", parse_function=parse_keepalived, detect=all_of(contains(".1.3.6.1.2.1.1.1.0", "linux"), exists(".1.3.6.1.4.1.9586.100.5.1.1.0")), fetch=[ diff --git a/cmk/base/legacy_checks/kemp_loadmaster_ha.py b/cmk/base/legacy_checks/kemp_loadmaster_ha.py index 0929c86794f..11d23aa658e 100644 --- a/cmk/base/legacy_checks/kemp_loadmaster_ha.py +++ b/cmk/base/legacy_checks/kemp_loadmaster_ha.py @@ -35,6 +35,7 @@ def parse_kemp_loadmaster_ha(string_table: StringTable) -> StringTable: check_info["kemp_loadmaster_ha"] = LegacyCheckDefinition( + name="kemp_loadmaster_ha", parse_function=parse_kemp_loadmaster_ha, detect=all_of( any_of( diff --git a/cmk/base/legacy_checks/kentix_amp_sensors.py b/cmk/base/legacy_checks/kentix_amp_sensors.py index 8c890725ac3..b1eb921f99b 100644 --- a/cmk/base/legacy_checks/kentix_amp_sensors.py +++ b/cmk/base/legacy_checks/kentix_amp_sensors.py @@ -80,6 +80,7 @@ def check_kentix_amp_sensors(item, params, parsed): check_info["kentix_amp_sensors"] = LegacyCheckDefinition( + name="kentix_amp_sensors", detect=DETECT_KENTIX, fetch=[ SNMPTree( @@ -116,6 +117,7 @@ def check_kentix_amp_sensors_humidity(item, params, parsed): check_info["kentix_amp_sensors.humidity"] = LegacyCheckDefinition( + name="kentix_amp_sensors_humidity", service_name="Humidity %s", sections=["kentix_amp_sensors"], discovery_function=discover_kentix_amp_sensors_humidity, @@ -163,6 +165,7 @@ def check_kentix_amp_sensors_smoke(item, params, parsed): check_info["kentix_amp_sensors.smoke"] = LegacyCheckDefinition( + name="kentix_amp_sensors_smoke", service_name="Smoke Detector %s", sections=["kentix_amp_sensors"], discovery_function=discover_kentix_amp_sensors_smoke, @@ -195,6 +198,7 @@ def check_kentix_amp_sensors_leakage(item, params, parsed): check_info["kentix_amp_sensors.leakage"] = LegacyCheckDefinition( + name="kentix_amp_sensors_leakage", service_name="Leakage %s", sections=["kentix_amp_sensors"], discovery_function=discover_kentix_amp_sensors_leakage, diff --git a/cmk/base/legacy_checks/kentix_co.py b/cmk/base/legacy_checks/kentix_co.py index a08812ad00a..04a03bbfa33 100644 --- a/cmk/base/legacy_checks/kentix_co.py +++ b/cmk/base/legacy_checks/kentix_co.py @@ -44,6 +44,7 @@ def check_kentix_co(item: str, params: dict, section: int) -> Iterable: check_info["kentix_co"] = LegacyCheckDefinition( + name="kentix_co", detect=DETECT_KENTIX, fetch=SNMPTree( base=".1.3.6.1.4.1.37954", diff --git a/cmk/base/legacy_checks/kentix_dewpoint.py b/cmk/base/legacy_checks/kentix_dewpoint.py index 5174cc6b254..01bfc0a7bd0 100644 --- a/cmk/base/legacy_checks/kentix_dewpoint.py +++ b/cmk/base/legacy_checks/kentix_dewpoint.py @@ -40,6 +40,7 @@ def check_kentix_dewpoint(item: str, params: TempParamType, section: Section) -> check_info["kentix_dewpoint"] = LegacyCheckDefinition( + name="kentix_dewpoint", detect=DETECT_KENTIX, fetch=SNMPTree( base=".1.3.6.1.4.1.37954", diff --git a/cmk/base/legacy_checks/kentix_humidity.py b/cmk/base/legacy_checks/kentix_humidity.py index 150b814760d..26f57e831bd 100644 --- a/cmk/base/legacy_checks/kentix_humidity.py +++ b/cmk/base/legacy_checks/kentix_humidity.py @@ -63,6 +63,7 @@ def check_kentix_humidity( check_info["kentix_humidity"] = LegacyCheckDefinition( + name="kentix_humidity", detect=DETECT_KENTIX, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/kentix_motion.py b/cmk/base/legacy_checks/kentix_motion.py index 466a95cf07d..fcabe5be54b 100644 --- a/cmk/base/legacy_checks/kentix_motion.py +++ b/cmk/base/legacy_checks/kentix_motion.py @@ -83,6 +83,7 @@ def test_in_period( check_info["kentix_motion"] = LegacyCheckDefinition( + name="kentix_motion", detect=DETECT_KENTIX, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/kentix_temp.py b/cmk/base/legacy_checks/kentix_temp.py index 87efb95be47..071b0915978 100644 --- a/cmk/base/legacy_checks/kentix_temp.py +++ b/cmk/base/legacy_checks/kentix_temp.py @@ -61,6 +61,7 @@ def check_kentix_temp( check_info["kentix_temp"] = LegacyCheckDefinition( + name="kentix_temp", detect=DETECT_KENTIX, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/kernel.py b/cmk/base/legacy_checks/kernel.py index 093a91abc31..6ad887f641d 100644 --- a/cmk/base/legacy_checks/kernel.py +++ b/cmk/base/legacy_checks/kernel.py @@ -56,6 +56,7 @@ def check_kernel(item, params, parsed): # This check is deprecated. Please have a look at werk #8969. check_info["kernel"] = LegacyCheckDefinition( + name="kernel", service_name="Kernel %s", check_function=check_kernel, check_ruleset_name="vm_counter", @@ -118,6 +119,7 @@ def check_kernel_performance(_no_item, params, parsed): check_info["kernel.performance"] = LegacyCheckDefinition( + name="kernel_performance", service_name="Kernel Performance", sections=["kernel"], discovery_function=inventory_kernel_performance, diff --git a/cmk/base/legacy_checks/knuerr_rms_humidity.py b/cmk/base/legacy_checks/knuerr_rms_humidity.py index 7ff7c18ebec..93d1a45e6a7 100644 --- a/cmk/base/legacy_checks/knuerr_rms_humidity.py +++ b/cmk/base/legacy_checks/knuerr_rms_humidity.py @@ -26,6 +26,7 @@ def parse_knuerr_rms_humidity(string_table: StringTable) -> StringTable | None: check_info["knuerr_rms_humidity"] = LegacyCheckDefinition( + name="knuerr_rms_humidity", parse_function=parse_knuerr_rms_humidity, detect=DETECT_KNUERR, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/knuerr_rms_temp.py b/cmk/base/legacy_checks/knuerr_rms_temp.py index 54fbafb8c06..e4a3bf3f78c 100644 --- a/cmk/base/legacy_checks/knuerr_rms_temp.py +++ b/cmk/base/legacy_checks/knuerr_rms_temp.py @@ -25,6 +25,7 @@ def parse_knuerr_rms_temp(string_table: StringTable) -> StringTable | None: check_info["knuerr_rms_temp"] = LegacyCheckDefinition( + name="knuerr_rms_temp", parse_function=parse_knuerr_rms_temp, detect=DETECT_KNUERR, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/knuerr_sensors.py b/cmk/base/legacy_checks/knuerr_sensors.py index 44af8652ef3..40557d80a4a 100644 --- a/cmk/base/legacy_checks/knuerr_sensors.py +++ b/cmk/base/legacy_checks/knuerr_sensors.py @@ -31,6 +31,7 @@ def parse_knuerr_sensors(string_table: StringTable) -> StringTable: check_info["knuerr_sensors"] = LegacyCheckDefinition( + name="knuerr_sensors", parse_function=parse_knuerr_sensors, detect=DETECT_KNUERR, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/lgp_info.py b/cmk/base/legacy_checks/lgp_info.py index 3fb037a8cac..91d42191124 100644 --- a/cmk/base/legacy_checks/lgp_info.py +++ b/cmk/base/legacy_checks/lgp_info.py @@ -56,6 +56,7 @@ def parse_lgp_info(string_table: Sequence[StringTable]) -> Sequence[StringTable] check_info["lgp_info"] = LegacyCheckDefinition( + name="lgp_info", parse_function=parse_lgp_info, detect=DETECT_LGP, fetch=[ diff --git a/cmk/base/legacy_checks/lgp_pdu_aux.py b/cmk/base/legacy_checks/lgp_pdu_aux.py index 425efd99a0a..5a4176e7b45 100644 --- a/cmk/base/legacy_checks/lgp_pdu_aux.py +++ b/cmk/base/legacy_checks/lgp_pdu_aux.py @@ -196,6 +196,7 @@ def parse_lgp_pdu_aux(string_table: StringTable) -> StringTable: check_info["lgp_pdu_aux"] = LegacyCheckDefinition( + name="lgp_pdu_aux", parse_function=parse_lgp_pdu_aux, detect=DETECT_LGP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/lgp_pdu_info.py b/cmk/base/legacy_checks/lgp_pdu_info.py index a6bfc27452b..9ffcb78c947 100644 --- a/cmk/base/legacy_checks/lgp_pdu_info.py +++ b/cmk/base/legacy_checks/lgp_pdu_info.py @@ -43,6 +43,7 @@ def parse_lgp_pdu_info(string_table: StringTable) -> StringTable: check_info["lgp_pdu_info"] = LegacyCheckDefinition( + name="lgp_pdu_info", parse_function=parse_lgp_pdu_info, detect=DETECT_LGP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/libelle_business_shadow.py b/cmk/base/legacy_checks/libelle_business_shadow.py index f1ced3997ec..a60a81e8054 100644 --- a/cmk/base/legacy_checks/libelle_business_shadow.py +++ b/cmk/base/legacy_checks/libelle_business_shadow.py @@ -224,6 +224,7 @@ def parse_libelle_business_shadow(string_table: StringTable) -> StringTable: check_info["libelle_business_shadow"] = LegacyCheckDefinition( + name="libelle_business_shadow", parse_function=parse_libelle_business_shadow, ) @@ -297,6 +298,7 @@ def check_libelle_business_shadow_info(_no_item, _no_params, info): check_info["libelle_business_shadow.info"] = LegacyCheckDefinition( + name="libelle_business_shadow_info", service_name="Libelle Business Shadow Info", sections=["libelle_business_shadow"], discovery_function=inventory_libelle_business_shadow_info, @@ -336,6 +338,7 @@ def check_libelle_business_shadow_status(_no_item, _no_params, info): check_info["libelle_business_shadow.status"] = LegacyCheckDefinition( + name="libelle_business_shadow_status", service_name="Libelle Business Shadow Status", sections=["libelle_business_shadow"], discovery_function=inventory_libelle_business_shadow_status, @@ -378,6 +381,7 @@ def check_libelle_business_shadow_process(_no_item, _no_params, info): check_info["libelle_business_shadow.process"] = LegacyCheckDefinition( + name="libelle_business_shadow_process", service_name="Libelle Business Shadow Process", sections=["libelle_business_shadow"], discovery_function=inventory_libelle_business_shadow_process, @@ -412,6 +416,7 @@ def check_libelle_business_shadow_archive_dir(item, params, info): check_info["libelle_business_shadow.archive_dir"] = LegacyCheckDefinition( + name="libelle_business_shadow_archive_dir", service_name="Libelle Business Shadow %s", sections=["libelle_business_shadow"], discovery_function=inventory_libelle_business_shadow_archive_dir, diff --git a/cmk/base/legacy_checks/logins.py b/cmk/base/legacy_checks/logins.py index 90d2900b887..dda5cd24e2d 100644 --- a/cmk/base/legacy_checks/logins.py +++ b/cmk/base/legacy_checks/logins.py @@ -44,6 +44,7 @@ def check_logins( check_info["logins"] = LegacyCheckDefinition( + name="logins", service_name="Logins", parse_function=parse_logins, discovery_function=discover_logins, diff --git a/cmk/base/legacy_checks/lparstat_aix.py b/cmk/base/legacy_checks/lparstat_aix.py index 01a66bb86e5..974075d4933 100644 --- a/cmk/base/legacy_checks/lparstat_aix.py +++ b/cmk/base/legacy_checks/lparstat_aix.py @@ -39,6 +39,7 @@ def check_lparstat(_no_item: int, _no_params: Mapping[str, Any], section: Sectio check_info["lparstat_aix"] = LegacyCheckDefinition( + name="lparstat_aix", service_name="lparstat", discovery_function=inventory_lparstat, check_function=check_lparstat, @@ -91,6 +92,7 @@ def check_lparstat_aix_cpu( check_info["lparstat_aix.cpu_util"] = LegacyCheckDefinition( + name="lparstat_aix_cpu_util", service_name="CPU utilization", sections=["lparstat_aix"], discovery_function=inventory_lparstat_aix_cpu, diff --git a/cmk/base/legacy_checks/lvm_lvs.py b/cmk/base/legacy_checks/lvm_lvs.py index d5ef09d11f9..11c41df9582 100644 --- a/cmk/base/legacy_checks/lvm_lvs.py +++ b/cmk/base/legacy_checks/lvm_lvs.py @@ -59,6 +59,7 @@ def discover_lvm_lvs(section): check_info["lvm_lvs"] = LegacyCheckDefinition( + name="lvm_lvs", parse_function=parse_lvm_lvs, service_name="LVM LV Pool %s", discovery_function=discover_lvm_lvs, diff --git a/cmk/base/legacy_checks/lvm_vgs.py b/cmk/base/legacy_checks/lvm_vgs.py index 2e8af31f96a..dafaa6b5eda 100644 --- a/cmk/base/legacy_checks/lvm_vgs.py +++ b/cmk/base/legacy_checks/lvm_vgs.py @@ -30,6 +30,7 @@ def parse_lvm_vgs(string_table: StringTable) -> StringTable: check_info["lvm_vgs"] = LegacyCheckDefinition( + name="lvm_vgs", parse_function=parse_lvm_vgs, service_name="LVM VG %s", discovery_function=inventory_lvm_vgs, diff --git a/cmk/base/legacy_checks/mailman_lists.py b/cmk/base/legacy_checks/mailman_lists.py index 333d0233b87..1ec4623ef15 100644 --- a/cmk/base/legacy_checks/mailman_lists.py +++ b/cmk/base/legacy_checks/mailman_lists.py @@ -40,6 +40,7 @@ def parse_mailman_lists(string_table: StringTable) -> StringTable: check_info["mailman_lists"] = LegacyCheckDefinition( + name="mailman_lists", parse_function=parse_mailman_lists, service_name="Mailinglist %s", discovery_function=inventory_mailman_lists, diff --git a/cmk/base/legacy_checks/mbg_lantime_ng_fan.py b/cmk/base/legacy_checks/mbg_lantime_ng_fan.py index 835dde2a6f2..f973169734a 100644 --- a/cmk/base/legacy_checks/mbg_lantime_ng_fan.py +++ b/cmk/base/legacy_checks/mbg_lantime_ng_fan.py @@ -69,6 +69,7 @@ def check_mbg_lantime_ng_fan(item, _no_params, parsed): check_info["mbg_lantime_ng_fan"] = LegacyCheckDefinition( + name="mbg_lantime_ng_fan", detect=DETECT_MBG_LANTIME_NG, fetch=SNMPTree( base=".1.3.6.1.4.1.5597.30.0.5.1.2.1", diff --git a/cmk/base/legacy_checks/mbg_lantime_ng_power.py b/cmk/base/legacy_checks/mbg_lantime_ng_power.py index c35e2f37807..f04d52cf08b 100644 --- a/cmk/base/legacy_checks/mbg_lantime_ng_power.py +++ b/cmk/base/legacy_checks/mbg_lantime_ng_power.py @@ -34,6 +34,7 @@ def parse_mbg_lantime_ng_power(string_table: StringTable) -> StringTable: check_info["mbg_lantime_ng_power"] = LegacyCheckDefinition( + name="mbg_lantime_ng_power", parse_function=parse_mbg_lantime_ng_power, detect=DETECT_MBG_LANTIME_NG, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mbg_lantime_ng_refclock.py b/cmk/base/legacy_checks/mbg_lantime_ng_refclock.py index 32d85a79412..3605fca65b4 100644 --- a/cmk/base/legacy_checks/mbg_lantime_ng_refclock.py +++ b/cmk/base/legacy_checks/mbg_lantime_ng_refclock.py @@ -274,6 +274,7 @@ def check_lantime_ng_refclock_gps(item, params, info): check_info["mbg_lantime_ng_refclock.gps"] = LegacyCheckDefinition( + name="mbg_lantime_ng_refclock_gps", service_name="LANTIME Refclock %s", sections=["mbg_lantime_ng_refclock"], discovery_function=inventory_lantime_ng_refclock_gps, @@ -343,6 +344,7 @@ def parse_mbg_lantime_ng_refclock(string_table: StringTable) -> StringTable: check_info["mbg_lantime_ng_refclock"] = LegacyCheckDefinition( + name="mbg_lantime_ng_refclock", parse_function=parse_mbg_lantime_ng_refclock, detect=DETECT_MBG_LANTIME_NG, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mbg_lantime_ng_state.py b/cmk/base/legacy_checks/mbg_lantime_ng_state.py index cebd103c8cd..177f0d33e50 100644 --- a/cmk/base/legacy_checks/mbg_lantime_ng_state.py +++ b/cmk/base/legacy_checks/mbg_lantime_ng_state.py @@ -43,6 +43,7 @@ def parse_mbg_lantime_ng_state(string_table: StringTable) -> StringTable: check_info["mbg_lantime_ng_state"] = LegacyCheckDefinition( + name="mbg_lantime_ng_state", parse_function=parse_mbg_lantime_ng_state, detect=DETECT_MBG_LANTIME_NG, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mbg_lantime_ng_temp.py b/cmk/base/legacy_checks/mbg_lantime_ng_temp.py index f83c048efe6..7006a652788 100644 --- a/cmk/base/legacy_checks/mbg_lantime_ng_temp.py +++ b/cmk/base/legacy_checks/mbg_lantime_ng_temp.py @@ -27,6 +27,7 @@ def parse_mbg_lantime_ng_temp(string_table: StringTable) -> StringTable: check_info["mbg_lantime_ng_temp"] = LegacyCheckDefinition( + name="mbg_lantime_ng_temp", parse_function=parse_mbg_lantime_ng_temp, detect=DETECT_MBG_LANTIME_NG, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mbg_lantime_refclock.py b/cmk/base/legacy_checks/mbg_lantime_refclock.py index 7cac952564b..b9828ad2e21 100644 --- a/cmk/base/legacy_checks/mbg_lantime_refclock.py +++ b/cmk/base/legacy_checks/mbg_lantime_refclock.py @@ -90,6 +90,7 @@ def parse_mbg_lantime_refclock(string_table: StringTable) -> StringTable: check_info["mbg_lantime_refclock"] = LegacyCheckDefinition( + name="mbg_lantime_refclock", parse_function=parse_mbg_lantime_refclock, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.5597.3"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mbg_lantime_state.py b/cmk/base/legacy_checks/mbg_lantime_state.py index 518e46975fc..e64f81d4c5f 100644 --- a/cmk/base/legacy_checks/mbg_lantime_state.py +++ b/cmk/base/legacy_checks/mbg_lantime_state.py @@ -37,6 +37,7 @@ def parse_mbg_lantime_state(string_table: StringTable) -> StringTable: check_info["mbg_lantime_state"] = LegacyCheckDefinition( + name="mbg_lantime_state", parse_function=parse_mbg_lantime_state, detect=all_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.5597.3"), diff --git a/cmk/base/legacy_checks/mcafee_emailgateway_agent.py b/cmk/base/legacy_checks/mcafee_emailgateway_agent.py index bbe470716de..2ace27d7a4b 100644 --- a/cmk/base/legacy_checks/mcafee_emailgateway_agent.py +++ b/cmk/base/legacy_checks/mcafee_emailgateway_agent.py @@ -24,6 +24,7 @@ def check_mcafee_emailgateway_agent(item, params, info): check_info["mcafee_emailgateway_agent"] = LegacyCheckDefinition( + name="mcafee_emailgateway_agent", parse_function=parse_mcafee_emailgateway_agent, detect=DETECT_EMAIL_GATEWAY, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mcafee_emailgateway_av_authentium.py b/cmk/base/legacy_checks/mcafee_emailgateway_av_authentium.py index aa11c0dacaf..d4316aaddb8 100644 --- a/cmk/base/legacy_checks/mcafee_emailgateway_av_authentium.py +++ b/cmk/base/legacy_checks/mcafee_emailgateway_av_authentium.py @@ -36,6 +36,7 @@ def parse_mcafee_emailgateway_av_authentium(string_table: StringTable) -> String check_info["mcafee_emailgateway_av_authentium"] = LegacyCheckDefinition( + name="mcafee_emailgateway_av_authentium", parse_function=parse_mcafee_emailgateway_av_authentium, detect=DETECT_EMAIL_GATEWAY, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mcafee_emailgateway_av_mcafee.py b/cmk/base/legacy_checks/mcafee_emailgateway_av_mcafee.py index b041651d7bf..4539758aa82 100644 --- a/cmk/base/legacy_checks/mcafee_emailgateway_av_mcafee.py +++ b/cmk/base/legacy_checks/mcafee_emailgateway_av_mcafee.py @@ -29,6 +29,7 @@ def check_mcafee_emailgateway_av_mcafee(item, params, info): check_info["mcafee_emailgateway_av_mcafee"] = LegacyCheckDefinition( + name="mcafee_emailgateway_av_mcafee", parse_function=parse_mcafee_emailgateway_av_mcafee, detect=DETECT_EMAIL_GATEWAY, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mcafee_emailgateway_bridge.py b/cmk/base/legacy_checks/mcafee_emailgateway_bridge.py index af355db7454..be01732fc91 100644 --- a/cmk/base/legacy_checks/mcafee_emailgateway_bridge.py +++ b/cmk/base/legacy_checks/mcafee_emailgateway_bridge.py @@ -66,6 +66,7 @@ def check_mcafee_emailgateway_bridge(item, params, info): check_info["mcafee_emailgateway_bridge"] = LegacyCheckDefinition( + name="mcafee_emailgateway_bridge", parse_function=parse_mcafee_emailgateway_bridge, detect=DETECT_EMAIL_GATEWAY, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mcafee_emailgateway_entities.py b/cmk/base/legacy_checks/mcafee_emailgateway_entities.py index a17a88e61f6..de14d8e5f71 100644 --- a/cmk/base/legacy_checks/mcafee_emailgateway_entities.py +++ b/cmk/base/legacy_checks/mcafee_emailgateway_entities.py @@ -89,6 +89,7 @@ def check_mcafee_emailgateway_entities(item, params, parsed): check_info["mcafee_emailgateway_entities"] = LegacyCheckDefinition( + name="mcafee_emailgateway_entities", detect=DETECT_EMAIL_GATEWAY, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/mcafee_emailgateway_smtp.py b/cmk/base/legacy_checks/mcafee_emailgateway_smtp.py index ab0a19a0957..cc012d595ce 100644 --- a/cmk/base/legacy_checks/mcafee_emailgateway_smtp.py +++ b/cmk/base/legacy_checks/mcafee_emailgateway_smtp.py @@ -30,6 +30,7 @@ def check_mcafee_emailgateway_smtp(item, params, info): check_info["mcafee_emailgateway_smtp"] = LegacyCheckDefinition( + name="mcafee_emailgateway_smtp", parse_function=parse_mcafee_emailgateway_smtp, detect=DETECT_EMAIL_GATEWAY, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mcafee_emailgateway_spam_mcafee.py b/cmk/base/legacy_checks/mcafee_emailgateway_spam_mcafee.py index 942f5f7887f..95c7132eb05 100644 --- a/cmk/base/legacy_checks/mcafee_emailgateway_spam_mcafee.py +++ b/cmk/base/legacy_checks/mcafee_emailgateway_spam_mcafee.py @@ -25,6 +25,7 @@ def check_mcafee_emailgateway_spam_mcafee(item, params, info): check_info["mcafee_emailgateway_spam_mcafee"] = LegacyCheckDefinition( + name="mcafee_emailgateway_spam_mcafee", parse_function=parse_mcafee_emailgateway_spam_mcafee, detect=DETECT_EMAIL_GATEWAY, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/md.py b/cmk/base/legacy_checks/md.py index ab01680d270..f8dfe659448 100644 --- a/cmk/base/legacy_checks/md.py +++ b/cmk/base/legacy_checks/md.py @@ -237,6 +237,7 @@ def check_md(item, _no_params, parsed): # pylint: disable=too-many-branches check_info["md"] = LegacyCheckDefinition( + name="md", parse_function=parse_md, service_name="MD Softraid %s", discovery_function=inventory_md, diff --git a/cmk/base/legacy_checks/megaraid_bbu.py b/cmk/base/legacy_checks/megaraid_bbu.py index 9d75fc6276f..b548ee71d09 100644 --- a/cmk/base/legacy_checks/megaraid_bbu.py +++ b/cmk/base/legacy_checks/megaraid_bbu.py @@ -110,6 +110,7 @@ def check_megaraid_bbu(item, _no_params, section): check_info["megaraid_bbu"] = LegacyCheckDefinition( + name="megaraid_bbu", parse_function=megaraid_bbu_parse, service_name="RAID BBU %s", discovery_function=discover_megaraid_bbu, diff --git a/cmk/base/legacy_checks/mem_linux.py b/cmk/base/legacy_checks/mem_linux.py index e9c622df0c4..e476a8d4c4c 100644 --- a/cmk/base/legacy_checks/mem_linux.py +++ b/cmk/base/legacy_checks/mem_linux.py @@ -120,6 +120,7 @@ def _camelcase_to_underscored(name): check_info["mem.linux"] = LegacyCheckDefinition( + name="mem_linux", service_name="Memory", sections=["mem"], discovery_function=inventory_mem_linux, diff --git a/cmk/base/legacy_checks/mem_vmalloc.py b/cmk/base/legacy_checks/mem_vmalloc.py index 138579480e9..640a2e06337 100644 --- a/cmk/base/legacy_checks/mem_vmalloc.py +++ b/cmk/base/legacy_checks/mem_vmalloc.py @@ -55,6 +55,7 @@ def check_mem_vmalloc(_item, params, section): check_info["mem.vmalloc"] = LegacyCheckDefinition( + name="mem_vmalloc", service_name="Vmalloc address space", sections=["mem"], discovery_function=inventory_mem_vmalloc, diff --git a/cmk/base/legacy_checks/mikrotik_signal.py b/cmk/base/legacy_checks/mikrotik_signal.py index 39cd6ecf640..400fd53db0f 100644 --- a/cmk/base/legacy_checks/mikrotik_signal.py +++ b/cmk/base/legacy_checks/mikrotik_signal.py @@ -53,6 +53,7 @@ def parse_mikrotik_signal(string_table: StringTable) -> StringTable: check_info["mikrotik_signal"] = LegacyCheckDefinition( + name="mikrotik_signal", parse_function=parse_mikrotik_signal, detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.14988.1"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/mkbackup.py b/cmk/base/legacy_checks/mkbackup.py index 105d5f3fd58..6d67d51dfe4 100644 --- a/cmk/base/legacy_checks/mkbackup.py +++ b/cmk/base/legacy_checks/mkbackup.py @@ -135,6 +135,7 @@ def check_mkbackup_system(item, _no_params, parsed): check_info["mkbackup"] = LegacyCheckDefinition( + name="mkbackup", parse_function=parse_mkbackup, service_name="Backup %s", discovery_function=inventory_mkbackup_system, @@ -158,6 +159,7 @@ def check_mkbackup_site(item, _no_params, parsed): check_info["mkbackup.site"] = LegacyCheckDefinition( + name="mkbackup_site", service_name="OMD %s", sections=["mkbackup"], discovery_function=inventory_mkbackup_site, diff --git a/cmk/base/legacy_checks/mkeventd_status.py b/cmk/base/legacy_checks/mkeventd_status.py index ceefd2ad86e..0e83e0f9082 100644 --- a/cmk/base/legacy_checks/mkeventd_status.py +++ b/cmk/base/legacy_checks/mkeventd_status.py @@ -129,6 +129,7 @@ def check_mkeventd_status(item, params, parsed): # pylint: disable=too-many-bra check_info["mkeventd_status"] = LegacyCheckDefinition( + name="mkeventd_status", parse_function=parse_mkeventd_status, service_name="OMD %s Event Console", discovery_function=inventory_mkeventd_status, diff --git a/cmk/base/legacy_checks/mongodb_cluster.py b/cmk/base/legacy_checks/mongodb_cluster.py index 8338d86fdc6..53c8ce664d9 100644 --- a/cmk/base/legacy_checks/mongodb_cluster.py +++ b/cmk/base/legacy_checks/mongodb_cluster.py @@ -79,6 +79,7 @@ def check_mongodb_cluster_databases(item, _params, databases_dict): check_info["mongodb_cluster"] = LegacyCheckDefinition( + name="mongodb_cluster", parse_function=parse_mongodb_cluster, service_name="MongoDB Database: %s", discovery_function=inventory_mongodb_cluster_databases, @@ -481,6 +482,7 @@ def _mongodb_cluster_split_namespace(namespace): check_info["mongodb_cluster.collections"] = LegacyCheckDefinition( + name="mongodb_cluster_collections", service_name="MongoDB Cluster: %s", sections=["mongodb_cluster"], discovery_function=inventory_mongodb_cluster_shards, @@ -516,6 +518,7 @@ def check_mongodb_cluster_balancer(_item, _params, databases_dict): check_info["mongodb_cluster.balancer"] = LegacyCheckDefinition( + name="mongodb_cluster_balancer", service_name="MongoDB Balancer", sections=["mongodb_cluster"], discovery_function=discover_mongodb_cluster_balancer, diff --git a/cmk/base/legacy_checks/mongodb_collections.py b/cmk/base/legacy_checks/mongodb_collections.py index f8faa3f53d3..32be74d806f 100644 --- a/cmk/base/legacy_checks/mongodb_collections.py +++ b/cmk/base/legacy_checks/mongodb_collections.py @@ -216,6 +216,7 @@ def _mongodb_collections_get_as_int(data, key): check_info["mongodb_collections"] = LegacyCheckDefinition( + name="mongodb_collections", parse_function=parse_mongodb_collections, service_name="MongoDB Collection: %s", discovery_function=inventory_mongodb_collections, diff --git a/cmk/base/legacy_checks/mongodb_connections.py b/cmk/base/legacy_checks/mongodb_connections.py index b5e76799fe5..3e314da9cf8 100644 --- a/cmk/base/legacy_checks/mongodb_connections.py +++ b/cmk/base/legacy_checks/mongodb_connections.py @@ -78,6 +78,7 @@ def parse_mongodb_connections(string_table: StringTable) -> StringTable: check_info["mongodb_connections"] = LegacyCheckDefinition( + name="mongodb_connections", parse_function=parse_mongodb_connections, service_name="MongoDB %s", discovery_function=inventory_mongodb_connections, diff --git a/cmk/base/legacy_checks/mongodb_counters.py b/cmk/base/legacy_checks/mongodb_counters.py index 253b248e6f4..201a64551a9 100644 --- a/cmk/base/legacy_checks/mongodb_counters.py +++ b/cmk/base/legacy_checks/mongodb_counters.py @@ -32,6 +32,7 @@ def check_mongodb_counters(item, _no_params, parsed): check_info["mongodb_counters"] = LegacyCheckDefinition( + name="mongodb_counters", service_name="MongoDB Counters %s", discovery_function=inventory_mongodb_counters, check_function=check_mongodb_counters, diff --git a/cmk/base/legacy_checks/mongodb_flushing.py b/cmk/base/legacy_checks/mongodb_flushing.py index 8d3fca47757..317a5c5d086 100644 --- a/cmk/base/legacy_checks/mongodb_flushing.py +++ b/cmk/base/legacy_checks/mongodb_flushing.py @@ -91,6 +91,7 @@ def parse_mongodb_flushing(string_table: StringTable) -> StringTable: check_info["mongodb_flushing"] = LegacyCheckDefinition( + name="mongodb_flushing", parse_function=parse_mongodb_flushing, service_name="MongoDB Flushing", discovery_function=inventory_mongodb_flushing, diff --git a/cmk/base/legacy_checks/mongodb_instance.py b/cmk/base/legacy_checks/mongodb_instance.py index 98da8fcb74a..553991ea7a3 100644 --- a/cmk/base/legacy_checks/mongodb_instance.py +++ b/cmk/base/legacy_checks/mongodb_instance.py @@ -31,6 +31,7 @@ def parse_mongodb_instance(string_table: StringTable) -> StringTable: check_info["mongodb_instance"] = LegacyCheckDefinition( + name="mongodb_instance", parse_function=parse_mongodb_instance, service_name="MongoDB Instance", discovery_function=inventory_mongodb_instance, diff --git a/cmk/base/legacy_checks/mongodb_locks.py b/cmk/base/legacy_checks/mongodb_locks.py index 0424da8e9e1..a9890cb07f0 100644 --- a/cmk/base/legacy_checks/mongodb_locks.py +++ b/cmk/base/legacy_checks/mongodb_locks.py @@ -47,6 +47,7 @@ def parse_mongodb_locks(string_table: StringTable) -> StringTable: check_info["mongodb_locks"] = LegacyCheckDefinition( + name="mongodb_locks", parse_function=parse_mongodb_locks, service_name="MongoDB Locks", discovery_function=inventory_mongodb_locks, diff --git a/cmk/base/legacy_checks/mongodb_mem.py b/cmk/base/legacy_checks/mongodb_mem.py index c677debc3ac..528ce4bdc61 100644 --- a/cmk/base/legacy_checks/mongodb_mem.py +++ b/cmk/base/legacy_checks/mongodb_mem.py @@ -64,6 +64,7 @@ def check_mongodb_mem(_no_item, params, parsed): check_info["mongodb_mem"] = LegacyCheckDefinition( + name="mongodb_mem", parse_function=parse_mongodb_mem, service_name="Memory used MongoDB", discovery_function=discover_mongodb_mem, diff --git a/cmk/base/legacy_checks/mongodb_replica_set.py b/cmk/base/legacy_checks/mongodb_replica_set.py index 00192d1bdf9..ed2a82e26cc 100644 --- a/cmk/base/legacy_checks/mongodb_replica_set.py +++ b/cmk/base/legacy_checks/mongodb_replica_set.py @@ -199,6 +199,7 @@ def _calculate_replication_lag(start_operation_time, secondary_operation_time): check_info["mongodb_replica_set"] = LegacyCheckDefinition( + name="mongodb_replica_set", parse_function=parse_mongodb_replica_set, service_name="MongoDB Replication Lag", discovery_function=discover_mongodb_replica_set, @@ -300,6 +301,7 @@ def _get_primary_election_time(primary): check_info["mongodb_replica_set.election"] = LegacyCheckDefinition( + name="mongodb_replica_set_election", service_name="MongoDB Replica Set Primary Election", sections=["mongodb_replica_set"], discovery_function=discover_mongodb_replica_set, diff --git a/cmk/base/legacy_checks/mongodb_replication_info.py b/cmk/base/legacy_checks/mongodb_replication_info.py index e1e6a15962c..bfd2d8898c5 100644 --- a/cmk/base/legacy_checks/mongodb_replication_info.py +++ b/cmk/base/legacy_checks/mongodb_replication_info.py @@ -141,6 +141,7 @@ def _get_as_int(data, key): check_info["mongodb_replication_info"] = LegacyCheckDefinition( + name="mongodb_replication_info", parse_function=parse_mongodb_replication_info, service_name="MongoDB Replication Info", discovery_function=discover_mongodb_replication_info, diff --git a/cmk/base/legacy_checks/moxa_iologik_register.py b/cmk/base/legacy_checks/moxa_iologik_register.py index 993e839a3fb..ed0e492df6a 100644 --- a/cmk/base/legacy_checks/moxa_iologik_register.py +++ b/cmk/base/legacy_checks/moxa_iologik_register.py @@ -35,6 +35,7 @@ def parse_moxa_iologik_register(string_table: StringTable) -> StringTable: check_info["moxa_iologik_register"] = LegacyCheckDefinition( + name="moxa_iologik_register", parse_function=parse_moxa_iologik_register, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.8691."), diff --git a/cmk/base/legacy_checks/mq_queues.py b/cmk/base/legacy_checks/mq_queues.py index 589eb173be8..5e465a3065b 100644 --- a/cmk/base/legacy_checks/mq_queues.py +++ b/cmk/base/legacy_checks/mq_queues.py @@ -69,6 +69,7 @@ def parse_mq_queues(string_table: StringTable) -> StringTable: check_info["mq_queues"] = LegacyCheckDefinition( + name="mq_queues", parse_function=parse_mq_queues, service_name="Queue %s", discovery_function=inventory_mq_queues, diff --git a/cmk/base/legacy_checks/msexch_activesync.py b/cmk/base/legacy_checks/msexch_activesync.py index 55a5d55cab2..5d1eceaff5a 100644 --- a/cmk/base/legacy_checks/msexch_activesync.py +++ b/cmk/base/legacy_checks/msexch_activesync.py @@ -26,6 +26,7 @@ def check_msexch_activesync(_no_item, _no_params, parsed): check_info["msexch_activesync"] = LegacyCheckDefinition( + name="msexch_activesync", parse_function=parse_wmi_table, service_name="Exchange ActiveSync", discovery_function=discover_msexch_activesync, diff --git a/cmk/base/legacy_checks/msexch_autodiscovery.py b/cmk/base/legacy_checks/msexch_autodiscovery.py index 8702fdd781f..43f4f112e5b 100644 --- a/cmk/base/legacy_checks/msexch_autodiscovery.py +++ b/cmk/base/legacy_checks/msexch_autodiscovery.py @@ -26,6 +26,7 @@ def check_msexch_autodiscovery(_no_item, params, parsed): check_info["msexch_autodiscovery"] = LegacyCheckDefinition( + name="msexch_autodiscovery", parse_function=parse_wmi_table, service_name="Exchange Autodiscovery", discovery_function=discover_msexch_autodiscovery, diff --git a/cmk/base/legacy_checks/msexch_availability.py b/cmk/base/legacy_checks/msexch_availability.py index 337e75b4131..be16fa4de8d 100644 --- a/cmk/base/legacy_checks/msexch_availability.py +++ b/cmk/base/legacy_checks/msexch_availability.py @@ -28,6 +28,7 @@ def check_msexch_availability(item, params, parsed): check_info["msexch_availability"] = LegacyCheckDefinition( + name="msexch_availability", parse_function=parse_wmi_table, service_name="Exchange Availability Service", discovery_function=discover_msexch_availability, diff --git a/cmk/base/legacy_checks/msexch_dag.py b/cmk/base/legacy_checks/msexch_dag.py index 823a726b896..d8dfeea3b9f 100644 --- a/cmk/base/legacy_checks/msexch_dag.py +++ b/cmk/base/legacy_checks/msexch_dag.py @@ -110,6 +110,7 @@ def parse_msexch_dag(string_table: StringTable) -> StringTable: check_info["msexch_dag"] = LegacyCheckDefinition( + name="msexch_dag", parse_function=parse_msexch_dag, ) @@ -157,6 +158,7 @@ def check_msexch_dag_dbcopy(item, params, info): check_info["msexch_dag.dbcopy"] = LegacyCheckDefinition( + name="msexch_dag_dbcopy", service_name="Exchange DAG DBCopy for %s", sections=["msexch_dag"], discovery_function=inventory_msexch_dag_dbcopy, @@ -198,6 +200,7 @@ def check_msexch_dag_contentindex(item, _no_params, info): check_info["msexch_dag.contentindex"] = LegacyCheckDefinition( + name="msexch_dag_contentindex", service_name="Exchange DAG ContentIndex of %s", sections=["msexch_dag"], discovery_function=inventory_msexch_dag_contentindex, @@ -241,6 +244,7 @@ def check_msexch_dag_copyqueue(item, params, info): check_info["msexch_dag.copyqueue"] = LegacyCheckDefinition( + name="msexch_dag_copyqueue", service_name="Exchange DAG CopyQueue of %s", sections=["msexch_dag"], discovery_function=inventory_msexch_dag_copyqueue, diff --git a/cmk/base/legacy_checks/msexch_owa.py b/cmk/base/legacy_checks/msexch_owa.py index e6c67e3a288..0ffe58182d1 100644 --- a/cmk/base/legacy_checks/msexch_owa.py +++ b/cmk/base/legacy_checks/msexch_owa.py @@ -31,6 +31,7 @@ def check_msexch_owa(_no_item, params, parsed): check_info["msexch_owa"] = LegacyCheckDefinition( + name="msexch_owa", parse_function=parse_wmi_table, service_name="Exchange OWA", discovery_function=discover_msexch_owa, diff --git a/cmk/base/legacy_checks/msexch_replhealth.py b/cmk/base/legacy_checks/msexch_replhealth.py index ee993997a6e..e1f69fa0a21 100644 --- a/cmk/base/legacy_checks/msexch_replhealth.py +++ b/cmk/base/legacy_checks/msexch_replhealth.py @@ -60,6 +60,7 @@ def parse_msexch_replhealth(string_table: StringTable) -> StringTable: check_info["msexch_replhealth"] = LegacyCheckDefinition( + name="msexch_replhealth", parse_function=parse_msexch_replhealth, service_name="Exchange Replication Health %s", discovery_function=inventory_msexch_replhealth, diff --git a/cmk/base/legacy_checks/msoffice_licenses.py b/cmk/base/legacy_checks/msoffice_licenses.py index 45c8b5f9ef4..e76642eb6e4 100644 --- a/cmk/base/legacy_checks/msoffice_licenses.py +++ b/cmk/base/legacy_checks/msoffice_licenses.py @@ -100,6 +100,7 @@ def discover_msoffice_licenses(section): check_info["msoffice_licenses"] = LegacyCheckDefinition( + name="msoffice_licenses", parse_function=parse_msoffice_licenses, service_name="MS Office Licenses %s", discovery_function=discover_msoffice_licenses, diff --git a/cmk/base/legacy_checks/msoffice_serviceplans.py b/cmk/base/legacy_checks/msoffice_serviceplans.py index 3a550811fa5..89a0f02bd25 100644 --- a/cmk/base/legacy_checks/msoffice_serviceplans.py +++ b/cmk/base/legacy_checks/msoffice_serviceplans.py @@ -57,6 +57,7 @@ def parse_msoffice_serviceplans(string_table: StringTable) -> StringTable: check_info["msoffice_serviceplans"] = LegacyCheckDefinition( + name="msoffice_serviceplans", parse_function=parse_msoffice_serviceplans, service_name="MS Office Serviceplans %s", discovery_function=inventory_msoffice_serviceplans, diff --git a/cmk/base/legacy_checks/mssql_connections.py b/cmk/base/legacy_checks/mssql_connections.py index 890b8ff823b..932ee2b2843 100644 --- a/cmk/base/legacy_checks/mssql_connections.py +++ b/cmk/base/legacy_checks/mssql_connections.py @@ -45,6 +45,7 @@ def check_mssql_connections(item, params, parsed): check_info["mssql_connections"] = LegacyCheckDefinition( + name="mssql_connections", parse_function=parse_mssql_connections, service_name="MSSQL Connections %s", discovery_function=inventory_mssql_connections, diff --git a/cmk/base/legacy_checks/mssql_instance.py b/cmk/base/legacy_checks/mssql_instance.py index 70d25495346..0127b37c066 100644 --- a/cmk/base/legacy_checks/mssql_instance.py +++ b/cmk/base/legacy_checks/mssql_instance.py @@ -48,6 +48,7 @@ def check_mssql_instance(item, params, parsed): check_info["mssql_instance"] = LegacyCheckDefinition( + name="mssql_instance", service_name="MSSQL %s Instance", discovery_function=inventory_mssql_instance, check_function=check_mssql_instance, diff --git a/cmk/base/legacy_checks/mysql.py b/cmk/base/legacy_checks/mysql.py index 2fd735dcd03..a14b12b2019 100644 --- a/cmk/base/legacy_checks/mysql.py +++ b/cmk/base/legacy_checks/mysql.py @@ -77,6 +77,7 @@ def check_mysql_version(item, _no_params, parsed): check_info["mysql"] = LegacyCheckDefinition( + name="mysql", parse_function=parse_mysql, service_name="MySQL Version %s", discovery_function=_discover_keys({"version"}), @@ -136,6 +137,7 @@ def check_mysql_sessions(item, params, parsed): check_info["mysql.sessions"] = LegacyCheckDefinition( + name="mysql_sessions", service_name="MySQL Sessions %s", sections=["mysql"], discovery_function=discover_mysql_sessions, @@ -226,6 +228,7 @@ def check_diskstat_line( check_info["mysql.innodb_io"] = LegacyCheckDefinition( + name="mysql_innodb_io", service_name="MySQL InnoDB IO %s", sections=["mysql"], discovery_function=_discover_keys({"Innodb_data_read"}), @@ -306,6 +309,7 @@ def check_mysql_connections(item, params, parsed): check_info["mysql.connections"] = LegacyCheckDefinition( + name="mysql_connections", service_name="MySQL Connections %s", sections=["mysql"], discovery_function=_discover_keys( @@ -357,6 +361,7 @@ def check_mysql_galerasync(item, _no_params, parsed): check_info["mysql.galerasync"] = LegacyCheckDefinition( + name="mysql_galerasync", service_name="MySQL Galera Sync %s", sections=["mysql"], discovery_function=inventory_mysql_galerasync, @@ -399,6 +404,7 @@ def check_mysql_galeradonor(item, params, parsed): check_info["mysql.galeradonor"] = LegacyCheckDefinition( + name="mysql_galeradonor", service_name="MySQL Galera Donor %s", sections=["mysql"], discovery_function=inventory_mysql_galeradonor, @@ -437,6 +443,7 @@ def check_mysql_galerastartup(item, _no_params, parsed): check_info["mysql.galerastartup"] = LegacyCheckDefinition( + name="mysql_galerastartup", service_name="MySQL Galera Startup %s", sections=["mysql"], discovery_function=inventory_mysql_galerastartup, @@ -485,6 +492,7 @@ def check_mysql_galerasize(item, params, parsed): check_info["mysql.galerasize"] = LegacyCheckDefinition( + name="mysql_galerasize", service_name="MySQL Galera Size %s", sections=["mysql"], discovery_function=inventory_mysql_galerasize, @@ -524,6 +532,7 @@ def check_mysql_galerastatus(item, _no_params, parsed): check_info["mysql.galerastatus"] = LegacyCheckDefinition( + name="mysql_galerastatus", service_name="MySQL Galera Status %s", sections=["mysql"], discovery_function=inventory_mysql_galerastatus, diff --git a/cmk/base/legacy_checks/mysql_ping.py b/cmk/base/legacy_checks/mysql_ping.py index 94627fcb1a9..d2d903f8252 100644 --- a/cmk/base/legacy_checks/mysql_ping.py +++ b/cmk/base/legacy_checks/mysql_ping.py @@ -42,6 +42,7 @@ def discover_mysql_ping(section): check_info["mysql_ping"] = LegacyCheckDefinition( + name="mysql_ping", parse_function=parse_mysql_ping, service_name="MySQL Instance %s", discovery_function=discover_mysql_ping, diff --git a/cmk/base/legacy_checks/netapp_cluster.py b/cmk/base/legacy_checks/netapp_cluster.py index a246826a244..f75d2567f36 100644 --- a/cmk/base/legacy_checks/netapp_cluster.py +++ b/cmk/base/legacy_checks/netapp_cluster.py @@ -95,6 +95,7 @@ def parse_netapp_cluster(string_table: StringTable) -> StringTable: check_info["netapp_cluster"] = LegacyCheckDefinition( + name="netapp_cluster", parse_function=parse_netapp_cluster, detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "netapp release"), diff --git a/cmk/base/legacy_checks/netapp_cpu.py b/cmk/base/legacy_checks/netapp_cpu.py index 2de2b6c78cc..50798d994c0 100644 --- a/cmk/base/legacy_checks/netapp_cpu.py +++ b/cmk/base/legacy_checks/netapp_cpu.py @@ -25,6 +25,7 @@ def discover_netapp_cpu(info): check_info["netapp_cpu"] = LegacyCheckDefinition( + name="netapp_cpu", parse_function=parse_netapp_cpu, detect=all_of( startswith(".1.3.6.1.2.1.1.1.0", "NetApp Release"), exists(".1.3.6.1.4.1.789.1.2.1.3.0") diff --git a/cmk/base/legacy_checks/netapp_fcpio.py b/cmk/base/legacy_checks/netapp_fcpio.py index 56950b0c96d..39f4bbd20fa 100644 --- a/cmk/base/legacy_checks/netapp_fcpio.py +++ b/cmk/base/legacy_checks/netapp_fcpio.py @@ -57,6 +57,7 @@ def discover_netapp_fcpio(info): check_info["netapp_fcpio"] = LegacyCheckDefinition( + name="netapp_fcpio", parse_function=parse_netapp_fcpio, detect=all_of( startswith(".1.3.6.1.2.1.1.1.0", "NetApp Release"), exists(".1.3.6.1.4.1.789.1.17.20.0") diff --git a/cmk/base/legacy_checks/netapp_vfiler.py b/cmk/base/legacy_checks/netapp_vfiler.py index 291f01a6a03..4d09ad2dddd 100644 --- a/cmk/base/legacy_checks/netapp_vfiler.py +++ b/cmk/base/legacy_checks/netapp_vfiler.py @@ -41,6 +41,7 @@ def parse_netapp_vfiler(string_table: StringTable) -> StringTable: check_info["netapp_vfiler"] = LegacyCheckDefinition( + name="netapp_vfiler", parse_function=parse_netapp_vfiler, detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "netapp release"), diff --git a/cmk/base/legacy_checks/netctr.py b/cmk/base/legacy_checks/netctr.py index dd45c8f5597..0950e1e1580 100644 --- a/cmk/base/legacy_checks/netctr.py +++ b/cmk/base/legacy_checks/netctr.py @@ -103,10 +103,12 @@ def parse_netctr(string_table: StringTable) -> StringTable: check_info["netctr"] = LegacyCheckDefinition( + name="netctr", parse_function=parse_netctr, ) check_info["netctr.combined"] = LegacyCheckDefinition( + name="netctr_combined", service_name="NIC %s counters", sections=["netctr"], discovery_function=inventory_netctr_combined, diff --git a/cmk/base/legacy_checks/netextreme_cpu_util.py b/cmk/base/legacy_checks/netextreme_cpu_util.py index 349f5c860e2..3c2c925190e 100644 --- a/cmk/base/legacy_checks/netextreme_cpu_util.py +++ b/cmk/base/legacy_checks/netextreme_cpu_util.py @@ -30,6 +30,7 @@ def parse_netextreme_cpu_util(string_table: StringTable) -> StringTable: check_info["netextreme_cpu_util"] = LegacyCheckDefinition( + name="netextreme_cpu_util", parse_function=parse_netextreme_cpu_util, detect=DETECT_NETEXTREME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/netextreme_fan.py b/cmk/base/legacy_checks/netextreme_fan.py index a08aea04d6c..d47e6afcd9a 100644 --- a/cmk/base/legacy_checks/netextreme_fan.py +++ b/cmk/base/legacy_checks/netextreme_fan.py @@ -36,6 +36,7 @@ def parse_netextreme_fan(string_table: StringTable) -> StringTable: check_info["netextreme_fan"] = LegacyCheckDefinition( + name="netextreme_fan", parse_function=parse_netextreme_fan, detect=DETECT_NETEXTREME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/netextreme_psu.py b/cmk/base/legacy_checks/netextreme_psu.py index f39c59579a7..6a1de1ec688 100644 --- a/cmk/base/legacy_checks/netextreme_psu.py +++ b/cmk/base/legacy_checks/netextreme_psu.py @@ -30,6 +30,7 @@ def discover_netextreme_psu(section): check_info["netextreme_psu"] = LegacyCheckDefinition( + name="netextreme_psu", detect=DETECT_NETEXTREME, fetch=SNMPTree( base=".1.3.6.1.4.1.1916.1.1.1.40", diff --git a/cmk/base/legacy_checks/netextreme_psu_in.py b/cmk/base/legacy_checks/netextreme_psu_in.py index 94214587f27..44c31183066 100644 --- a/cmk/base/legacy_checks/netextreme_psu_in.py +++ b/cmk/base/legacy_checks/netextreme_psu_in.py @@ -35,6 +35,7 @@ def discover_netextreme_psu_in(section): check_info["netextreme_psu_in"] = LegacyCheckDefinition( + name="netextreme_psu_in", detect=DETECT_NETEXTREME, fetch=SNMPTree( base=".1.3.6.1.4.1.1916.1.1.1.27.1", diff --git a/cmk/base/legacy_checks/netextreme_psu_out.py b/cmk/base/legacy_checks/netextreme_psu_out.py index 41856e2ba5c..47ecd118780 100644 --- a/cmk/base/legacy_checks/netextreme_psu_out.py +++ b/cmk/base/legacy_checks/netextreme_psu_out.py @@ -57,6 +57,7 @@ def discover_netextreme_psu_out(section): check_info["netextreme_psu_out"] = LegacyCheckDefinition( + name="netextreme_psu_out", detect=DETECT_NETEXTREME, fetch=SNMPTree( base=".1.3.6.1.4.1.1916.1.1.1.38.1", diff --git a/cmk/base/legacy_checks/netextreme_temp.py b/cmk/base/legacy_checks/netextreme_temp.py index 9790a7f261a..f79559767a9 100644 --- a/cmk/base/legacy_checks/netextreme_temp.py +++ b/cmk/base/legacy_checks/netextreme_temp.py @@ -29,6 +29,7 @@ def parse_netextreme_temp(string_table: StringTable) -> StringTable | None: check_info["netextreme_temp"] = LegacyCheckDefinition( + name="netextreme_temp", parse_function=parse_netextreme_temp, detect=DETECT_NETEXTREME, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/netgear_fans.py b/cmk/base/legacy_checks/netgear_fans.py index 3c170c4d534..7fbf8755c04 100644 --- a/cmk/base/legacy_checks/netgear_fans.py +++ b/cmk/base/legacy_checks/netgear_fans.py @@ -123,6 +123,7 @@ def check_netgear_fans(item, params, parsed): check_info["netgear_fans"] = LegacyCheckDefinition( + name="netgear_fans", detect=DETECT_NETGEAR, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/netgear_powersupplies.py b/cmk/base/legacy_checks/netgear_powersupplies.py index 349361248de..bc257c57ca0 100644 --- a/cmk/base/legacy_checks/netgear_powersupplies.py +++ b/cmk/base/legacy_checks/netgear_powersupplies.py @@ -44,6 +44,7 @@ def check_netgear_powersupplies(item, params, parsed): check_info["netgear_powersupplies"] = LegacyCheckDefinition( + name="netgear_powersupplies", detect=DETECT_NETGEAR, fetch=SNMPTree( base=".1.3.6.1.4.1.4526.10.43.1.7.1", diff --git a/cmk/base/legacy_checks/netgear_temp.py b/cmk/base/legacy_checks/netgear_temp.py index 6cc68bde532..c1b6f09471b 100644 --- a/cmk/base/legacy_checks/netgear_temp.py +++ b/cmk/base/legacy_checks/netgear_temp.py @@ -107,6 +107,7 @@ def check_netgear_temp(item, params, parsed): check_info["netgear_temp"] = LegacyCheckDefinition( + name="netgear_temp", detect=DETECT_NETGEAR, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/netscaler_cpu.py b/cmk/base/legacy_checks/netscaler_cpu.py index d293060409b..09c44e285ab 100644 --- a/cmk/base/legacy_checks/netscaler_cpu.py +++ b/cmk/base/legacy_checks/netscaler_cpu.py @@ -49,6 +49,7 @@ def parse_netscaler_cpu(string_table: StringTable) -> StringTable: check_info["netscaler_cpu"] = LegacyCheckDefinition( + name="netscaler_cpu", parse_function=parse_netscaler_cpu, detect=SNMP_DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/netscaler_dnsrates.py b/cmk/base/legacy_checks/netscaler_dnsrates.py index cbb596af64b..3579f83579e 100644 --- a/cmk/base/legacy_checks/netscaler_dnsrates.py +++ b/cmk/base/legacy_checks/netscaler_dnsrates.py @@ -51,6 +51,7 @@ def parse_netscaler_dnsrates(string_table: StringTable) -> StringTable: check_info["netscaler_dnsrates"] = LegacyCheckDefinition( + name="netscaler_dnsrates", parse_function=parse_netscaler_dnsrates, detect=SNMP_DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/netscaler_ha.py b/cmk/base/legacy_checks/netscaler_ha.py index 1374669c15b..7a21d6f88cd 100644 --- a/cmk/base/legacy_checks/netscaler_ha.py +++ b/cmk/base/legacy_checks/netscaler_ha.py @@ -90,6 +90,7 @@ def parse_netscaler_ha(string_table: StringTable) -> StringTable: check_info["netscaler_ha"] = LegacyCheckDefinition( + name="netscaler_ha", parse_function=parse_netscaler_ha, detect=SNMP_DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/netscaler_health.py b/cmk/base/legacy_checks/netscaler_health.py index 097c9a4c587..07c05702cf3 100644 --- a/cmk/base/legacy_checks/netscaler_health.py +++ b/cmk/base/legacy_checks/netscaler_health.py @@ -39,6 +39,7 @@ def parse_netscaler_health(string_table: StringTable) -> StringTable: check_info["netscaler_health"] = LegacyCheckDefinition( + name="netscaler_health", parse_function=parse_netscaler_health, detect=SNMP_DETECT, fetch=SNMPTree( @@ -72,6 +73,7 @@ def check_netscaler_health_fan(item, params, info): check_info["netscaler_health.fan"] = LegacyCheckDefinition( + name="netscaler_health_fan", service_name="FAN %s", sections=["netscaler_health"], discovery_function=inventory_netscaler_health_fan, @@ -107,6 +109,7 @@ def check_netscaler_health_temp(item, params, info): check_info["netscaler_health.temp"] = LegacyCheckDefinition( + name="netscaler_health_temp", service_name="Temperature %s", sections=["netscaler_health"], discovery_function=inventory_netscaler_health_temp, @@ -154,6 +157,7 @@ def check_netscaler_health_psu(item, _no_params, info): check_info["netscaler_health.psu"] = LegacyCheckDefinition( + name="netscaler_health_psu", service_name="Power Supply %s", sections=["netscaler_health"], discovery_function=inventory_netscaler_health_psu, diff --git a/cmk/base/legacy_checks/netscaler_mem.py b/cmk/base/legacy_checks/netscaler_mem.py index af131d1de1b..9d5c9eee322 100644 --- a/cmk/base/legacy_checks/netscaler_mem.py +++ b/cmk/base/legacy_checks/netscaler_mem.py @@ -41,6 +41,7 @@ def parse_netscaler_mem(string_table: StringTable) -> StringTable: check_info["netscaler_mem"] = LegacyCheckDefinition( + name="netscaler_mem", parse_function=parse_netscaler_mem, detect=SNMP_DETECT, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/netstat.py b/cmk/base/legacy_checks/netstat.py index b3bc360e848..4b56e3d4fc1 100644 --- a/cmk/base/legacy_checks/netstat.py +++ b/cmk/base/legacy_checks/netstat.py @@ -67,6 +67,7 @@ def split_ip_address(ip_address): check_info["netstat"] = LegacyCheckDefinition( + name="netstat", parse_function=parse_netstat, service_name="TCP Connection %s", check_function=check_netstat_generic, diff --git a/cmk/base/legacy_checks/nfsexports.py b/cmk/base/legacy_checks/nfsexports.py index cf1329dac8a..9431c3952ce 100644 --- a/cmk/base/legacy_checks/nfsexports.py +++ b/cmk/base/legacy_checks/nfsexports.py @@ -52,6 +52,7 @@ def parse_nfsexports(string_table: StringTable) -> StringTable: check_info["nfsexports"] = LegacyCheckDefinition( + name="nfsexports", parse_function=parse_nfsexports, service_name="NFS export %s", discovery_function=inventory_nfsexports, diff --git a/cmk/base/legacy_checks/nginx_status.py b/cmk/base/legacy_checks/nginx_status.py index e39526efd84..1583306e7c8 100644 --- a/cmk/base/legacy_checks/nginx_status.py +++ b/cmk/base/legacy_checks/nginx_status.py @@ -99,6 +99,7 @@ def discover_nginx_status(section): check_info["nginx_status"] = LegacyCheckDefinition( + name="nginx_status", parse_function=parse_nginx_status, service_name="Nginx %s Status", discovery_function=discover_nginx_status, diff --git a/cmk/base/legacy_checks/nimble_latency.py b/cmk/base/legacy_checks/nimble_latency.py index 64603f77cb2..910a1088328 100644 --- a/cmk/base/legacy_checks/nimble_latency.py +++ b/cmk/base/legacy_checks/nimble_latency.py @@ -121,6 +121,7 @@ def discover_nimble_latency(parsed): check_info["nimble_latency"] = LegacyCheckDefinition( + name="nimble_latency", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.37447.3.1"), fetch=SNMPTree( base=".1.3.6.1.4.1.37447.1.2.1", @@ -184,6 +185,7 @@ def discover_nimble_latency_write(parsed): check_info["nimble_latency.write"] = LegacyCheckDefinition( + name="nimble_latency_write", service_name="Volume %s Write IO", sections=["nimble_latency"], discovery_function=discover_nimble_latency_write, diff --git a/cmk/base/legacy_checks/nimble_volumes.py b/cmk/base/legacy_checks/nimble_volumes.py index 57244cec0a3..a229b47912d 100644 --- a/cmk/base/legacy_checks/nimble_volumes.py +++ b/cmk/base/legacy_checks/nimble_volumes.py @@ -35,6 +35,7 @@ def parse_nimble_volumes(string_table: StringTable) -> StringTable: check_info["nimble_volumes"] = LegacyCheckDefinition( + name="nimble_volumes", parse_function=parse_nimble_volumes, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.37447.3.1"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/nullmailer_mailq.py b/cmk/base/legacy_checks/nullmailer_mailq.py index 75447e08f9b..8d29176fd2c 100644 --- a/cmk/base/legacy_checks/nullmailer_mailq.py +++ b/cmk/base/legacy_checks/nullmailer_mailq.py @@ -29,6 +29,7 @@ def discover_nullmailer_mailq(parsed): check_info["nullmailer_mailq"] = LegacyCheckDefinition( + name="nullmailer_mailq", parse_function=parse_nullmailer_mailq, service_name="Nullmailer Queue", discovery_function=discover_nullmailer_mailq, diff --git a/cmk/base/legacy_checks/nvidia.py b/cmk/base/legacy_checks/nvidia.py index ab7988dbea5..76ea286dadb 100644 --- a/cmk/base/legacy_checks/nvidia.py +++ b/cmk/base/legacy_checks/nvidia.py @@ -42,6 +42,7 @@ def parse_nvidia(string_table: StringTable) -> StringTable: check_info["nvidia"] = LegacyCheckDefinition( + name="nvidia", parse_function=parse_nvidia, ) @@ -51,6 +52,7 @@ def discover_nvidia_temp(info): check_info["nvidia.temp"] = LegacyCheckDefinition( + name="nvidia_temp", service_name="Temperature %s", sections=["nvidia"], discovery_function=discover_nvidia_temp, @@ -65,6 +67,7 @@ def discover_nvidia_temp_core(info): check_info["nvidia.temp_core"] = LegacyCheckDefinition( + name="nvidia_temp_core", service_name="Temperature %s", sections=["nvidia"], discovery_function=discover_nvidia_temp_core, @@ -92,6 +95,7 @@ def check_nvidia_errors(_no_item, _no_params, info): check_info["nvidia.errors"] = LegacyCheckDefinition( + name="nvidia_errors", service_name="NVIDIA GPU Errors", sections=["nvidia"], discovery_function=inventory_nvidia_errors, diff --git a/cmk/base/legacy_checks/omd_apache.py b/cmk/base/legacy_checks/omd_apache.py index a0212d67ba6..606633a5bc8 100644 --- a/cmk/base/legacy_checks/omd_apache.py +++ b/cmk/base/legacy_checks/omd_apache.py @@ -118,6 +118,7 @@ def check_omd_apache(item, _no_params, parsed): # This check uses the section defined in cmk/base/plugins/agent_based/omd_apache.py! check_info["omd_apache"] = LegacyCheckDefinition( + name="omd_apache", service_name="OMD %s apache", discovery_function=inventory_omd_apache, check_function=check_omd_apache, diff --git a/cmk/base/legacy_checks/openbsd_sensors.py b/cmk/base/legacy_checks/openbsd_sensors.py index 37a2d49793f..cd78cdddb80 100644 --- a/cmk/base/legacy_checks/openbsd_sensors.py +++ b/cmk/base/legacy_checks/openbsd_sensors.py @@ -194,6 +194,7 @@ def discover_openbsd_sensors(parsed): check_info["openbsd_sensors"] = LegacyCheckDefinition( + name="openbsd_sensors", detect=exists(".1.3.6.1.4.1.30155.2.1.1.0"), fetch=SNMPTree( base=".1.3.6.1.4.1.30155.2.1.2.1", @@ -230,6 +231,7 @@ def discover_openbsd_sensors_fan(parsed): check_info["openbsd_sensors.fan"] = LegacyCheckDefinition( + name="openbsd_sensors_fan", service_name="Fan %s", sections=["openbsd_sensors"], discovery_function=discover_openbsd_sensors_fan, @@ -270,6 +272,7 @@ def discover_openbsd_sensors_voltage(parsed): check_info["openbsd_sensors.voltage"] = LegacyCheckDefinition( + name="openbsd_sensors_voltage", service_name="Voltage Type %s", sections=["openbsd_sensors"], discovery_function=discover_openbsd_sensors_voltage, @@ -300,6 +303,7 @@ def discover_openbsd_sensors_powersupply(parsed): check_info["openbsd_sensors.powersupply"] = LegacyCheckDefinition( + name="openbsd_sensors_powersupply", service_name="Powersupply %s", sections=["openbsd_sensors"], discovery_function=discover_openbsd_sensors_powersupply, @@ -329,6 +333,7 @@ def discover_openbsd_sensors_indicator(parsed): check_info["openbsd_sensors.indicator"] = LegacyCheckDefinition( + name="openbsd_sensors_indicator", service_name="Indicator %s", sections=["openbsd_sensors"], discovery_function=discover_openbsd_sensors_indicator, @@ -358,6 +363,7 @@ def discover_openbsd_sensors_drive(parsed): check_info["openbsd_sensors.drive"] = LegacyCheckDefinition( + name="openbsd_sensors_drive", service_name="Drive %s", sections=["openbsd_sensors"], discovery_function=discover_openbsd_sensors_drive, diff --git a/cmk/base/legacy_checks/openhardwaremonitor.py b/cmk/base/legacy_checks/openhardwaremonitor.py index 2e82074cf2f..255dcd96a86 100644 --- a/cmk/base/legacy_checks/openhardwaremonitor.py +++ b/cmk/base/legacy_checks/openhardwaremonitor.py @@ -175,6 +175,7 @@ def check_openhardwaremonitor_clock(item, params, parsed): # '----------------------------------------------------------------------' check_info["openhardwaremonitor"] = LegacyCheckDefinition( + name="openhardwaremonitor", parse_function=parse_openhardwaremonitor, service_name="Clock %s", discovery_function=discover_openhardwaremonitor, @@ -208,6 +209,7 @@ def discover_openhardwaremonitor_temperature(parsed): check_info["openhardwaremonitor.temperature"] = LegacyCheckDefinition( + name="openhardwaremonitor_temperature", service_name="Temperature %s", sections=["openhardwaremonitor"], discovery_function=discover_openhardwaremonitor_temperature, @@ -242,6 +244,7 @@ def check_openhardwaremonitor_power(item, params, parsed): # '----------------------------------------------------------------------' check_info["openhardwaremonitor.power"] = LegacyCheckDefinition( + name="openhardwaremonitor_power", service_name="Power %s", sections=["openhardwaremonitor"], discovery_function=discover_openhardwaremonitor_power, @@ -272,6 +275,7 @@ def discover_openhardwaremonitor_fan(parsed): check_info["openhardwaremonitor.fan"] = LegacyCheckDefinition( + name="openhardwaremonitor_fan", service_name="Fan %s", sections=["openhardwaremonitor"], discovery_function=discover_openhardwaremonitor_fan, @@ -334,6 +338,7 @@ def check_openhardwaremonitor_smart(item, params, parsed): # combines different sensors per item (but not all, i.e. hdd temperature is still # reported as a temperature item) check_info["openhardwaremonitor.smart"] = LegacyCheckDefinition( + name="openhardwaremonitor_smart", service_name="SMART %s Stats", sections=["openhardwaremonitor"], discovery_function=inventory_openhardwaremonitor_smart, diff --git a/cmk/base/legacy_checks/openvpn_clients.py b/cmk/base/legacy_checks/openvpn_clients.py index 2277c5a0880..034aee384ab 100644 --- a/cmk/base/legacy_checks/openvpn_clients.py +++ b/cmk/base/legacy_checks/openvpn_clients.py @@ -56,6 +56,7 @@ def parse_openvpn_clients(string_table: StringTable) -> StringTable: check_info["openvpn_clients"] = LegacyCheckDefinition( + name="openvpn_clients", parse_function=parse_openvpn_clients, service_name="OpenVPN Client %s", discovery_function=inventory_openvpn_clients, diff --git a/cmk/base/legacy_checks/oracle_crs_version.py b/cmk/base/legacy_checks/oracle_crs_version.py index eb2bf511764..203e6cec7e3 100644 --- a/cmk/base/legacy_checks/oracle_crs_version.py +++ b/cmk/base/legacy_checks/oracle_crs_version.py @@ -29,6 +29,7 @@ def parse_oracle_crs_version(string_table: StringTable) -> StringTable: check_info["oracle_crs_version"] = LegacyCheckDefinition( + name="oracle_crs_version", parse_function=parse_oracle_crs_version, service_name="ORA-GI Version", discovery_function=inventory_oracle_crs_version, diff --git a/cmk/base/legacy_checks/oracle_crs_voting.py b/cmk/base/legacy_checks/oracle_crs_voting.py index a6a83ba0a7c..e32a9aed398 100644 --- a/cmk/base/legacy_checks/oracle_crs_voting.py +++ b/cmk/base/legacy_checks/oracle_crs_voting.py @@ -52,6 +52,7 @@ def parse_oracle_crs_voting(string_table: StringTable) -> StringTable: check_info["oracle_crs_voting"] = LegacyCheckDefinition( + name="oracle_crs_voting", parse_function=parse_oracle_crs_voting, service_name="ORA-GI Voting", discovery_function=inventory_oracle_crs_voting, diff --git a/cmk/base/legacy_checks/oracle_dataguard_stats.py b/cmk/base/legacy_checks/oracle_dataguard_stats.py index 87947bf8fbc..c3e8ec88aa5 100644 --- a/cmk/base/legacy_checks/oracle_dataguard_stats.py +++ b/cmk/base/legacy_checks/oracle_dataguard_stats.py @@ -158,6 +158,7 @@ def check_oracle_dataguard_stats(item, params, parsed): # pylint: disable=too-m check_info["oracle_dataguard_stats"] = LegacyCheckDefinition( + name="oracle_dataguard_stats", # section is already migrated! service_name="ORA %s Dataguard-Stats", discovery_function=inventory_oracle_dataguard_stats, diff --git a/cmk/base/legacy_checks/oracle_diva_csm.py b/cmk/base/legacy_checks/oracle_diva_csm.py index 30589926ef1..f0825f24305 100644 --- a/cmk/base/legacy_checks/oracle_diva_csm.py +++ b/cmk/base/legacy_checks/oracle_diva_csm.py @@ -90,6 +90,7 @@ def check_oracle_diva_csm(item, params, info): check_info["oracle_diva_csm"] = LegacyCheckDefinition( + name="oracle_diva_csm", parse_function=parse_oracle_diva_csm, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.311.1.1.3.1.2"), fetch=[ @@ -133,6 +134,7 @@ def check_oracle_diva_csm_drive(item, params, info): check_info["oracle_diva_csm.drive"] = LegacyCheckDefinition( + name="oracle_diva_csm_drive", service_name="DIVA Status %s", sections=["oracle_diva_csm"], discovery_function=discover_oracle_diva_csm_drive, @@ -149,6 +151,7 @@ def check_oracle_diva_csm_actor(item, params, info): check_info["oracle_diva_csm.actor"] = LegacyCheckDefinition( + name="oracle_diva_csm_actor", service_name="DIVA Status %s", sections=["oracle_diva_csm"], discovery_function=discover_oracle_diva_csm_actor, @@ -165,6 +168,7 @@ def check_oracle_diva_csm_archive(item, params, info): check_info["oracle_diva_csm.archive"] = LegacyCheckDefinition( + name="oracle_diva_csm_archive", service_name="DIVA Status %s", sections=["oracle_diva_csm"], discovery_function=discover_oracle_diva_csm_archive, @@ -223,6 +227,7 @@ def check_oracle_diva_csm_objects(item, params, info): check_info["oracle_diva_csm.objects"] = LegacyCheckDefinition( + name="oracle_diva_csm_objects", service_name="DIVA Managed Objects", sections=["oracle_diva_csm"], discovery_function=inventory_oracle_diva_csm_objects, @@ -261,6 +266,7 @@ def check_oracle_diva_csm_tapes(item, params, info): check_info["oracle_diva_csm.tapes"] = LegacyCheckDefinition( + name="oracle_diva_csm_tapes", service_name="DIVA Blank Tapes", sections=["oracle_diva_csm"], discovery_function=inventory_oracle_diva_csm_tapes, diff --git a/cmk/base/legacy_checks/oracle_jobs.py b/cmk/base/legacy_checks/oracle_jobs.py index 0b162b73784..ee6e65152bd 100644 --- a/cmk/base/legacy_checks/oracle_jobs.py +++ b/cmk/base/legacy_checks/oracle_jobs.py @@ -264,6 +264,7 @@ def parse_oracle_jobs(string_table: StringTable) -> StringTable: check_info["oracle_jobs"] = LegacyCheckDefinition( + name="oracle_jobs", parse_function=parse_oracle_jobs, service_name="ORA %s Job", discovery_function=inventory_oracle_jobs, diff --git a/cmk/base/legacy_checks/oracle_locks.py b/cmk/base/legacy_checks/oracle_locks.py index 6d6c7d8efbf..9f60dfd3473 100644 --- a/cmk/base/legacy_checks/oracle_locks.py +++ b/cmk/base/legacy_checks/oracle_locks.py @@ -128,6 +128,7 @@ def parse_oracle_locks(string_table: StringTable) -> StringTable: check_info["oracle_locks"] = LegacyCheckDefinition( + name="oracle_locks", parse_function=parse_oracle_locks, service_name="ORA %s Locks", discovery_function=inventory_oracle_locks, diff --git a/cmk/base/legacy_checks/oracle_logswitches.py b/cmk/base/legacy_checks/oracle_logswitches.py index 68f8de42578..0113138ab39 100644 --- a/cmk/base/legacy_checks/oracle_logswitches.py +++ b/cmk/base/legacy_checks/oracle_logswitches.py @@ -65,6 +65,7 @@ def parse_oracle_logswitches(string_table: StringTable) -> StringTable: check_info["oracle_logswitches"] = LegacyCheckDefinition( + name="oracle_logswitches", parse_function=parse_oracle_logswitches, service_name="ORA %s Logswitches", discovery_function=inventory_oracle_logswitches, diff --git a/cmk/base/legacy_checks/oracle_longactivesessions.py b/cmk/base/legacy_checks/oracle_longactivesessions.py index 5c9227e0350..e2f922d401a 100644 --- a/cmk/base/legacy_checks/oracle_longactivesessions.py +++ b/cmk/base/legacy_checks/oracle_longactivesessions.py @@ -81,6 +81,7 @@ def parse_oracle_longactivesessions(string_table: StringTable) -> StringTable: check_info["oracle_longactivesessions"] = LegacyCheckDefinition( + name="oracle_longactivesessions", parse_function=parse_oracle_longactivesessions, service_name="ORA %s Long Active Sessions", discovery_function=inventory_oracle_longactivesessions, diff --git a/cmk/base/legacy_checks/oracle_recovery_area.py b/cmk/base/legacy_checks/oracle_recovery_area.py index 8a42a8d0f3e..43a943d7a00 100644 --- a/cmk/base/legacy_checks/oracle_recovery_area.py +++ b/cmk/base/legacy_checks/oracle_recovery_area.py @@ -68,6 +68,7 @@ def parse_oracle_recovery_area(string_table: StringTable) -> StringTable: check_info["oracle_recovery_area"] = LegacyCheckDefinition( + name="oracle_recovery_area", parse_function=parse_oracle_recovery_area, service_name="ORA %s Recovery Area", discovery_function=inventory_oracle_recovery_area, diff --git a/cmk/base/legacy_checks/oracle_recovery_status.py b/cmk/base/legacy_checks/oracle_recovery_status.py index 12df5ed3796..b5089e8b348 100644 --- a/cmk/base/legacy_checks/oracle_recovery_status.py +++ b/cmk/base/legacy_checks/oracle_recovery_status.py @@ -215,6 +215,7 @@ def parse_oracle_recovery_status(string_table: StringTable) -> StringTable: check_info["oracle_recovery_status"] = LegacyCheckDefinition( + name="oracle_recovery_status", parse_function=parse_oracle_recovery_status, service_name="ORA %s Recovery Status", discovery_function=inventory_oracle_recovery_status, diff --git a/cmk/base/legacy_checks/oracle_sessions.py b/cmk/base/legacy_checks/oracle_sessions.py index 05ab6d29d52..642deab0821 100644 --- a/cmk/base/legacy_checks/oracle_sessions.py +++ b/cmk/base/legacy_checks/oracle_sessions.py @@ -82,6 +82,7 @@ def check_oracle_sessions(item, params, parsed): check_info["oracle_sessions"] = LegacyCheckDefinition( + name="oracle_sessions", parse_function=parse_oracle_sessions, service_name="ORA %s Sessions", discovery_function=inventory_oracle_sessions, diff --git a/cmk/base/legacy_checks/oracle_undostat.py b/cmk/base/legacy_checks/oracle_undostat.py index 14bba983ef1..f9b8edf1ec4 100644 --- a/cmk/base/legacy_checks/oracle_undostat.py +++ b/cmk/base/legacy_checks/oracle_undostat.py @@ -66,6 +66,7 @@ def check_oracle_undostat(item, params, parsed): check_info["oracle_undostat"] = LegacyCheckDefinition( + name="oracle_undostat", parse_function=parse_oracle_undostat, service_name="ORA %s Undo Retention", discovery_function=discover_oracle_undostat, diff --git a/cmk/base/legacy_checks/oracle_version.py b/cmk/base/legacy_checks/oracle_version.py index e2afebd0232..171edee5e12 100644 --- a/cmk/base/legacy_checks/oracle_version.py +++ b/cmk/base/legacy_checks/oracle_version.py @@ -40,6 +40,7 @@ def parse_oracle_version(string_table: StringTable) -> StringTable: check_info["oracle_version"] = LegacyCheckDefinition( + name="oracle_version", parse_function=parse_oracle_version, service_name="ORA Version %s", discovery_function=inventory_oracle_version, diff --git a/cmk/base/legacy_checks/orion_backup.py b/cmk/base/legacy_checks/orion_backup.py index 1264119155a..6df4ef08224 100644 --- a/cmk/base/legacy_checks/orion_backup.py +++ b/cmk/base/legacy_checks/orion_backup.py @@ -32,6 +32,7 @@ def parse_orion_backup(string_table: StringTable) -> StringTable | None: check_info["orion_backup"] = LegacyCheckDefinition( + name="orion_backup", parse_function=parse_orion_backup, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.20246"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/orion_batterytest.py b/cmk/base/legacy_checks/orion_batterytest.py index 7428c04c41f..bc597f16c90 100644 --- a/cmk/base/legacy_checks/orion_batterytest.py +++ b/cmk/base/legacy_checks/orion_batterytest.py @@ -41,6 +41,7 @@ def parse_orion_batterytest(string_table: StringTable) -> StringTable | None: check_info["orion_batterytest"] = LegacyCheckDefinition( + name="orion_batterytest", parse_function=parse_orion_batterytest, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.20246"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/orion_system.py b/cmk/base/legacy_checks/orion_system.py index 2f9573d8b63..9463683cba1 100644 --- a/cmk/base/legacy_checks/orion_system.py +++ b/cmk/base/legacy_checks/orion_system.py @@ -87,6 +87,7 @@ def check_orion_system_temp(item, params, parsed): check_info["orion_system"] = LegacyCheckDefinition( + name="orion_system", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.20246"), fetch=SNMPTree( base=".1.3.6.1.4.1.20246.2.3.1.1.1.2.3", @@ -113,6 +114,7 @@ def check_orion_system_charging(item, params, parsed): check_info["orion_system.charging"] = LegacyCheckDefinition( + name="orion_system_charging", service_name="Charge %s", sections=["orion_system"], discovery_function=inventory_orion_system_charging, @@ -130,6 +132,7 @@ def check_orion_system_electrical(item, params, parsed): check_info["orion_system.dc"] = LegacyCheckDefinition( + name="orion_system_dc", service_name="Direct Current %s", sections=["orion_system"], discovery_function=discover_orion_system_electrical, diff --git a/cmk/base/legacy_checks/packeteer_fan_status.py b/cmk/base/legacy_checks/packeteer_fan_status.py index 495499199b7..1bf8becbbf1 100644 --- a/cmk/base/legacy_checks/packeteer_fan_status.py +++ b/cmk/base/legacy_checks/packeteer_fan_status.py @@ -32,6 +32,7 @@ def parse_packeteer_fan_status(string_table: StringTable) -> StringTable | None: check_info["packeteer_fan_status"] = LegacyCheckDefinition( + name="packeteer_fan_status", parse_function=parse_packeteer_fan_status, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2334"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/packeteer_ps_status.py b/cmk/base/legacy_checks/packeteer_ps_status.py index 4d0d5fa83b4..61f225ed695 100644 --- a/cmk/base/legacy_checks/packeteer_ps_status.py +++ b/cmk/base/legacy_checks/packeteer_ps_status.py @@ -29,6 +29,7 @@ def parse_packeteer_ps_status(string_table: StringTable) -> StringTable: check_info["packeteer_ps_status"] = LegacyCheckDefinition( + name="packeteer_ps_status", parse_function=parse_packeteer_ps_status, detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2334"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/palo_alto_sessions.py b/cmk/base/legacy_checks/palo_alto_sessions.py index eb555b0d52e..0a6e5447b24 100644 --- a/cmk/base/legacy_checks/palo_alto_sessions.py +++ b/cmk/base/legacy_checks/palo_alto_sessions.py @@ -64,6 +64,7 @@ def parse_palo_alto_sessions(string_table: StringTable) -> StringTable | None: check_info["palo_alto_sessions"] = LegacyCheckDefinition( + name="palo_alto_sessions", parse_function=parse_palo_alto_sessions, detect=DETECT_PALO_ALTO, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/pandacom_fan.py b/cmk/base/legacy_checks/pandacom_fan.py index 29571ebd2f8..325869dd7df 100644 --- a/cmk/base/legacy_checks/pandacom_fan.py +++ b/cmk/base/legacy_checks/pandacom_fan.py @@ -48,6 +48,7 @@ def parse_pandacom_fan(string_table: StringTable) -> StringTable: check_info["pandacom_fan"] = LegacyCheckDefinition( + name="pandacom_fan", parse_function=parse_pandacom_fan, detect=DETECT_PANDACOM, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/pandacom_psu.py b/cmk/base/legacy_checks/pandacom_psu.py index 7ba1bf75ea7..d2211b5c184 100644 --- a/cmk/base/legacy_checks/pandacom_psu.py +++ b/cmk/base/legacy_checks/pandacom_psu.py @@ -86,6 +86,7 @@ def check_pandacom_psu(item, _no_params, parsed): check_info["pandacom_psu"] = LegacyCheckDefinition( + name="pandacom_psu", detect=DETECT_PANDACOM, fetch=SNMPTree( base=".1.3.6.1.4.1.3652.3.2", diff --git a/cmk/base/legacy_checks/pandacom_sys_temp.py b/cmk/base/legacy_checks/pandacom_sys_temp.py index acee6c80472..c16015a5758 100644 --- a/cmk/base/legacy_checks/pandacom_sys_temp.py +++ b/cmk/base/legacy_checks/pandacom_sys_temp.py @@ -24,6 +24,7 @@ def check_pandacom_sys_temp(item, params, info): check_info["pandacom_sys_temp"] = LegacyCheckDefinition( + name="pandacom_sys_temp", parse_function=parse_pandacom_sys_temp, detect=DETECT_PANDACOM, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/pandacom_temp.py b/cmk/base/legacy_checks/pandacom_temp.py index e5865581e30..bf83ea45972 100644 --- a/cmk/base/legacy_checks/pandacom_temp.py +++ b/cmk/base/legacy_checks/pandacom_temp.py @@ -34,6 +34,7 @@ def check_pandacom_module_temp(item, params, info): check_info["pandacom_10gm_temp"] = LegacyCheckDefinition( + name="pandacom_10gm_temp", parse_function=parse_pandacom_temp, detect=DETECT_PANDACOM, fetch=SNMPTree( @@ -57,6 +58,7 @@ def check_pandacom_module_temp(item, params, info): check_info["pandacom_fc_temp"] = LegacyCheckDefinition( + name="pandacom_fc_temp", parse_function=parse_pandacom_temp, detect=DETECT_PANDACOM, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/papouch_th2e_sensors.py b/cmk/base/legacy_checks/papouch_th2e_sensors.py index 76d4c2e6c2c..f3d920fa37e 100644 --- a/cmk/base/legacy_checks/papouch_th2e_sensors.py +++ b/cmk/base/legacy_checks/papouch_th2e_sensors.py @@ -104,6 +104,7 @@ def check_papouch_th2e_sensors(item, params, parsed): check_info["papouch_th2e_sensors"] = LegacyCheckDefinition( + name="papouch_th2e_sensors", detect=all_of( contains(".1.3.6.1.2.1.1.1.0", "th2e"), startswith(".1.3.6.1.2.1.1.2.0", ".0.10.43.6.1.4.1") ), @@ -139,6 +140,7 @@ def check_papouch_th2e_sensors_dewpoint(item, params, parsed): check_info["papouch_th2e_sensors.dewpoint"] = LegacyCheckDefinition( + name="papouch_th2e_sensors_dewpoint", service_name="Dew point %s", sections=["papouch_th2e_sensors"], discovery_function=discover_papouch_th2e_sensors_dewpoint, @@ -170,6 +172,7 @@ def check_papouch_th2e_sensors_humidity(item, params, parsed): check_info["papouch_th2e_sensors.humidity"] = LegacyCheckDefinition( + name="papouch_th2e_sensors_humidity", service_name="Humidity %s", sections=["papouch_th2e_sensors"], discovery_function=inventory_papouch_th2e_sensors_humidity, diff --git a/cmk/base/legacy_checks/perle_chassis.py b/cmk/base/legacy_checks/perle_chassis.py index fdcbc2651c7..a3c9d9b9a82 100644 --- a/cmk/base/legacy_checks/perle_chassis.py +++ b/cmk/base/legacy_checks/perle_chassis.py @@ -35,6 +35,7 @@ def check_perle_chassis(_no_item, _no_params, section): check_info["perle_chassis"] = LegacyCheckDefinition( + name="perle_chassis", service_name="Chassis status", discovery_function=inventory_perle_chassis, check_function=check_perle_chassis, @@ -50,6 +51,7 @@ def check_perle_chassis_temp(item, params, section): check_info["perle_chassis.temp"] = LegacyCheckDefinition( + name="perle_chassis_temp", service_name="Temperature %s", sections=["perle_chassis"], discovery_function=inventory_perle_chassis_temp, diff --git a/cmk/base/legacy_checks/perle_chassis_slots.py b/cmk/base/legacy_checks/perle_chassis_slots.py index 4f2f1ae476e..22742a210d2 100644 --- a/cmk/base/legacy_checks/perle_chassis_slots.py +++ b/cmk/base/legacy_checks/perle_chassis_slots.py @@ -43,6 +43,7 @@ def check_perle_chassis_slots(item, _no_params, info): check_info["perle_chassis_slots"] = LegacyCheckDefinition( + name="perle_chassis_slots", # section is already migrated! service_name="Chassis status slot %s", discovery_function=inventory_perle_chassis_slots, diff --git a/cmk/base/legacy_checks/perle_modules_cm1000.py b/cmk/base/legacy_checks/perle_modules_cm1000.py index 84b12f83166..afb5f8cee75 100644 --- a/cmk/base/legacy_checks/perle_modules_cm1000.py +++ b/cmk/base/legacy_checks/perle_modules_cm1000.py @@ -105,6 +105,7 @@ def check_perle_cm_modules(item, _no_params, info): check_info["perle_modules_cm1110"] = LegacyCheckDefinition( + name="perle_modules_cm1110", parse_function=parse_perle_modules, detect=DETECT_PERLE, fetch=SNMPTree( @@ -130,6 +131,7 @@ def check_perle_cm_modules(item, _no_params, info): check_info["perle_modules_cm1000"] = LegacyCheckDefinition( + name="perle_modules_cm1000", parse_function=parse_perle_modules, detect=DETECT_PERLE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/perle_modules_mgt.py b/cmk/base/legacy_checks/perle_modules_mgt.py index 613801534d9..556a0815187 100644 --- a/cmk/base/legacy_checks/perle_modules_mgt.py +++ b/cmk/base/legacy_checks/perle_modules_mgt.py @@ -46,6 +46,7 @@ def parse_perle_modules_mgt(string_table: StringTable) -> StringTable: check_info["perle_modules_mgt"] = LegacyCheckDefinition( + name="perle_modules_mgt", parse_function=parse_perle_modules_mgt, detect=DETECT_PERLE, # If you change snmp info please adapt the related inventory plugin, diff --git a/cmk/base/legacy_checks/perle_psmu.py b/cmk/base/legacy_checks/perle_psmu.py index 15e155b77d4..25587a5d479 100644 --- a/cmk/base/legacy_checks/perle_psmu.py +++ b/cmk/base/legacy_checks/perle_psmu.py @@ -27,6 +27,7 @@ def discover_perle_psmu(info): check_info["perle_psmu"] = LegacyCheckDefinition( + name="perle_psmu", # section is already migrated! service_name="Power supply %s", discovery_function=discover_perle_psmu, @@ -47,6 +48,7 @@ def discover_perle_psmu_fan(info): check_info["perle_psmu.fan"] = LegacyCheckDefinition( + name="perle_psmu_fan", service_name="Fan %s", sections=["perle_psmu"], discovery_function=discover_perle_psmu_fan, diff --git a/cmk/base/legacy_checks/pfsense_status.py b/cmk/base/legacy_checks/pfsense_status.py index 68c73eb5b64..94204541c56 100644 --- a/cmk/base/legacy_checks/pfsense_status.py +++ b/cmk/base/legacy_checks/pfsense_status.py @@ -31,6 +31,7 @@ def parse_pfsense_status(string_table: StringTable) -> StringTable: check_info["pfsense_status"] = LegacyCheckDefinition( + name="pfsense_status", parse_function=parse_pfsense_status, detect=contains(".1.3.6.1.2.1.1.1.0", "pfsense"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/plesk_backups.py b/cmk/base/legacy_checks/plesk_backups.py index fef3e2938e3..6f3735cb693 100644 --- a/cmk/base/legacy_checks/plesk_backups.py +++ b/cmk/base/legacy_checks/plesk_backups.py @@ -87,6 +87,7 @@ def check_plesk_backups(item: str, params: Mapping[str, object], section: Sectio check_info["plesk_backups"] = LegacyCheckDefinition( + name="plesk_backups", parse_function=parse_plesk_backups, service_name="Plesk Backup %s", discovery_function=inventory_plesk_backups, diff --git a/cmk/base/legacy_checks/plesk_domains.py b/cmk/base/legacy_checks/plesk_domains.py index 8cc3d6b5272..cde7ec4bf9a 100644 --- a/cmk/base/legacy_checks/plesk_domains.py +++ b/cmk/base/legacy_checks/plesk_domains.py @@ -27,6 +27,7 @@ def parse_plesk_domains(string_table: StringTable) -> StringTable: check_info["plesk_domains"] = LegacyCheckDefinition( + name="plesk_domains", parse_function=parse_plesk_domains, service_name="Plesk Domains", discovery_function=inventory_plesk_domains, diff --git a/cmk/base/legacy_checks/poseidon_inputs.py b/cmk/base/legacy_checks/poseidon_inputs.py index 991e049d48a..a219f142ffe 100644 --- a/cmk/base/legacy_checks/poseidon_inputs.py +++ b/cmk/base/legacy_checks/poseidon_inputs.py @@ -61,6 +61,7 @@ def discover_poseidon_inputs(section): check_info["poseidon_inputs"] = LegacyCheckDefinition( + name="poseidon_inputs", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.21796.3"), fetch=SNMPTree( base=".1.3.6.1.4.1.21796.3.3.1.1", diff --git a/cmk/base/legacy_checks/poseidon_temp.py b/cmk/base/legacy_checks/poseidon_temp.py index aa940808332..1750f300f3b 100644 --- a/cmk/base/legacy_checks/poseidon_temp.py +++ b/cmk/base/legacy_checks/poseidon_temp.py @@ -52,6 +52,7 @@ def discover_poseidon_temp(section): check_info["poseidon_temp"] = LegacyCheckDefinition( + name="poseidon_temp", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.21796.3"), fetch=SNMPTree( base=".1.3.6.1.4.1.21796.3.3.3.1", diff --git a/cmk/base/legacy_checks/postfix_mailq.py b/cmk/base/legacy_checks/postfix_mailq.py index 5def950dcf6..4c3ef3ad156 100644 --- a/cmk/base/legacy_checks/postfix_mailq.py +++ b/cmk/base/legacy_checks/postfix_mailq.py @@ -165,6 +165,7 @@ def check_postfix_mailq(item, params, parsed): check_info["postfix_mailq"] = LegacyCheckDefinition( + name="postfix_mailq", parse_function=parse_postfix_mailq, service_name="Postfix Queue %s", discovery_function=inventory_postfix_mailq, diff --git a/cmk/base/legacy_checks/postgres_bloat.py b/cmk/base/legacy_checks/postgres_bloat.py index b7a084b0531..c78340b4fde 100644 --- a/cmk/base/legacy_checks/postgres_bloat.py +++ b/cmk/base/legacy_checks/postgres_bloat.py @@ -156,6 +156,7 @@ def check_postgres_bloat(item, params, parsed): # pylint: disable=too-many-bran check_info["postgres_bloat"] = LegacyCheckDefinition( + name="postgres_bloat", parse_function=postgres.parse_dbs, service_name="PostgreSQL Bloat %s", discovery_function=inventory_postgres_bloat, diff --git a/cmk/base/legacy_checks/postgres_conn_time.py b/cmk/base/legacy_checks/postgres_conn_time.py index 0f026d1c272..aed44ff073f 100644 --- a/cmk/base/legacy_checks/postgres_conn_time.py +++ b/cmk/base/legacy_checks/postgres_conn_time.py @@ -48,6 +48,7 @@ def check_postgres_conn_time(item, _no_params, parsed): check_info["postgres_conn_time"] = LegacyCheckDefinition( + name="postgres_conn_time", parse_function=parse_postgres_conn_time, service_name="PostgreSQL Connection Time %s", discovery_function=inventory_postgres_conn_time, diff --git a/cmk/base/legacy_checks/postgres_connections.py b/cmk/base/legacy_checks/postgres_connections.py index f4975ebd6fd..c0ed3843489 100644 --- a/cmk/base/legacy_checks/postgres_connections.py +++ b/cmk/base/legacy_checks/postgres_connections.py @@ -130,6 +130,7 @@ def check_postgres_connections(item, params, parsed): check_info["postgres_connections"] = LegacyCheckDefinition( + name="postgres_connections", parse_function=postgres.parse_dbs, service_name="PostgreSQL Connections %s", discovery_function=inventory_postgres_connections, diff --git a/cmk/base/legacy_checks/postgres_locks.py b/cmk/base/legacy_checks/postgres_locks.py index 150c0244ae2..583e73516be 100644 --- a/cmk/base/legacy_checks/postgres_locks.py +++ b/cmk/base/legacy_checks/postgres_locks.py @@ -74,6 +74,7 @@ def check_postgres_locks(item, params, parsed): check_info["postgres_locks"] = LegacyCheckDefinition( + name="postgres_locks", parse_function=postgres.parse_dbs, service_name="PostgreSQL Locks %s", discovery_function=inventory_postgres_locks, diff --git a/cmk/base/legacy_checks/postgres_sessions.py b/cmk/base/legacy_checks/postgres_sessions.py index 271c5cb441e..3f2739159cb 100644 --- a/cmk/base/legacy_checks/postgres_sessions.py +++ b/cmk/base/legacy_checks/postgres_sessions.py @@ -79,6 +79,7 @@ def check_postgres_sessions(item, params, parsed): check_info["postgres_sessions"] = LegacyCheckDefinition( + name="postgres_sessions", parse_function=parse_postgres_sessions, service_name="PostgreSQL Daemon Sessions %s", discovery_function=inventory_postgres_sessions, diff --git a/cmk/base/legacy_checks/postgres_stat_database.py b/cmk/base/legacy_checks/postgres_stat_database.py index ec11b7a1f2e..b59ab2f0249 100644 --- a/cmk/base/legacy_checks/postgres_stat_database.py +++ b/cmk/base/legacy_checks/postgres_stat_database.py @@ -104,6 +104,7 @@ def check_postgres_stat_database(item, params, parsed): check_info["postgres_stat_database"] = LegacyCheckDefinition( + name="postgres_stat_database", parse_function=parse_postgres_stat_database, service_name="PostgreSQL DB %s Statistics", discovery_function=inventory_postgres_stat_database, @@ -136,6 +137,7 @@ def check_postgres_stat_database_size(item, params, parsed): check_info["postgres_stat_database.size"] = LegacyCheckDefinition( + name="postgres_stat_database_size", service_name="PostgreSQL DB %s Size", sections=["postgres_stat_database"], discovery_function=inventory_postgres_stat_database_size, diff --git a/cmk/base/legacy_checks/printer_supply_ricoh.py b/cmk/base/legacy_checks/printer_supply_ricoh.py index 047719350bf..ee085476f35 100644 --- a/cmk/base/legacy_checks/printer_supply_ricoh.py +++ b/cmk/base/legacy_checks/printer_supply_ricoh.py @@ -103,6 +103,7 @@ def handle_negative(code): check_info["printer_supply_ricoh"] = LegacyCheckDefinition( + name="printer_supply_ricoh", detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.367.1.1"), fetch=SNMPTree( base=".1.3.6.1.4.1.367.3.2.1.2.24.1.1", diff --git a/cmk/base/legacy_checks/prometheus_custom.py b/cmk/base/legacy_checks/prometheus_custom.py index 8969323b70d..07b65853864 100644 --- a/cmk/base/legacy_checks/prometheus_custom.py +++ b/cmk/base/legacy_checks/prometheus_custom.py @@ -141,6 +141,7 @@ def discover_prometheus_custom(section): check_info["prometheus_custom"] = LegacyCheckDefinition( + name="prometheus_custom", parse_function=parse_prometheus_custom, service_name="%s", discovery_function=discover_prometheus_custom, diff --git a/cmk/base/legacy_checks/pulse_secure_cpu_util.py b/cmk/base/legacy_checks/pulse_secure_cpu_util.py index 1e32e75bf66..ae03158361f 100644 --- a/cmk/base/legacy_checks/pulse_secure_cpu_util.py +++ b/cmk/base/legacy_checks/pulse_secure_cpu_util.py @@ -36,6 +36,7 @@ def check_pulse_secure_cpu(item, params, parsed): check_info["pulse_secure_cpu_util"] = LegacyCheckDefinition( + name="pulse_secure_cpu_util", detect=pulse_secure.DETECT_PULSE_SECURE, fetch=SNMPTree( base=".1.3.6.1.4.1.12532", diff --git a/cmk/base/legacy_checks/pulse_secure_disk_util.py b/cmk/base/legacy_checks/pulse_secure_disk_util.py index cf2c3bea6de..de54f209c5e 100644 --- a/cmk/base/legacy_checks/pulse_secure_disk_util.py +++ b/cmk/base/legacy_checks/pulse_secure_disk_util.py @@ -40,6 +40,7 @@ def check_pulse_secure_disk_util(item, params, parsed): check_info["pulse_secure_disk_util"] = LegacyCheckDefinition( + name="pulse_secure_disk_util", detect=pulse_secure.DETECT_PULSE_SECURE, fetch=SNMPTree( base=".1.3.6.1.4.1.12532", diff --git a/cmk/base/legacy_checks/pulse_secure_log_util.py b/cmk/base/legacy_checks/pulse_secure_log_util.py index cff406f6557..9d9a950dc5f 100644 --- a/cmk/base/legacy_checks/pulse_secure_log_util.py +++ b/cmk/base/legacy_checks/pulse_secure_log_util.py @@ -39,6 +39,7 @@ def check_pulse_secure_log_util(_no_item, _no_params, parsed): check_info["pulse_secure_log_util"] = LegacyCheckDefinition( + name="pulse_secure_log_util", detect=pulse_secure.DETECT_PULSE_SECURE, fetch=SNMPTree( base=".1.3.6.1.4.1.12532", diff --git a/cmk/base/legacy_checks/pulse_secure_mem_util.py b/cmk/base/legacy_checks/pulse_secure_mem_util.py index 274bd5d6b28..b395190d93a 100644 --- a/cmk/base/legacy_checks/pulse_secure_mem_util.py +++ b/cmk/base/legacy_checks/pulse_secure_mem_util.py @@ -44,6 +44,7 @@ def check_pulse_secure_mem(item, params, parsed): check_info["pulse_secure_mem_util"] = LegacyCheckDefinition( + name="pulse_secure_mem_util", detect=pulse_secure.DETECT_PULSE_SECURE, fetch=SNMPTree( base=".1.3.6.1.4.1.12532", diff --git a/cmk/base/legacy_checks/pulse_secure_temp.py b/cmk/base/legacy_checks/pulse_secure_temp.py index 6b6e95bbc64..c346e0a7959 100644 --- a/cmk/base/legacy_checks/pulse_secure_temp.py +++ b/cmk/base/legacy_checks/pulse_secure_temp.py @@ -31,6 +31,7 @@ def discover_pulse_secure_temp(section): check_info["pulse_secure_temp"] = LegacyCheckDefinition( + name="pulse_secure_temp", detect=pulse_secure.DETECT_PULSE_SECURE, fetch=SNMPTree( base=".1.3.6.1.4.1.12532", diff --git a/cmk/base/legacy_checks/pvecm_nodes.py b/cmk/base/legacy_checks/pvecm_nodes.py index 11e5cbd719b..98b13cfcb85 100644 --- a/cmk/base/legacy_checks/pvecm_nodes.py +++ b/cmk/base/legacy_checks/pvecm_nodes.py @@ -115,6 +115,7 @@ def check_pvecm_nodes(item, _no_params, parsed): check_info["pvecm_nodes"] = LegacyCheckDefinition( + name="pvecm_nodes", parse_function=parse_pvecm_nodes, service_name="PVE Node %s", discovery_function=inventory_pvecm_nodes, diff --git a/cmk/base/legacy_checks/pvecm_status.py b/cmk/base/legacy_checks/pvecm_status.py index dd80ec6ca0c..c5162391930 100644 --- a/cmk/base/legacy_checks/pvecm_status.py +++ b/cmk/base/legacy_checks/pvecm_status.py @@ -100,6 +100,7 @@ def check_pvecm_status(_no_item, _no_params, parsed): check_info["pvecm_status"] = LegacyCheckDefinition( + name="pvecm_status", parse_function=parse_pvecm_status, service_name="PVE Cluster State", discovery_function=inventory_pvecm_status, diff --git a/cmk/base/legacy_checks/qlogic_fcport.py b/cmk/base/legacy_checks/qlogic_fcport.py index 288dc9abffc..9807291fe55 100644 --- a/cmk/base/legacy_checks/qlogic_fcport.py +++ b/cmk/base/legacy_checks/qlogic_fcport.py @@ -255,6 +255,7 @@ def parse_qlogic_fcport(string_table: StringTable) -> StringTable: check_info["qlogic_fcport"] = LegacyCheckDefinition( + name="qlogic_fcport", parse_function=parse_qlogic_fcport, detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1663.1.1"), diff --git a/cmk/base/legacy_checks/qlogic_sanbox.py b/cmk/base/legacy_checks/qlogic_sanbox.py index 46c37c4abe0..d95d50d980b 100644 --- a/cmk/base/legacy_checks/qlogic_sanbox.py +++ b/cmk/base/legacy_checks/qlogic_sanbox.py @@ -24,6 +24,7 @@ def parse_qlogic_sanbox(string_table: StringTable) -> StringTable: check_info["qlogic_sanbox"] = LegacyCheckDefinition( + name="qlogic_sanbox", parse_function=parse_qlogic_sanbox, detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.3873.1.14"), @@ -106,6 +107,7 @@ def check_qlogic_sanbox_temp(item, _no_params, info): check_info["qlogic_sanbox.temp"] = LegacyCheckDefinition( + name="qlogic_sanbox_temp", service_name="Temperature Sensor %s", sections=["qlogic_sanbox"], discovery_function=inventory_qlogic_sanbox_temp, @@ -171,6 +173,7 @@ def check_qlogic_sanbox_psu(item, _no_params, info): check_info["qlogic_sanbox.psu"] = LegacyCheckDefinition( + name="qlogic_sanbox_psu", service_name="PSU %s", sections=["qlogic_sanbox"], discovery_function=inventory_qlogic_sanbox_psu, diff --git a/cmk/base/legacy_checks/qlogic_sanbox_fabric_element.py b/cmk/base/legacy_checks/qlogic_sanbox_fabric_element.py index e3a70751eea..c508ef15ad2 100644 --- a/cmk/base/legacy_checks/qlogic_sanbox_fabric_element.py +++ b/cmk/base/legacy_checks/qlogic_sanbox_fabric_element.py @@ -38,6 +38,7 @@ def parse_qlogic_sanbox_fabric_element(string_table: StringTable) -> StringTable check_info["qlogic_sanbox_fabric_element"] = LegacyCheckDefinition( + name="qlogic_sanbox_fabric_element", parse_function=parse_qlogic_sanbox_fabric_element, detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.3873.1.14"), diff --git a/cmk/base/legacy_checks/qmail_stats.py b/cmk/base/legacy_checks/qmail_stats.py index bab56b8cdb7..cc30f2b7f30 100644 --- a/cmk/base/legacy_checks/qmail_stats.py +++ b/cmk/base/legacy_checks/qmail_stats.py @@ -54,6 +54,7 @@ def parse_qmail_stats(string_table: StringTable) -> StringTable: check_info["qmail_stats"] = LegacyCheckDefinition( + name="qmail_stats", parse_function=parse_qmail_stats, service_name="Qmail Queue", discovery_function=discover_qmail_stats, diff --git a/cmk/base/legacy_checks/qnap_disks.py b/cmk/base/legacy_checks/qnap_disks.py index 3f8d7a37854..9959476bf7a 100644 --- a/cmk/base/legacy_checks/qnap_disks.py +++ b/cmk/base/legacy_checks/qnap_disks.py @@ -42,6 +42,7 @@ def parse_qnap_disks(string_table: StringTable) -> StringTable: check_info["qnap_disks"] = LegacyCheckDefinition( + name="qnap_disks", parse_function=parse_qnap_disks, detect=DETECT_QNAP, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/qnap_fans.py b/cmk/base/legacy_checks/qnap_fans.py index db96c514ff0..a9a972154a8 100644 --- a/cmk/base/legacy_checks/qnap_fans.py +++ b/cmk/base/legacy_checks/qnap_fans.py @@ -33,6 +33,7 @@ def discover_qnap_fans(section): check_info["qnap_fans"] = LegacyCheckDefinition( + name="qnap_fans", detect=DETECT_QNAP, fetch=SNMPTree( base=".1.3.6.1.4.1.24681.1.2.15.1", diff --git a/cmk/base/legacy_checks/qnap_hdd_temp.py b/cmk/base/legacy_checks/qnap_hdd_temp.py index 051daec3692..cb29f36cfa3 100644 --- a/cmk/base/legacy_checks/qnap_hdd_temp.py +++ b/cmk/base/legacy_checks/qnap_hdd_temp.py @@ -34,6 +34,7 @@ def discover_qnap_hdd_temp(section): check_info["qnap_hdd_temp"] = LegacyCheckDefinition( + name="qnap_hdd_temp", detect=DETECT_QNAP, fetch=SNMPTree( base=".1.3.6.1.4.1.24681.1.2.11.1", diff --git a/cmk/base/legacy_checks/quanta_fan.py b/cmk/base/legacy_checks/quanta_fan.py index d3bde7c3290..dbb4eb4f27b 100644 --- a/cmk/base/legacy_checks/quanta_fan.py +++ b/cmk/base/legacy_checks/quanta_fan.py @@ -58,6 +58,7 @@ def discover_quanta_fan(section): check_info["quanta_fan"] = LegacyCheckDefinition( + name="quanta_fan", detect=DETECT_QUANTA, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/quanta_temperature.py b/cmk/base/legacy_checks/quanta_temperature.py index aa20f3864fc..cca5998ad71 100644 --- a/cmk/base/legacy_checks/quanta_temperature.py +++ b/cmk/base/legacy_checks/quanta_temperature.py @@ -60,6 +60,7 @@ def discover_quanta_temperature(section): check_info["quanta_temperature"] = LegacyCheckDefinition( + name="quanta_temperature", detect=DETECT_QUANTA, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/quanta_voltage.py b/cmk/base/legacy_checks/quanta_voltage.py index 9d734be3d81..b865445a048 100644 --- a/cmk/base/legacy_checks/quanta_voltage.py +++ b/cmk/base/legacy_checks/quanta_voltage.py @@ -57,6 +57,7 @@ def discover_quanta_voltage(section): check_info["quanta_voltage"] = LegacyCheckDefinition( + name="quanta_voltage", detect=DETECT_QUANTA, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/ra32e_power.py b/cmk/base/legacy_checks/ra32e_power.py index 502b5c802e5..649c90bff2b 100644 --- a/cmk/base/legacy_checks/ra32e_power.py +++ b/cmk/base/legacy_checks/ra32e_power.py @@ -31,6 +31,7 @@ def parse_ra32e_power(string_table: StringTable) -> StringTable: check_info["ra32e_power"] = LegacyCheckDefinition( + name="ra32e_power", parse_function=parse_ra32e_power, detect=DETECT_RA32E, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ra32e_sensors.py b/cmk/base/legacy_checks/ra32e_sensors.py index 9901596f2f7..12a53e786f7 100644 --- a/cmk/base/legacy_checks/ra32e_sensors.py +++ b/cmk/base/legacy_checks/ra32e_sensors.py @@ -118,6 +118,7 @@ def discover_ra32e_sensors(x): check_info["ra32e_sensors"] = LegacyCheckDefinition( + name="ra32e_sensors", detect=DETECT_RA32E, fetch=[ SNMPTree( @@ -183,6 +184,7 @@ def discover_ra32e_sensors_humidity(x): check_info["ra32e_sensors.humidity"] = LegacyCheckDefinition( + name="ra32e_sensors_humidity", service_name="Humidity %s", sections=["ra32e_sensors"], discovery_function=discover_ra32e_sensors_humidity, @@ -213,6 +215,7 @@ def discover_ra32e_sensors_voltage(x): check_info["ra32e_sensors.voltage"] = LegacyCheckDefinition( + name="ra32e_sensors_voltage", service_name="Voltage %s", sections=["ra32e_sensors"], discovery_function=discover_ra32e_sensors_voltage, @@ -243,6 +246,7 @@ def discover_ra32e_sensors_power(x): check_info["ra32e_sensors.power"] = LegacyCheckDefinition( + name="ra32e_sensors_power", service_name="Power State %s", sections=["ra32e_sensors"], discovery_function=discover_ra32e_sensors_power, diff --git a/cmk/base/legacy_checks/ra32e_switch.py b/cmk/base/legacy_checks/ra32e_switch.py index 0ed854f9595..87be4ea0680 100644 --- a/cmk/base/legacy_checks/ra32e_switch.py +++ b/cmk/base/legacy_checks/ra32e_switch.py @@ -35,6 +35,7 @@ def parse_ra32e_switch(string_table: StringTable) -> StringTable | None: check_info["ra32e_switch"] = LegacyCheckDefinition( + name="ra32e_switch", parse_function=parse_ra32e_switch, detect=DETECT_RA32E, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/rabbitmq_cluster.py b/cmk/base/legacy_checks/rabbitmq_cluster.py index 93670cd2c08..7590a4a064a 100644 --- a/cmk/base/legacy_checks/rabbitmq_cluster.py +++ b/cmk/base/legacy_checks/rabbitmq_cluster.py @@ -123,6 +123,7 @@ def check_rabbitmq_cluster(_no_item, params, parsed): check_info["rabbitmq_cluster"] = LegacyCheckDefinition( + name="rabbitmq_cluster", parse_function=parse_rabbitmq_cluster, service_name="RabbitMQ Cluster", discovery_function=inventory_rabbitmq_cluster, @@ -159,6 +160,7 @@ def check_rabbitmq_cluster_messages(_no_item, params, parsed): check_info["rabbitmq_cluster.messages"] = LegacyCheckDefinition( + name="rabbitmq_cluster_messages", service_name="RabbitMQ Cluster Messages", sections=["rabbitmq_cluster"], discovery_function=inventory_rabbitmq_cluster_messages, @@ -210,6 +212,7 @@ def _handle_output(params, value, key, infotext, hr_func): check_info["rabbitmq_cluster.stats"] = LegacyCheckDefinition( + name="rabbitmq_cluster_stats", service_name="RabbitMQ Cluster Stats", sections=["rabbitmq_cluster"], discovery_function=inventory_rabbitmq_cluster_stats, diff --git a/cmk/base/legacy_checks/rabbitmq_nodes.py b/cmk/base/legacy_checks/rabbitmq_nodes.py index a7523fc2b56..9df406d5f40 100644 --- a/cmk/base/legacy_checks/rabbitmq_nodes.py +++ b/cmk/base/legacy_checks/rabbitmq_nodes.py @@ -150,6 +150,7 @@ def check_rabbitmq_nodes(item, params, parsed): check_info["rabbitmq_nodes"] = LegacyCheckDefinition( + name="rabbitmq_nodes", parse_function=parse_rabbitmq_nodes, service_name="RabbitMQ Node %s", discovery_function=discover_rabbitmq_nodes, @@ -206,6 +207,7 @@ def check_rabbitmq_nodes_filedesc(item, params, parsed): check_info["rabbitmq_nodes.filedesc"] = LegacyCheckDefinition( + name="rabbitmq_nodes_filedesc", service_name="RabbitMQ Node %s Filedesc", sections=["rabbitmq_nodes"], discovery_function=discover_key("fd"), @@ -231,6 +233,7 @@ def check_rabbitmq_nodes_sockets(item, params, parsed): check_info["rabbitmq_nodes.sockets"] = LegacyCheckDefinition( + name="rabbitmq_nodes_sockets", service_name="RabbitMQ Node %s Sockets", sections=["rabbitmq_nodes"], discovery_function=discover_key("sockets"), @@ -266,6 +269,7 @@ def check_rabbitmq_nodes_mem(item, params, parsed): check_info["rabbitmq_nodes.mem"] = LegacyCheckDefinition( + name="rabbitmq_nodes_mem", service_name="RabbitMQ Node %s Memory", sections=["rabbitmq_nodes"], discovery_function=discover_key("mem"), @@ -332,6 +336,7 @@ def check_rabbitmq_nodes_uptime(item, params, parsed): check_info["rabbitmq_nodes.uptime"] = LegacyCheckDefinition( + name="rabbitmq_nodes_uptime", service_name="RabbitMQ Node %s Uptime", sections=["rabbitmq_nodes"], discovery_function=discover_key("uptime"), @@ -384,6 +389,7 @@ def _handle_output(params, value, total, info_text, perf_key): check_info["rabbitmq_nodes.gc"] = LegacyCheckDefinition( + name="rabbitmq_nodes_gc", service_name="RabbitMQ Node %s GC", sections=["rabbitmq_nodes"], discovery_function=discover_key("gc"), diff --git a/cmk/base/legacy_checks/rabbitmq_queues.py b/cmk/base/legacy_checks/rabbitmq_queues.py index 81384427855..74b63ac1ab5 100644 --- a/cmk/base/legacy_checks/rabbitmq_queues.py +++ b/cmk/base/legacy_checks/rabbitmq_queues.py @@ -117,6 +117,7 @@ def discover_rabbitmq_queues(section): check_info["rabbitmq_queues"] = LegacyCheckDefinition( + name="rabbitmq_queues", parse_function=parse_rabbitmq_queues, service_name="RabbitMQ Queue %s", discovery_function=discover_rabbitmq_queues, diff --git a/cmk/base/legacy_checks/rabbitmq_vhosts.py b/cmk/base/legacy_checks/rabbitmq_vhosts.py index 4c6de7ee3bf..c976739b9a3 100644 --- a/cmk/base/legacy_checks/rabbitmq_vhosts.py +++ b/cmk/base/legacy_checks/rabbitmq_vhosts.py @@ -103,6 +103,7 @@ def discover_rabbitmq_vhosts(section): check_info["rabbitmq_vhosts"] = LegacyCheckDefinition( + name="rabbitmq_vhosts", parse_function=parse_rabbitmq_vhosts, service_name="RabbitMQ Vhost %s", discovery_function=discover_rabbitmq_vhosts, diff --git a/cmk/base/legacy_checks/raritan_emx.py b/cmk/base/legacy_checks/raritan_emx.py index b552699c81e..a5fbead1932 100644 --- a/cmk/base/legacy_checks/raritan_emx.py +++ b/cmk/base/legacy_checks/raritan_emx.py @@ -102,6 +102,7 @@ def check_raritan_emx_temp(item, params, parsed): check_info["raritan_emx"] = LegacyCheckDefinition( + name="raritan_emx", detect=any_of(equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13742.8")), fetch=SNMPTree( base=".1.3.6.1.4.1.13742.9", @@ -139,6 +140,7 @@ def discover_raritan_emx_fan(parsed): check_info["raritan_emx.fan"] = LegacyCheckDefinition( + name="raritan_emx_fan", service_name="Fan %s", sections=["raritan_emx"], discovery_function=discover_raritan_emx_fan, @@ -161,6 +163,7 @@ def discover_raritan_emx_binary(parsed): # '----------------------------------------------------------------------' check_info["raritan_emx.binary"] = LegacyCheckDefinition( + name="raritan_emx_binary", service_name="Door %s", sections=["raritan_emx"], discovery_function=discover_raritan_emx_binary, diff --git a/cmk/base/legacy_checks/raritan_emx_sensors.py b/cmk/base/legacy_checks/raritan_emx_sensors.py index 9e36aa474fb..713b1d90186 100644 --- a/cmk/base/legacy_checks/raritan_emx_sensors.py +++ b/cmk/base/legacy_checks/raritan_emx_sensors.py @@ -35,6 +35,7 @@ def discover_raritan_emx_sensors(parsed): check_info["raritan_emx_sensors"] = LegacyCheckDefinition( + name="raritan_emx_sensors", detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13742.8"), fetch=SNMPTree( base=".1.3.6.1.4.1.13742.8", @@ -75,6 +76,7 @@ def discover_raritan_emx_sensors_temp(parsed): # +----------------------------------------------------------------------+ check_info["raritan_emx_sensors.temp"] = LegacyCheckDefinition( + name="raritan_emx_sensors_temp", service_name="Temperature %s", sections=["raritan_emx_sensors"], discovery_function=discover_raritan_emx_sensors_temp, @@ -98,6 +100,7 @@ def discover_raritan_emx_sensors_airflow(parsed): # +----------------------------------------------------------------------+ check_info["raritan_emx_sensors.airflow"] = LegacyCheckDefinition( + name="raritan_emx_sensors_airflow", service_name="Air flow %s", sections=["raritan_emx_sensors"], discovery_function=discover_raritan_emx_sensors_airflow, @@ -120,6 +123,7 @@ def discover_raritan_emx_sensors_humidity(parsed): # +----------------------------------------------------------------------+ check_info["raritan_emx_sensors.humidity"] = LegacyCheckDefinition( + name="raritan_emx_sensors_humidity", service_name="Humidity %s", sections=["raritan_emx_sensors"], discovery_function=discover_raritan_emx_sensors_humidity, @@ -142,6 +146,7 @@ def discover_raritan_emx_sensors_pressure(parsed): # +----------------------------------------------------------------------+ check_info["raritan_emx_sensors.pressure"] = LegacyCheckDefinition( + name="raritan_emx_sensors_pressure", service_name="Pressure %s", sections=["raritan_emx_sensors"], discovery_function=discover_raritan_emx_sensors_pressure, diff --git a/cmk/base/legacy_checks/raritan_pdu_inlet.py b/cmk/base/legacy_checks/raritan_pdu_inlet.py index 78e0b4d69c1..1b2c506d7ba 100644 --- a/cmk/base/legacy_checks/raritan_pdu_inlet.py +++ b/cmk/base/legacy_checks/raritan_pdu_inlet.py @@ -43,6 +43,7 @@ def discover_raritan_pdu_inlet(section): check_info["raritan_pdu_inlet"] = LegacyCheckDefinition( + name="raritan_pdu_inlet", detect=DETECT_RARITAN, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/raritan_pdu_inlet_summary.py b/cmk/base/legacy_checks/raritan_pdu_inlet_summary.py index 05f4af51722..823be0b3c1e 100644 --- a/cmk/base/legacy_checks/raritan_pdu_inlet_summary.py +++ b/cmk/base/legacy_checks/raritan_pdu_inlet_summary.py @@ -34,6 +34,7 @@ def discover_raritan_pdu_inlet_summary(section): check_info["raritan_pdu_inlet_summary"] = LegacyCheckDefinition( + name="raritan_pdu_inlet_summary", detect=DETECT_RARITAN, fetch=SNMPTree( base=".1.3.6.1.4.1.13742.6", diff --git a/cmk/base/legacy_checks/raritan_pdu_ocprot.py b/cmk/base/legacy_checks/raritan_pdu_ocprot.py index d12bbca4819..0d11c31cd70 100644 --- a/cmk/base/legacy_checks/raritan_pdu_ocprot.py +++ b/cmk/base/legacy_checks/raritan_pdu_ocprot.py @@ -78,6 +78,7 @@ def check_raritan_pdu_ocprot(item, params, parsed): check_info["raritan_pdu_ocprot"] = LegacyCheckDefinition( + name="raritan_pdu_ocprot", detect=contains(".1.3.6.1.2.1.1.2.0", "13742"), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/raritan_pdu_outletcount.py b/cmk/base/legacy_checks/raritan_pdu_outletcount.py index 50ea59327f0..f5efb57f238 100644 --- a/cmk/base/legacy_checks/raritan_pdu_outletcount.py +++ b/cmk/base/legacy_checks/raritan_pdu_outletcount.py @@ -30,6 +30,7 @@ def parse_raritan_pdu_outletcount(string_table: StringTable) -> StringTable: check_info["raritan_pdu_outletcount"] = LegacyCheckDefinition( + name="raritan_pdu_outletcount", parse_function=parse_raritan_pdu_outletcount, detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13742.6"), diff --git a/cmk/base/legacy_checks/raritan_pdu_plugs.py b/cmk/base/legacy_checks/raritan_pdu_plugs.py index 157da5bebca..c3dc0938e47 100644 --- a/cmk/base/legacy_checks/raritan_pdu_plugs.py +++ b/cmk/base/legacy_checks/raritan_pdu_plugs.py @@ -42,6 +42,7 @@ def check_raritan_pdu_plugs(item, params, parsed): check_info["raritan_pdu_plugs"] = LegacyCheckDefinition( + name="raritan_pdu_plugs", detect=all_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13742.6"), any_of( diff --git a/cmk/base/legacy_checks/raritan_px2_sensors.py b/cmk/base/legacy_checks/raritan_px2_sensors.py index 23f0fbfec10..32bb2e1b986 100644 --- a/cmk/base/legacy_checks/raritan_px2_sensors.py +++ b/cmk/base/legacy_checks/raritan_px2_sensors.py @@ -34,6 +34,7 @@ def discover_raritan_px2_sensors(parsed): check_info["raritan_px2_sensors"] = LegacyCheckDefinition( + name="raritan_px2_sensors", detect=DETECT_RARITAN, fetch=SNMPTree( base=".1.3.6.1.4.1.13742.6", @@ -75,6 +76,7 @@ def discover_raritan_px2_sensors_airflow(parsed): # +----------------------------------------------------------------------+ check_info["raritan_px2_sensors.airflow"] = LegacyCheckDefinition( + name="raritan_px2_sensors_airflow", service_name="Air flow %s", sections=["raritan_px2_sensors"], discovery_function=discover_raritan_px2_sensors_airflow, @@ -97,6 +99,7 @@ def discover_raritan_px2_sensors_humidity(parsed): # +----------------------------------------------------------------------+ check_info["raritan_px2_sensors.humidity"] = LegacyCheckDefinition( + name="raritan_px2_sensors_humidity", service_name="Humidity %s", sections=["raritan_px2_sensors"], discovery_function=discover_raritan_px2_sensors_humidity, @@ -119,6 +122,7 @@ def discover_raritan_px2_sensors_pressure(parsed): # +----------------------------------------------------------------------+ check_info["raritan_px2_sensors.pressure"] = LegacyCheckDefinition( + name="raritan_px2_sensors_pressure", service_name="Pressure %s", sections=["raritan_px2_sensors"], discovery_function=discover_raritan_px2_sensors_pressure, diff --git a/cmk/base/legacy_checks/raritan_px_outlets.py b/cmk/base/legacy_checks/raritan_px_outlets.py index 54a3a329829..8b16c0ca595 100644 --- a/cmk/base/legacy_checks/raritan_px_outlets.py +++ b/cmk/base/legacy_checks/raritan_px_outlets.py @@ -79,6 +79,7 @@ def check_raritan_px_outlets(item, params, parsed): check_info["raritan_px_outlets"] = LegacyCheckDefinition( + name="raritan_px_outlets", detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13742.4"), fetch=SNMPTree( base=".1.3.6.1.4.1.13742.4.1.2.2.1", diff --git a/cmk/base/legacy_checks/raritan_px_sensors.py b/cmk/base/legacy_checks/raritan_px_sensors.py index 7e6c536be48..036d0b7a43a 100644 --- a/cmk/base/legacy_checks/raritan_px_sensors.py +++ b/cmk/base/legacy_checks/raritan_px_sensors.py @@ -120,6 +120,7 @@ def discover_raritan_px_sensors(parsed): # '----------------------------------------------------------------------' check_info["raritan_px_sensors"] = LegacyCheckDefinition( + name="raritan_px_sensors", detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.13742.4"), fetch=SNMPTree( base=".1.3.6.1.4.1.13742.4.3.3.1", @@ -148,6 +149,7 @@ def discover_raritan_px_sensors_humidity(parsed): # '----------------------------------------------------------------------' check_info["raritan_px_sensors.humidity"] = LegacyCheckDefinition( + name="raritan_px_sensors_humidity", service_name="Humidity %s", sections=["raritan_px_sensors"], discovery_function=discover_raritan_px_sensors_humidity, @@ -170,6 +172,7 @@ def discover_raritan_px_sensors_binary(parsed): # '----------------------------------------------------------------------' check_info["raritan_px_sensors.binary"] = LegacyCheckDefinition( + name="raritan_px_sensors_binary", service_name="Contact %s", sections=["raritan_px_sensors"], discovery_function=discover_raritan_px_sensors_binary, diff --git a/cmk/base/legacy_checks/rds_licenses.py b/cmk/base/legacy_checks/rds_licenses.py index 6be0d705277..82f994c895d 100644 --- a/cmk/base/legacy_checks/rds_licenses.py +++ b/cmk/base/legacy_checks/rds_licenses.py @@ -72,6 +72,7 @@ def discover_rds_licenses(section): check_info["rds_licenses"] = LegacyCheckDefinition( + name="rds_licenses", parse_function=parse_rds_licenses, service_name="RDS Licenses %s", discovery_function=discover_rds_licenses, diff --git a/cmk/base/legacy_checks/rms200_temp.py b/cmk/base/legacy_checks/rms200_temp.py index 6e4aff2955d..58e233fe900 100644 --- a/cmk/base/legacy_checks/rms200_temp.py +++ b/cmk/base/legacy_checks/rms200_temp.py @@ -34,6 +34,7 @@ def parse_rms200_temp(string_table: StringTable) -> StringTable: check_info["rms200_temp"] = LegacyCheckDefinition( + name="rms200_temp", parse_function=parse_rms200_temp, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1909.13"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/rstcli.py b/cmk/base/legacy_checks/rstcli.py index 52b5e23e4b8..aa3382faee7 100644 --- a/cmk/base/legacy_checks/rstcli.py +++ b/cmk/base/legacy_checks/rstcli.py @@ -146,6 +146,7 @@ def check_rstcli(item, _no_params, parsed): check_info["rstcli"] = LegacyCheckDefinition( + name="rstcli", parse_function=parse_rstcli, service_name="RAID Volume %s", discovery_function=inventory_rstcli, @@ -178,6 +179,7 @@ def check_rstcli_pdisks(item, _no_params, parsed): check_info["rstcli.pdisks"] = LegacyCheckDefinition( + name="rstcli_pdisks", service_name="RAID Disk %s", sections=["rstcli"], discovery_function=inventory_rstcli_pdisks, diff --git a/cmk/base/legacy_checks/safenet_hsm.py b/cmk/base/legacy_checks/safenet_hsm.py index 5ca8498be9a..429ef49eb32 100644 --- a/cmk/base/legacy_checks/safenet_hsm.py +++ b/cmk/base/legacy_checks/safenet_hsm.py @@ -95,6 +95,7 @@ def check_event_rate(event_type): check_info["safenet_hsm.events"] = LegacyCheckDefinition( + name="safenet_hsm_events", service_name="HSM Safenet Event Stats", sections=["safenet_hsm"], discovery_function=inventory_safenet_hsm_events, @@ -187,6 +188,7 @@ def check_operation_errors(operation_errors): check_info["safenet_hsm"] = LegacyCheckDefinition( + name="safenet_hsm", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12383"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.8072"), diff --git a/cmk/base/legacy_checks/safenet_ntls.py b/cmk/base/legacy_checks/safenet_ntls.py index 250ae471eba..59791375a1d 100644 --- a/cmk/base/legacy_checks/safenet_ntls.py +++ b/cmk/base/legacy_checks/safenet_ntls.py @@ -60,6 +60,7 @@ def check_safenet_ntls_connrate(item, _no_params, parsed): check_info["safenet_ntls.connrate"] = LegacyCheckDefinition( + name="safenet_ntls_connrate", service_name="NTLS Connection Rate: %s", sections=["safenet_ntls"], discovery_function=inventory_safenet_ntls_connrate, @@ -94,6 +95,7 @@ def check_safenet_ntls_expiration(_no_item, _no_params, parsed): check_info["safenet_ntls.expiration"] = LegacyCheckDefinition( + name="safenet_ntls_expiration", service_name="NTLS Expiration Date", sections=["safenet_ntls"], discovery_function=inventory_safenet_ntls_expiration, @@ -124,6 +126,7 @@ def check_safenet_ntls_links(_no_item, params, parsed): check_info["safenet_ntls.links"] = LegacyCheckDefinition( + name="safenet_ntls_links", service_name="NTLS Links", sections=["safenet_ntls"], discovery_function=inventory_safenet_ntls_links, @@ -166,6 +169,7 @@ def check_safenet_ntls_clients(_no_item, params, parsed): check_info["safenet_ntls.clients"] = LegacyCheckDefinition( + name="safenet_ntls_clients", service_name="NTLS Clients", sections=["safenet_ntls"], discovery_function=inventory_safenet_ntls_clients, @@ -209,6 +213,7 @@ def check_safenet_ntls(_no_item, _no_params, parsed): check_info["safenet_ntls"] = LegacyCheckDefinition( + name="safenet_ntls", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12383"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.8072"), diff --git a/cmk/base/legacy_checks/salesforce_instances.py b/cmk/base/legacy_checks/salesforce_instances.py index ba8baab76d2..62ce27e48c1 100644 --- a/cmk/base/legacy_checks/salesforce_instances.py +++ b/cmk/base/legacy_checks/salesforce_instances.py @@ -59,6 +59,7 @@ def check_salesforce_instances(item, params, parsed): check_info["salesforce_instances"] = LegacyCheckDefinition( + name="salesforce_instances", parse_function=parse_salesforce, service_name="Salesforce Instance %s", discovery_function=inventory_salesforce_instances, diff --git a/cmk/base/legacy_checks/sansymphony_alerts.py b/cmk/base/legacy_checks/sansymphony_alerts.py index 8ff387bb646..f14999e3672 100644 --- a/cmk/base/legacy_checks/sansymphony_alerts.py +++ b/cmk/base/legacy_checks/sansymphony_alerts.py @@ -30,6 +30,7 @@ def parse_sansymphony_alerts(string_table: StringTable) -> StringTable: check_info["sansymphony_alerts"] = LegacyCheckDefinition( + name="sansymphony_alerts", parse_function=parse_sansymphony_alerts, service_name="sansymphony Alerts", discovery_function=inventory_sansymphony_alerts, diff --git a/cmk/base/legacy_checks/sansymphony_ports.py b/cmk/base/legacy_checks/sansymphony_ports.py index 00955a57cd8..e529cc6aa96 100644 --- a/cmk/base/legacy_checks/sansymphony_ports.py +++ b/cmk/base/legacy_checks/sansymphony_ports.py @@ -38,6 +38,7 @@ def parse_sansymphony_ports(string_table: StringTable) -> StringTable: check_info["sansymphony_ports"] = LegacyCheckDefinition( + name="sansymphony_ports", parse_function=parse_sansymphony_ports, service_name="sansymphony Port %s", discovery_function=inventory_sansymphony_ports, diff --git a/cmk/base/legacy_checks/sansymphony_serverstatus.py b/cmk/base/legacy_checks/sansymphony_serverstatus.py index e9e8a6e3001..789ac7cd016 100644 --- a/cmk/base/legacy_checks/sansymphony_serverstatus.py +++ b/cmk/base/legacy_checks/sansymphony_serverstatus.py @@ -35,6 +35,7 @@ def parse_sansymphony_serverstatus(string_table: StringTable) -> StringTable: check_info["sansymphony_serverstatus"] = LegacyCheckDefinition( + name="sansymphony_serverstatus", parse_function=parse_sansymphony_serverstatus, service_name="sansymphony Serverstatus", discovery_function=inventory_sansymphony_serverstatus, diff --git a/cmk/base/legacy_checks/sansymphony_virtualdiskstatus.py b/cmk/base/legacy_checks/sansymphony_virtualdiskstatus.py index 7ce744d78bf..706224606f2 100644 --- a/cmk/base/legacy_checks/sansymphony_virtualdiskstatus.py +++ b/cmk/base/legacy_checks/sansymphony_virtualdiskstatus.py @@ -33,6 +33,7 @@ def discover_sansymphony_virtualdiskstatus(section): check_info["sansymphony_virtualdiskstatus"] = LegacyCheckDefinition( + name="sansymphony_virtualdiskstatus", parse_function=parse_sansymphony_virtualdiskstatus, service_name="sansymphony Virtual Disk %s", discovery_function=discover_sansymphony_virtualdiskstatus, diff --git a/cmk/base/legacy_checks/sap_hana_connect.py b/cmk/base/legacy_checks/sap_hana_connect.py index 0c89108de56..01a755f857f 100644 --- a/cmk/base/legacy_checks/sap_hana_connect.py +++ b/cmk/base/legacy_checks/sap_hana_connect.py @@ -71,6 +71,7 @@ def discover_sap_hana_connect(section): check_info["sap_hana_connect"] = LegacyCheckDefinition( + name="sap_hana_connect", parse_function=parse_sap_hana_connect, service_name="SAP HANA CONNECT %s", discovery_function=discover_sap_hana_connect, diff --git a/cmk/base/legacy_checks/sap_hana_ess_migration.py b/cmk/base/legacy_checks/sap_hana_ess_migration.py index 62839c8d159..c64459d7499 100644 --- a/cmk/base/legacy_checks/sap_hana_ess_migration.py +++ b/cmk/base/legacy_checks/sap_hana_ess_migration.py @@ -68,6 +68,7 @@ def check_sap_hana_ess_migration(item, params, parsed): check_info["sap_hana_ess_migration"] = LegacyCheckDefinition( + name="sap_hana_ess_migration", parse_function=parse_sap_hana_ess_migration, service_name="SAP HANA ESS Migration %s", discovery_function=inventory_sap_hana_ess_migration, diff --git a/cmk/base/legacy_checks/sap_state.py b/cmk/base/legacy_checks/sap_state.py index e62edb79601..a419682989a 100644 --- a/cmk/base/legacy_checks/sap_state.py +++ b/cmk/base/legacy_checks/sap_state.py @@ -33,6 +33,7 @@ def parse_sap_state(string_table: StringTable) -> StringTable: check_info["sap_state"] = LegacyCheckDefinition( + name="sap_state", parse_function=parse_sap_state, service_name="SAP State %s", discovery_function=inventory_sap_state, diff --git a/cmk/base/legacy_checks/saprouter_cert.py b/cmk/base/legacy_checks/saprouter_cert.py index bf45860a66a..e032e482d7b 100644 --- a/cmk/base/legacy_checks/saprouter_cert.py +++ b/cmk/base/legacy_checks/saprouter_cert.py @@ -105,6 +105,7 @@ def check_saprouter_cert(_no_item, params, parsed): check_info["saprouter_cert"] = LegacyCheckDefinition( + name="saprouter_cert", parse_function=parse_saprouter_cert, service_name="SAP router certificate", discovery_function=inventory_saprouter_cert, diff --git a/cmk/base/legacy_checks/scaleio_devices.py b/cmk/base/legacy_checks/scaleio_devices.py index fa8213f33f0..c17bf703e43 100644 --- a/cmk/base/legacy_checks/scaleio_devices.py +++ b/cmk/base/legacy_checks/scaleio_devices.py @@ -81,6 +81,7 @@ def discover_scaleio_devices(section): check_info["scaleio_devices"] = LegacyCheckDefinition( + name="scaleio_devices", parse_function=parse_scaleio_devices, service_name="ScaleIO Data Server %s Devices", discovery_function=discover_scaleio_devices, diff --git a/cmk/base/legacy_checks/scaleio_mdm.py b/cmk/base/legacy_checks/scaleio_mdm.py index 45722f81cf6..1f4a913d399 100644 --- a/cmk/base/legacy_checks/scaleio_mdm.py +++ b/cmk/base/legacy_checks/scaleio_mdm.py @@ -131,6 +131,7 @@ def check_scaleio_mdm(_no_item, _no_params, parsed): check_info["scaleio_mdm"] = LegacyCheckDefinition( + name="scaleio_mdm", parse_function=parse_scaleio_mdm, service_name="ScaleIO cluster status", discovery_function=inventory_scaleio_mdm, diff --git a/cmk/base/legacy_checks/scaleio_pd.py b/cmk/base/legacy_checks/scaleio_pd.py index d38f8f849d5..d5462f3d28b 100644 --- a/cmk/base/legacy_checks/scaleio_pd.py +++ b/cmk/base/legacy_checks/scaleio_pd.py @@ -44,6 +44,7 @@ def check_scaleio_pd(item, params, parsed): check_info["scaleio_pd"] = LegacyCheckDefinition( + name="scaleio_pd", parse_function=parse_scaleio_pd, service_name="ScaleIO PD capacity %s", discovery_function=inventory_scaleio_pd, @@ -70,6 +71,7 @@ def check_scaleio_pd_status(item, _no_params, parsed): check_info["scaleio_pd.status"] = LegacyCheckDefinition( + name="scaleio_pd_status", service_name="ScaleIO PD status %s", sections=["scaleio_pd"], discovery_function=inventory_scaleio_pd_status, diff --git a/cmk/base/legacy_checks/scaleio_sds.py b/cmk/base/legacy_checks/scaleio_sds.py index 5cd3134c309..c31a0e5783a 100644 --- a/cmk/base/legacy_checks/scaleio_sds.py +++ b/cmk/base/legacy_checks/scaleio_sds.py @@ -72,6 +72,7 @@ def check_scaleio_sds(item, params, parsed): check_info["scaleio_sds"] = LegacyCheckDefinition( + name="scaleio_sds", parse_function=parse_scaleio_sds, service_name="ScaleIO SDS capacity %s", discovery_function=inventory_scaleio_sds, @@ -111,6 +112,7 @@ def check_scaleio_sds_status(item, _no_params, parsed): check_info["scaleio_sds.status"] = LegacyCheckDefinition( + name="scaleio_sds_status", service_name="ScaleIO SDS status %s", sections=["scaleio_sds"], discovery_function=inventory_scaleio_sds_status, diff --git a/cmk/base/legacy_checks/scaleio_system.py b/cmk/base/legacy_checks/scaleio_system.py index 0b399107bb0..7498413c675 100644 --- a/cmk/base/legacy_checks/scaleio_system.py +++ b/cmk/base/legacy_checks/scaleio_system.py @@ -47,6 +47,7 @@ def check_scaleio_system(item, params, parsed): check_info["scaleio_system"] = LegacyCheckDefinition( + name="scaleio_system", parse_function=parse_scaleio_system, service_name="ScaleIO System %s", discovery_function=inventory_scaleio_system, diff --git a/cmk/base/legacy_checks/security_master.py b/cmk/base/legacy_checks/security_master.py index b89dda67c70..382f824224d 100644 --- a/cmk/base/legacy_checks/security_master.py +++ b/cmk/base/legacy_checks/security_master.py @@ -173,6 +173,7 @@ def discover_security_master(parsed): check_info["security_master"] = LegacyCheckDefinition( + name="security_master", detect=startswith(".1.3.6.1.2.1.1.2.0", "1.3.6.1.4.1.35491"), fetch=[ SNMPTree( @@ -216,6 +217,7 @@ def discover_security_master_humidity(parsed): check_info["security_master.humidity"] = LegacyCheckDefinition( + name="security_master_humidity", service_name="Sensor %s", sections=["security_master"], discovery_function=discover_security_master_humidity, @@ -257,6 +259,7 @@ def discover_security_master_temp(parsed): check_info["security_master.temp"] = LegacyCheckDefinition( + name="security_master_temp", service_name="Sensor %s", sections=["security_master"], discovery_function=discover_security_master_temp, diff --git a/cmk/base/legacy_checks/seh_ports.py b/cmk/base/legacy_checks/seh_ports.py index 773efec09c2..f5168e027d9 100644 --- a/cmk/base/legacy_checks/seh_ports.py +++ b/cmk/base/legacy_checks/seh_ports.py @@ -40,6 +40,7 @@ def check_seh_ports(item, params, parsed): check_info["seh_ports"] = LegacyCheckDefinition( + name="seh_ports", detect=contains(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1229.1.1"), fetch=[ # format taken from SEH-PSRV-MIB v1.167 (2021.10.15) diff --git a/cmk/base/legacy_checks/sensatronics_temp.py b/cmk/base/legacy_checks/sensatronics_temp.py index 2251bf2062f..9ab507d3e67 100644 --- a/cmk/base/legacy_checks/sensatronics_temp.py +++ b/cmk/base/legacy_checks/sensatronics_temp.py @@ -41,6 +41,7 @@ def check_sensatronics_temp( check_info["sensatronics_temp"] = LegacyCheckDefinition( + name="sensatronics_temp", detect=any_of(equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.16174.1.1.1")), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/sentry_pdu_systempower.py b/cmk/base/legacy_checks/sentry_pdu_systempower.py index 432a73c2134..9ce4908e3dd 100644 --- a/cmk/base/legacy_checks/sentry_pdu_systempower.py +++ b/cmk/base/legacy_checks/sentry_pdu_systempower.py @@ -28,6 +28,7 @@ def discover_sentry_pdu_systempower(section): check_info["sentry_pdu_systempower"] = LegacyCheckDefinition( + name="sentry_pdu_systempower", detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.1718.3"), fetch=SNMPTree( base=".1.3.6.1.4.1.1718.3.1", diff --git a/cmk/base/legacy_checks/siemens_plc.py b/cmk/base/legacy_checks/siemens_plc.py index d9cbf238ca7..cc29424b056 100644 --- a/cmk/base/legacy_checks/siemens_plc.py +++ b/cmk/base/legacy_checks/siemens_plc.py @@ -35,7 +35,9 @@ def parse_siemens_plc(string_table: StringTable) -> StringTable: return string_table -check_info["siemens_plc"] = LegacyCheckDefinition(parse_function=parse_siemens_plc) +check_info["siemens_plc"] = LegacyCheckDefinition( + name="siemens_plc", parse_function=parse_siemens_plc +) # . @@ -64,6 +66,7 @@ def check_siemens_plc_temp(item, params, info): check_info["siemens_plc.temp"] = LegacyCheckDefinition( + name="siemens_plc_temp", service_name="Temperature %s", sections=["siemens_plc"], discovery_function=inventory_siemens_plc_temp, @@ -107,6 +110,7 @@ def check_siemens_plc_flag(item, params, info): check_info["siemens_plc.flag"] = LegacyCheckDefinition( + name="siemens_plc_flag", service_name="Flag %s", sections=["siemens_plc"], discovery_function=inventory_siemens_plc_flag, @@ -172,6 +176,7 @@ def check_siemens_plc_duration(item, params, info): check_info["siemens_plc.duration"] = LegacyCheckDefinition( + name="siemens_plc_duration", service_name="Duration %s", sections=["siemens_plc"], discovery_function=inventory_siemens_plc_duration, @@ -221,6 +226,7 @@ def check_siemens_plc_counter(item, params, info): check_info["siemens_plc.counter"] = LegacyCheckDefinition( + name="siemens_plc_counter", service_name="Counter %s", sections=["siemens_plc"], discovery_function=inventory_siemens_plc_counter, @@ -253,6 +259,7 @@ def check_siemens_plc_info(item, _no_params, info): check_info["siemens_plc.info"] = LegacyCheckDefinition( + name="siemens_plc_info", service_name="Info %s", sections=["siemens_plc"], discovery_function=inventory_siemens_plc_info, @@ -294,6 +301,7 @@ def parse_siemens_plc_cpu_state(string_table: StringTable) -> StringTable: check_info["siemens_plc_cpu_state"] = LegacyCheckDefinition( + name="siemens_plc_cpu_state", parse_function=parse_siemens_plc_cpu_state, service_name="CPU state", discovery_function=inventory_siemens_plc_cpu_state, diff --git a/cmk/base/legacy_checks/silverpeak_VX6000.py b/cmk/base/legacy_checks/silverpeak_VX6000.py index e808fb284a6..5ade6ba4730 100644 --- a/cmk/base/legacy_checks/silverpeak_VX6000.py +++ b/cmk/base/legacy_checks/silverpeak_VX6000.py @@ -117,6 +117,7 @@ def check_silverpeak(_item, _params, parsed): check_info["silverpeak_VX6000"] = LegacyCheckDefinition( + name="silverpeak_VX6000", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.23867"), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/skype.py b/cmk/base/legacy_checks/skype.py index cb6832ecf29..32aa452125e 100644 --- a/cmk/base/legacy_checks/skype.py +++ b/cmk/base/legacy_checks/skype.py @@ -127,6 +127,7 @@ def discover_skype(table): check_info["skype"] = LegacyCheckDefinition( + name="skype", parse_function=parse_skype, service_name="Skype Web Components", discovery_function=discover_skype, @@ -194,6 +195,7 @@ def discover_skype_mcu(parsed): check_info["skype.mcu"] = LegacyCheckDefinition( + name="skype_mcu", service_name="Skype MCU Health", sections=["skype"], discovery_function=discover_skype_mcu, @@ -245,6 +247,7 @@ def discover_skype_conferencing(table): check_info["skype.conferencing"] = LegacyCheckDefinition( + name="skype_conferencing", service_name="Skype Conferencing", sections=["skype"], discovery_function=discover_skype_conferencing, @@ -407,6 +410,7 @@ def check_skype_sip_stack(_no_item, params, parsed): check_info["skype.sip_stack"] = LegacyCheckDefinition( + name="skype_sip_stack", service_name="Skype SIP Stack", sections=["skype"], discovery_function=discover_skype_sip_stack, @@ -486,6 +490,7 @@ def discover_skype_mediation_server(parsed): check_info["skype.mediation_server"] = LegacyCheckDefinition( + name="skype_mediation_server", service_name="Skype Mediation Server", sections=["skype"], discovery_function=discover_skype_mediation_server, @@ -517,6 +522,7 @@ def discover_skype_edge_auth(parsed): check_info["skype.edge_auth"] = LegacyCheckDefinition( + name="skype_edge_auth", service_name="Skype Edge Authentification", sections=["skype"], discovery_function=discover_skype_edge_auth, @@ -597,6 +603,7 @@ def discover_skype_edge(parsed): check_info["skype.edge"] = LegacyCheckDefinition( + name="skype_edge", service_name="Skype AV Edge %s", sections=["skype"], discovery_function=discover_skype_edge, @@ -637,6 +644,7 @@ def discover_skype_data_proxy(parsed): check_info["skype.data_proxy"] = LegacyCheckDefinition( + name="skype_data_proxy", service_name="Skype Data Proxy %s", sections=["skype"], discovery_function=discover_skype_data_proxy, @@ -675,6 +683,7 @@ def discover_skype_xmpp_proxy(parsed): check_info["skype.xmpp_proxy"] = LegacyCheckDefinition( + name="skype_xmpp_proxy", service_name="Skype XMPP Proxy", sections=["skype"], discovery_function=discover_skype_xmpp_proxy, @@ -728,6 +737,7 @@ def discover_skype_mobile(parsed): check_info["skype.mobile"] = LegacyCheckDefinition( + name="skype_mobile", service_name="Skype Mobile Sessions", sections=["skype"], discovery_function=discover_skype_mobile, diff --git a/cmk/base/legacy_checks/smart.py b/cmk/base/legacy_checks/smart.py index 6d5a047e14a..0ffbef65799 100644 --- a/cmk/base/legacy_checks/smart.py +++ b/cmk/base/legacy_checks/smart.py @@ -45,6 +45,7 @@ def check_smart_temp(item, params, section): check_info["smart.temp"] = LegacyCheckDefinition( + name="smart_temp", # section already migrated! service_name="Temperature SMART %s", sections=["smart"], diff --git a/cmk/base/legacy_checks/sni_octopuse_cpu.py b/cmk/base/legacy_checks/sni_octopuse_cpu.py index a975895d437..471ffd9f8f4 100644 --- a/cmk/base/legacy_checks/sni_octopuse_cpu.py +++ b/cmk/base/legacy_checks/sni_octopuse_cpu.py @@ -27,6 +27,7 @@ def parse_sni_octopuse_cpu(string_table: StringTable) -> StringTable | None: check_info["sni_octopuse_cpu"] = LegacyCheckDefinition( + name="sni_octopuse_cpu", parse_function=parse_sni_octopuse_cpu, detect=DETECT_SNI_OCTOPUSE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/sni_octopuse_status.py b/cmk/base/legacy_checks/sni_octopuse_status.py index 728a3673278..8222ca5fa96 100644 --- a/cmk/base/legacy_checks/sni_octopuse_status.py +++ b/cmk/base/legacy_checks/sni_octopuse_status.py @@ -45,6 +45,7 @@ def parse_sni_octopuse_status(string_table: StringTable) -> StringTable | None: check_info["sni_octopuse_status"] = LegacyCheckDefinition( + name="sni_octopuse_status", parse_function=parse_sni_octopuse_status, detect=DETECT_SNI_OCTOPUSE, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/sni_octopuse_trunks.py b/cmk/base/legacy_checks/sni_octopuse_trunks.py index b8450b0d8e7..eba8ebba563 100644 --- a/cmk/base/legacy_checks/sni_octopuse_trunks.py +++ b/cmk/base/legacy_checks/sni_octopuse_trunks.py @@ -54,6 +54,7 @@ def parse_sni_octopuse_trunks(string_table: Sequence[StringTable]) -> Sequence[S check_info["sni_octopuse_trunks"] = LegacyCheckDefinition( + name="sni_octopuse_trunks", parse_function=parse_sni_octopuse_trunks, detect=DETECT_SNI_OCTOPUSE, fetch=[ diff --git a/cmk/base/legacy_checks/solaris_fmadm.py b/cmk/base/legacy_checks/solaris_fmadm.py index 0de96c4abca..6267be64406 100644 --- a/cmk/base/legacy_checks/solaris_fmadm.py +++ b/cmk/base/legacy_checks/solaris_fmadm.py @@ -195,6 +195,7 @@ def check_solaris_fmadm(_no_item, params, parsed): check_info["solaris_fmadm"] = LegacyCheckDefinition( + name="solaris_fmadm", parse_function=parse_solaris_fmadm, service_name="FMD Status", discovery_function=inventory_solaris_fmadm, diff --git a/cmk/base/legacy_checks/solaris_multipath.py b/cmk/base/legacy_checks/solaris_multipath.py index c7a4c935e32..824cbf435d3 100644 --- a/cmk/base/legacy_checks/solaris_multipath.py +++ b/cmk/base/legacy_checks/solaris_multipath.py @@ -73,6 +73,7 @@ def parse_solaris_multipath(string_table: StringTable) -> StringTable: check_info["solaris_multipath"] = LegacyCheckDefinition( + name="solaris_multipath", parse_function=parse_solaris_multipath, service_name="Multipath %s", discovery_function=inventory_solaris_multipath, diff --git a/cmk/base/legacy_checks/solaris_prtdiag_status.py b/cmk/base/legacy_checks/solaris_prtdiag_status.py index be53246df2c..8b2524e2170 100644 --- a/cmk/base/legacy_checks/solaris_prtdiag_status.py +++ b/cmk/base/legacy_checks/solaris_prtdiag_status.py @@ -40,6 +40,7 @@ def parse_solaris_prtdiag_status(string_table: StringTable) -> StringTable: check_info["solaris_prtdiag_status"] = LegacyCheckDefinition( + name="solaris_prtdiag_status", parse_function=parse_solaris_prtdiag_status, service_name="Hardware Overall State", discovery_function=inventory_solaris_prtdiag_status, diff --git a/cmk/base/legacy_checks/sophos.py b/cmk/base/legacy_checks/sophos.py index 815e06744c1..1b4421e579b 100644 --- a/cmk/base/legacy_checks/sophos.py +++ b/cmk/base/legacy_checks/sophos.py @@ -158,6 +158,7 @@ def parse_sophos(string_table: StringTable) -> StringTable: check_info["sophos"] = LegacyCheckDefinition( + name="sophos", parse_function=parse_sophos, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2604"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/sophos_cpu.py b/cmk/base/legacy_checks/sophos_cpu.py index 18c21ae9fdf..5d2d765f6b8 100644 --- a/cmk/base/legacy_checks/sophos_cpu.py +++ b/cmk/base/legacy_checks/sophos_cpu.py @@ -27,6 +27,7 @@ def discover_sophos_cpu(parsed): check_info["sophos_cpu"] = LegacyCheckDefinition( + name="sophos_cpu", detect=DETECT_SOPHOS, fetch=SNMPTree( base=".1.3.6.1.4.1.21067.2.1.2.2", diff --git a/cmk/base/legacy_checks/sophos_disk.py b/cmk/base/legacy_checks/sophos_disk.py index 9125d22125b..c66822775d2 100644 --- a/cmk/base/legacy_checks/sophos_disk.py +++ b/cmk/base/legacy_checks/sophos_disk.py @@ -34,6 +34,7 @@ def discover_sophos_disk(parsed): check_info["sophos_disk"] = LegacyCheckDefinition( + name="sophos_disk", detect=DETECT_SOPHOS, fetch=SNMPTree( base=".1.3.6.1.4.1.21067.2.1.2.3", diff --git a/cmk/base/legacy_checks/sophos_memory.py b/cmk/base/legacy_checks/sophos_memory.py index b0d8eb260a1..47f3451b3f6 100644 --- a/cmk/base/legacy_checks/sophos_memory.py +++ b/cmk/base/legacy_checks/sophos_memory.py @@ -33,6 +33,7 @@ def discover_sophos_memory(parsed): check_info["sophos_memory"] = LegacyCheckDefinition( + name="sophos_memory", detect=DETECT_SOPHOS, fetch=SNMPTree( base=".1.3.6.1.4.1.21067.2.1.2.4", diff --git a/cmk/base/legacy_checks/sophos_messages.py b/cmk/base/legacy_checks/sophos_messages.py index cc4505f503a..446a51d5df4 100644 --- a/cmk/base/legacy_checks/sophos_messages.py +++ b/cmk/base/legacy_checks/sophos_messages.py @@ -56,6 +56,7 @@ def parse_sophos_messages(string_table: StringTable) -> StringTable: check_info["sophos_messages"] = LegacyCheckDefinition( + name="sophos_messages", parse_function=parse_sophos_messages, detect=equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2604"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/statgrab_cpu.py b/cmk/base/legacy_checks/statgrab_cpu.py index 4e2ccdfe699..f9a52e4da30 100644 --- a/cmk/base/legacy_checks/statgrab_cpu.py +++ b/cmk/base/legacy_checks/statgrab_cpu.py @@ -48,6 +48,7 @@ def parse_statgrab_cpu(string_table: StringTable) -> StringTable: check_info["statgrab_cpu"] = LegacyCheckDefinition( + name="statgrab_cpu", parse_function=parse_statgrab_cpu, service_name="CPU utilization", discovery_function=inventory_statgrab_cpu, diff --git a/cmk/base/legacy_checks/steelhead_connections.py b/cmk/base/legacy_checks/steelhead_connections.py index 8a4f57c97c1..2c5b92cf378 100644 --- a/cmk/base/legacy_checks/steelhead_connections.py +++ b/cmk/base/legacy_checks/steelhead_connections.py @@ -74,6 +74,7 @@ def parse_steelhead_connections(string_table: StringTable) -> StringTable: check_info["steelhead_connections"] = LegacyCheckDefinition( + name="steelhead_connections", parse_function=parse_steelhead_connections, detect=DETECT_STEELHEAD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/steelhead_peers.py b/cmk/base/legacy_checks/steelhead_peers.py index 0d40bbfd980..6077f691fc5 100644 --- a/cmk/base/legacy_checks/steelhead_peers.py +++ b/cmk/base/legacy_checks/steelhead_peers.py @@ -32,6 +32,7 @@ def parse_steelhead_peers(string_table: StringTable) -> StringTable: check_info["steelhead_peers"] = LegacyCheckDefinition( + name="steelhead_peers", parse_function=parse_steelhead_peers, detect=DETECT_STEELHEAD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/steelhead_status.py b/cmk/base/legacy_checks/steelhead_status.py index 438e0224d8f..079e95e2342 100644 --- a/cmk/base/legacy_checks/steelhead_status.py +++ b/cmk/base/legacy_checks/steelhead_status.py @@ -28,6 +28,7 @@ def parse_steelhead_status(string_table: StringTable) -> StringTable: check_info["steelhead_status"] = LegacyCheckDefinition( + name="steelhead_status", parse_function=parse_steelhead_status, detect=DETECT_STEELHEAD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/storcli_pdisks.py b/cmk/base/legacy_checks/storcli_pdisks.py index 5e8ba204fcb..892bebbcf18 100644 --- a/cmk/base/legacy_checks/storcli_pdisks.py +++ b/cmk/base/legacy_checks/storcli_pdisks.py @@ -52,6 +52,7 @@ def check_storcli_pdisks(item, params, parsed): check_info["storcli_pdisks"] = LegacyCheckDefinition( + name="storcli_pdisks", parse_function=parse_storcli_pdisks, service_name="RAID PDisk EID:Slot-Device %s", discovery_function=inventory_storcli_pdisks, diff --git a/cmk/base/legacy_checks/storeonce4x_alerts.py b/cmk/base/legacy_checks/storeonce4x_alerts.py index ed06561d824..324c9f96b90 100644 --- a/cmk/base/legacy_checks/storeonce4x_alerts.py +++ b/cmk/base/legacy_checks/storeonce4x_alerts.py @@ -56,6 +56,7 @@ def check_storeonce4x_alerts(_item, _param, parsed): check_info["storeonce4x_alerts"] = LegacyCheckDefinition( + name="storeonce4x_alerts", parse_function=parse_storeonce4x_alerts, service_name="Alerts", discovery_function=discover_storeonce4x_alerts, diff --git a/cmk/base/legacy_checks/storeonce4x_d2d_services.py b/cmk/base/legacy_checks/storeonce4x_d2d_services.py index f2a5990d8ea..8f448303fd5 100644 --- a/cmk/base/legacy_checks/storeonce4x_d2d_services.py +++ b/cmk/base/legacy_checks/storeonce4x_d2d_services.py @@ -41,6 +41,7 @@ def check_storeonce4x_d2d_services(_item, _params, parsed): check_info["storeonce4x_d2d_services"] = LegacyCheckDefinition( + name="storeonce4x_d2d_services", parse_function=parse_storeonce4x_d2d_services, service_name="D2D Services", discovery_function=discover_storeonce4x_d2d_services, diff --git a/cmk/base/legacy_checks/stormshield_cluster.py b/cmk/base/legacy_checks/stormshield_cluster.py index b540b7f44f2..f0940755ff1 100644 --- a/cmk/base/legacy_checks/stormshield_cluster.py +++ b/cmk/base/legacy_checks/stormshield_cluster.py @@ -56,6 +56,7 @@ def parse_stormshield_cluster(string_table: StringTable) -> StringTable | None: check_info["stormshield_cluster"] = LegacyCheckDefinition( + name="stormshield_cluster", parse_function=parse_stormshield_cluster, detect=all_of( any_of( diff --git a/cmk/base/legacy_checks/stormshield_cluster_node.py b/cmk/base/legacy_checks/stormshield_cluster_node.py index ddb029db8e5..76c9391f91d 100644 --- a/cmk/base/legacy_checks/stormshield_cluster_node.py +++ b/cmk/base/legacy_checks/stormshield_cluster_node.py @@ -91,6 +91,7 @@ def parse_stormshield_cluster_node(string_table: StringTable) -> StringTable: check_info["stormshield_cluster_node"] = LegacyCheckDefinition( + name="stormshield_cluster_node", parse_function=parse_stormshield_cluster_node, detect=all_of( any_of( diff --git a/cmk/base/legacy_checks/stormshield_cpu_temp.py b/cmk/base/legacy_checks/stormshield_cpu_temp.py index f7555f0e230..b24ea0f8dd4 100644 --- a/cmk/base/legacy_checks/stormshield_cpu_temp.py +++ b/cmk/base/legacy_checks/stormshield_cpu_temp.py @@ -29,6 +29,7 @@ def parse_stormshield_cpu_temp(string_table: StringTable) -> StringTable: check_info["stormshield_cpu_temp"] = LegacyCheckDefinition( + name="stormshield_cpu_temp", parse_function=parse_stormshield_cpu_temp, detect=DETECT_STORMSHIELD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stormshield_disk.py b/cmk/base/legacy_checks/stormshield_disk.py index c7aa90e0d8e..5e2b17ee65b 100644 --- a/cmk/base/legacy_checks/stormshield_disk.py +++ b/cmk/base/legacy_checks/stormshield_disk.py @@ -60,6 +60,7 @@ def check_stormshield_disk(item, params, parsed): check_info["stormshield_disk"] = LegacyCheckDefinition( + name="stormshield_disk", detect=DETECT_STORMSHIELD, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/stormshield_info.py b/cmk/base/legacy_checks/stormshield_info.py index ef9a0e1aad2..0ce9aca59fc 100644 --- a/cmk/base/legacy_checks/stormshield_info.py +++ b/cmk/base/legacy_checks/stormshield_info.py @@ -35,6 +35,7 @@ def parse_stormshield_info(string_table: StringTable) -> StringTable | None: check_info["stormshield_info"] = LegacyCheckDefinition( + name="stormshield_info", parse_function=parse_stormshield_info, detect=DETECT_STORMSHIELD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stormshield_packets.py b/cmk/base/legacy_checks/stormshield_packets.py index c76a37fdd10..22dc08e62b1 100644 --- a/cmk/base/legacy_checks/stormshield_packets.py +++ b/cmk/base/legacy_checks/stormshield_packets.py @@ -52,6 +52,7 @@ def parse_stormshield_packets(string_table: StringTable) -> StringTable: check_info["stormshield_packets"] = LegacyCheckDefinition( + name="stormshield_packets", parse_function=parse_stormshield_packets, detect=DETECT_STORMSHIELD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stormshield_policy.py b/cmk/base/legacy_checks/stormshield_policy.py index 09f4cece486..05928147733 100644 --- a/cmk/base/legacy_checks/stormshield_policy.py +++ b/cmk/base/legacy_checks/stormshield_policy.py @@ -39,6 +39,7 @@ def parse_stormshield_policy(string_table: StringTable) -> StringTable: check_info["stormshield_policy"] = LegacyCheckDefinition( + name="stormshield_policy", parse_function=parse_stormshield_policy, detect=DETECT_STORMSHIELD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stormshield_route.py b/cmk/base/legacy_checks/stormshield_route.py index c770782a259..b807d0db57d 100644 --- a/cmk/base/legacy_checks/stormshield_route.py +++ b/cmk/base/legacy_checks/stormshield_route.py @@ -48,6 +48,7 @@ def parse_stormshield_route(string_table: StringTable) -> StringTable: check_info["stormshield_route"] = LegacyCheckDefinition( + name="stormshield_route", parse_function=parse_stormshield_route, detect=DETECT_STORMSHIELD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stormshield_updates.py b/cmk/base/legacy_checks/stormshield_updates.py index 6a3ad984f39..a6112a00c3c 100644 --- a/cmk/base/legacy_checks/stormshield_updates.py +++ b/cmk/base/legacy_checks/stormshield_updates.py @@ -34,6 +34,7 @@ def parse_stormshield_updates(string_table: StringTable) -> StringTable: check_info["stormshield_updates"] = LegacyCheckDefinition( + name="stormshield_updates", parse_function=parse_stormshield_updates, detect=DETECT_STORMSHIELD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/strem1_sensors.py b/cmk/base/legacy_checks/strem1_sensors.py index e6a31eac0e8..3ffb0c17b64 100644 --- a/cmk/base/legacy_checks/strem1_sensors.py +++ b/cmk/base/legacy_checks/strem1_sensors.py @@ -64,6 +64,7 @@ def parse_strem1_sensors(string_table: Sequence[StringTable]) -> Sequence[String check_info["strem1_sensors"] = LegacyCheckDefinition( + name="strem1_sensors", parse_function=parse_strem1_sensors, detect=contains(".1.3.6.1.2.1.1.1.0", "Sensatronics EM1"), fetch=[ diff --git a/cmk/base/legacy_checks/stulz_alerts.py b/cmk/base/legacy_checks/stulz_alerts.py index 36873013426..4e110bb04f9 100644 --- a/cmk/base/legacy_checks/stulz_alerts.py +++ b/cmk/base/legacy_checks/stulz_alerts.py @@ -29,6 +29,7 @@ def parse_stulz_alerts(string_table: StringTable) -> StringTable: check_info["stulz_alerts"] = LegacyCheckDefinition( + name="stulz_alerts", parse_function=parse_stulz_alerts, detect=DETECT_STULZ, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stulz_humidity.py b/cmk/base/legacy_checks/stulz_humidity.py index b76d94c21db..df80d221fc3 100644 --- a/cmk/base/legacy_checks/stulz_humidity.py +++ b/cmk/base/legacy_checks/stulz_humidity.py @@ -41,6 +41,7 @@ def parse_stulz_humidity(string_table: StringTable) -> StringTable: check_info["stulz_humidity"] = LegacyCheckDefinition( + name="stulz_humidity", parse_function=parse_stulz_humidity, detect=DETECT_STULZ, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stulz_powerstate.py b/cmk/base/legacy_checks/stulz_powerstate.py index 2afac273716..ecd296b896c 100644 --- a/cmk/base/legacy_checks/stulz_powerstate.py +++ b/cmk/base/legacy_checks/stulz_powerstate.py @@ -34,6 +34,7 @@ def parse_stulz_powerstate(string_table: StringTable) -> StringTable: check_info["stulz_powerstate"] = LegacyCheckDefinition( + name="stulz_powerstate", parse_function=parse_stulz_powerstate, detect=DETECT_STULZ, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/stulz_pump.py b/cmk/base/legacy_checks/stulz_pump.py index ab36005ca68..163d080389a 100644 --- a/cmk/base/legacy_checks/stulz_pump.py +++ b/cmk/base/legacy_checks/stulz_pump.py @@ -45,6 +45,7 @@ def parse_stulz_pump(string_table: Sequence[StringTable]) -> Sequence[StringTabl check_info["stulz_pump"] = LegacyCheckDefinition( + name="stulz_pump", parse_function=parse_stulz_pump, detect=DETECT_STULZ, fetch=[ diff --git a/cmk/base/legacy_checks/stulz_temp.py b/cmk/base/legacy_checks/stulz_temp.py index baff168bf27..59bcecd02b4 100644 --- a/cmk/base/legacy_checks/stulz_temp.py +++ b/cmk/base/legacy_checks/stulz_temp.py @@ -79,6 +79,7 @@ def check_stulz_temp(item, params, parsed): check_info["stulz_temp"] = LegacyCheckDefinition( + name="stulz_temp", detect=DETECT_STULZ, fetch=SNMPTree( base=".1.3.6.1.4.1.29462.10.2.1.1.1.1.1.1", diff --git a/cmk/base/legacy_checks/supermicro.py b/cmk/base/legacy_checks/supermicro.py index 14dbf55fe5f..59786c3d71f 100644 --- a/cmk/base/legacy_checks/supermicro.py +++ b/cmk/base/legacy_checks/supermicro.py @@ -74,6 +74,7 @@ def parse_supermicro(string_table: StringTable) -> StringTable: check_info["supermicro"] = LegacyCheckDefinition( + name="supermicro", parse_function=parse_supermicro, detect=DETECT_SUPERMICRO, fetch=SNMPTree( @@ -161,6 +162,7 @@ def parse_supermicro_sensors(string_table: StringTable) -> StringTable: check_info["supermicro_sensors"] = LegacyCheckDefinition( + name="supermicro_sensors", parse_function=parse_supermicro_sensors, detect=DETECT_SUPERMICRO, fetch=SNMPTree( @@ -209,6 +211,7 @@ def parse_supermicro_smart(string_table: StringTable) -> StringTable: check_info["supermicro_smart"] = LegacyCheckDefinition( + name="supermicro_smart", parse_function=parse_supermicro_smart, detect=DETECT_SUPERMICRO, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/superstack3_sensors.py b/cmk/base/legacy_checks/superstack3_sensors.py index 169ef3cbb79..1ac87b85ce4 100644 --- a/cmk/base/legacy_checks/superstack3_sensors.py +++ b/cmk/base/legacy_checks/superstack3_sensors.py @@ -30,6 +30,7 @@ def parse_superstack3_sensors(string_table: StringTable) -> StringTable: check_info["superstack3_sensors"] = LegacyCheckDefinition( + name="superstack3_sensors", parse_function=parse_superstack3_sensors, detect=contains(".1.3.6.1.2.1.1.1.0", "3com superstack 3"), fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/suseconnect.py b/cmk/base/legacy_checks/suseconnect.py index 4827afbe8f6..248d01c7e6f 100644 --- a/cmk/base/legacy_checks/suseconnect.py +++ b/cmk/base/legacy_checks/suseconnect.py @@ -115,6 +115,7 @@ def check_suseconnect( check_info["suseconnect"] = LegacyCheckDefinition( + name="suseconnect", service_name="SLES license", # section is migrated already!, discovery_function=inventory_suseconnect, diff --git a/cmk/base/legacy_checks/sylo.py b/cmk/base/legacy_checks/sylo.py index 94a59e143ee..fe36eb82bc1 100644 --- a/cmk/base/legacy_checks/sylo.py +++ b/cmk/base/legacy_checks/sylo.py @@ -109,6 +109,7 @@ def parse_sylo(string_table: StringTable) -> StringTable: check_info["sylo"] = LegacyCheckDefinition( + name="sylo", parse_function=parse_sylo, service_name="Sylo", discovery_function=inventory_sylo, diff --git a/cmk/base/legacy_checks/sym_brightmail_queues.py b/cmk/base/legacy_checks/sym_brightmail_queues.py index 71cbf82f73d..a961934f4ca 100644 --- a/cmk/base/legacy_checks/sym_brightmail_queues.py +++ b/cmk/base/legacy_checks/sym_brightmail_queues.py @@ -92,6 +92,7 @@ def check_sym_brightmail_queues(item, params, parsed): check_info["sym_brightmail_queues"] = LegacyCheckDefinition( + name="sym_brightmail_queues", detect=any_of(contains(".1.3.6.1.2.1.1.1.0", "el5_sms"), contains(".1.3.6.1.2.1.1.1.0", "el6")), fetch=SNMPTree( base=".1.3.6.1.4.1.393.200.130.2.2.1.1", diff --git a/cmk/base/legacy_checks/symantec_av_progstate.py b/cmk/base/legacy_checks/symantec_av_progstate.py index c615903742c..063e586f6e0 100644 --- a/cmk/base/legacy_checks/symantec_av_progstate.py +++ b/cmk/base/legacy_checks/symantec_av_progstate.py @@ -27,6 +27,7 @@ def parse_symantec_av_progstate(string_table: StringTable) -> StringTable: check_info["symantec_av_progstate"] = LegacyCheckDefinition( + name="symantec_av_progstate", parse_function=parse_symantec_av_progstate, service_name="AV Program Status", discovery_function=inventory_symantec_av_progstate, diff --git a/cmk/base/legacy_checks/symantec_av_quarantine.py b/cmk/base/legacy_checks/symantec_av_quarantine.py index 5f4544f2bfb..b926952321f 100644 --- a/cmk/base/legacy_checks/symantec_av_quarantine.py +++ b/cmk/base/legacy_checks/symantec_av_quarantine.py @@ -29,6 +29,7 @@ def parse_symantec_av_quarantine(string_table: StringTable) -> StringTable: check_info["symantec_av_quarantine"] = LegacyCheckDefinition( + name="symantec_av_quarantine", parse_function=parse_symantec_av_quarantine, service_name="AV Quarantine", discovery_function=inventory_symantec_av_quarantine, diff --git a/cmk/base/legacy_checks/symantec_av_updates.py b/cmk/base/legacy_checks/symantec_av_updates.py index 8f537517cd0..17534dcec4b 100644 --- a/cmk/base/legacy_checks/symantec_av_updates.py +++ b/cmk/base/legacy_checks/symantec_av_updates.py @@ -52,6 +52,7 @@ def parse_symantec_av_updates(string_table: StringTable) -> StringTable: check_info["symantec_av_updates"] = LegacyCheckDefinition( + name="symantec_av_updates", parse_function=parse_symantec_av_updates, service_name="AV Update Status", discovery_function=inventory_symantec_av_updates, diff --git a/cmk/base/legacy_checks/systemtime.py b/cmk/base/legacy_checks/systemtime.py index 67445584820..e321a46eb31 100644 --- a/cmk/base/legacy_checks/systemtime.py +++ b/cmk/base/legacy_checks/systemtime.py @@ -40,6 +40,7 @@ def check_systemtime(item, params, parsed): check_info["systemtime"] = LegacyCheckDefinition( + name="systemtime", service_name="System Time", discovery_function=discover_systemtime, check_function=check_systemtime, diff --git a/cmk/base/legacy_checks/teracom_tcw241_analog.py b/cmk/base/legacy_checks/teracom_tcw241_analog.py index d982fef6c68..0a0ee2fc45b 100644 --- a/cmk/base/legacy_checks/teracom_tcw241_analog.py +++ b/cmk/base/legacy_checks/teracom_tcw241_analog.py @@ -90,6 +90,7 @@ def discover_teracom_tcw241_analog(section): check_info["teracom_tcw241_analog"] = LegacyCheckDefinition( + name="teracom_tcw241_analog", detect=contains(".1.3.6.1.2.1.1.1.0", "Teracom"), fetch=[ *( diff --git a/cmk/base/legacy_checks/teracom_tcw241_digital.py b/cmk/base/legacy_checks/teracom_tcw241_digital.py index 8c65756cf72..6bf579f2372 100644 --- a/cmk/base/legacy_checks/teracom_tcw241_digital.py +++ b/cmk/base/legacy_checks/teracom_tcw241_digital.py @@ -68,6 +68,7 @@ def discover_teracom_tcw241_digital(section): check_info["teracom_tcw241_digital"] = LegacyCheckDefinition( + name="teracom_tcw241_digital", detect=contains(".1.3.6.1.2.1.1.1.0", "Teracom"), fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/tinkerforge.py b/cmk/base/legacy_checks/tinkerforge.py index a52af820ce5..cc842957944 100644 --- a/cmk/base/legacy_checks/tinkerforge.py +++ b/cmk/base/legacy_checks/tinkerforge.py @@ -138,6 +138,7 @@ def discover_tinkerforge(parsed): check_info["tinkerforge"] = LegacyCheckDefinition( + name="tinkerforge", parse_function=parse_tinkerforge, service_name="Master %s", discovery_function=discover_tinkerforge, @@ -150,6 +151,7 @@ def discover_tinkerforge_temperature(parsed): check_info["tinkerforge.temperature"] = LegacyCheckDefinition( + name="tinkerforge_temperature", service_name="Temperature %s", sections=["tinkerforge"], discovery_function=discover_tinkerforge_temperature, @@ -163,6 +165,7 @@ def discover_tinkerforge_ambient(parsed): check_info["tinkerforge.ambient"] = LegacyCheckDefinition( + name="tinkerforge_ambient", service_name="Ambient Light %s", sections=["tinkerforge"], discovery_function=discover_tinkerforge_ambient, @@ -177,6 +180,7 @@ def discover_tinkerforge_humidity(parsed): check_info["tinkerforge.humidity"] = LegacyCheckDefinition( + name="tinkerforge_humidity", service_name="Humidity %s", sections=["tinkerforge"], discovery_function=discover_tinkerforge_humidity, @@ -195,6 +199,7 @@ def discover_tinkerforge_motion(parsed): check_info["tinkerforge.motion"] = LegacyCheckDefinition( + name="tinkerforge_motion", service_name="Motion Detector %s", sections=["tinkerforge"], discovery_function=discover_tinkerforge_motion, diff --git a/cmk/base/legacy_checks/tplink_cpu.py b/cmk/base/legacy_checks/tplink_cpu.py index 96084c8e382..0305d6e8cb6 100644 --- a/cmk/base/legacy_checks/tplink_cpu.py +++ b/cmk/base/legacy_checks/tplink_cpu.py @@ -43,6 +43,7 @@ def parse_tplink_cpu(string_table: StringTable) -> StringTable: check_info["tplink_cpu"] = LegacyCheckDefinition( + name="tplink_cpu", parse_function=parse_tplink_cpu, detect=DETECT_TPLINK, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/tplink_mem.py b/cmk/base/legacy_checks/tplink_mem.py index 764ef4fdb7c..0299256169b 100644 --- a/cmk/base/legacy_checks/tplink_mem.py +++ b/cmk/base/legacy_checks/tplink_mem.py @@ -44,6 +44,7 @@ def parse_tplink_mem(string_table: StringTable) -> StringTable: check_info["tplink_mem"] = LegacyCheckDefinition( + name="tplink_mem", parse_function=parse_tplink_mem, detect=DETECT_TPLINK, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/tplink_poe_summary.py b/cmk/base/legacy_checks/tplink_poe_summary.py index eed3338f9cc..edcf3be6db0 100644 --- a/cmk/base/legacy_checks/tplink_poe_summary.py +++ b/cmk/base/legacy_checks/tplink_poe_summary.py @@ -28,6 +28,7 @@ def parse_tplink_poe_summary(string_table: StringTable) -> StringTable: check_info["tplink_poe_summary"] = LegacyCheckDefinition( + name="tplink_poe_summary", parse_function=parse_tplink_poe_summary, detect=DETECT_TPLINK, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/tsm_drives.py b/cmk/base/legacy_checks/tsm_drives.py index 30b88306e4c..ccee0b76ffd 100644 --- a/cmk/base/legacy_checks/tsm_drives.py +++ b/cmk/base/legacy_checks/tsm_drives.py @@ -84,6 +84,7 @@ def parse_tsm_drives(string_table: StringTable) -> StringTable: check_info["tsm_drives"] = LegacyCheckDefinition( + name="tsm_drives", parse_function=parse_tsm_drives, service_name="TSM Drive %s", discovery_function=inventory_tsm_drives, diff --git a/cmk/base/legacy_checks/tsm_paths.py b/cmk/base/legacy_checks/tsm_paths.py index f33aee73be0..b7c8fbd544b 100644 --- a/cmk/base/legacy_checks/tsm_paths.py +++ b/cmk/base/legacy_checks/tsm_paths.py @@ -27,6 +27,7 @@ def parse_tsm_paths(string_table: StringTable) -> StringTable: check_info["tsm_paths"] = LegacyCheckDefinition( + name="tsm_paths", parse_function=parse_tsm_paths, service_name="TSM Paths", discovery_function=inventory_tsm_paths, diff --git a/cmk/base/legacy_checks/tsm_scratch.py b/cmk/base/legacy_checks/tsm_scratch.py index 539362696fc..19dcc8ac0cc 100644 --- a/cmk/base/legacy_checks/tsm_scratch.py +++ b/cmk/base/legacy_checks/tsm_scratch.py @@ -51,6 +51,7 @@ def check_tsm_scratch(item, _no_params, parsed): check_info["tsm_scratch"] = LegacyCheckDefinition( + name="tsm_scratch", parse_function=parse_tsm_scratch, service_name="Scratch Pool %s", discovery_function=inventory_tsm_scratch, diff --git a/cmk/base/legacy_checks/tsm_sessions.py b/cmk/base/legacy_checks/tsm_sessions.py index 035884aa55a..1cc3d02d047 100644 --- a/cmk/base/legacy_checks/tsm_sessions.py +++ b/cmk/base/legacy_checks/tsm_sessions.py @@ -59,6 +59,7 @@ def parse_tsm_sessions(string_table: StringTable) -> StringTable: check_info["tsm_sessions"] = LegacyCheckDefinition( + name="tsm_sessions", parse_function=parse_tsm_sessions, service_name="tsm_sessions", discovery_function=inventory_tsm_sessions, diff --git a/cmk/base/legacy_checks/tsm_storagepools.py b/cmk/base/legacy_checks/tsm_storagepools.py index 58a6813734c..8ed92c7c833 100644 --- a/cmk/base/legacy_checks/tsm_storagepools.py +++ b/cmk/base/legacy_checks/tsm_storagepools.py @@ -63,6 +63,7 @@ def check_tsm_storagepools(item, _no_params, parsed): check_info["tsm_storagepools"] = LegacyCheckDefinition( + name="tsm_storagepools", parse_function=parse_tsm_storagepools, service_name="TSM Storagepool %s", discovery_function=inventory_tsm_storagepools, diff --git a/cmk/base/legacy_checks/ucd_cpu_util.py b/cmk/base/legacy_checks/ucd_cpu_util.py index 8b3d53a1cad..32eef45e1f8 100644 --- a/cmk/base/legacy_checks/ucd_cpu_util.py +++ b/cmk/base/legacy_checks/ucd_cpu_util.py @@ -91,6 +91,7 @@ def check_ucd_cpu_util(item, params, parsed): check_info["ucd_cpu_util"] = LegacyCheckDefinition( + name="ucd_cpu_util", detect=ucd_hr_detection.PREFER_HR_ELSE_UCD, fetch=SNMPTree( base=".1.3.6.1.4.1.2021.11", diff --git a/cmk/base/legacy_checks/ucd_disk.py b/cmk/base/legacy_checks/ucd_disk.py index 5b51be72190..5395f6d8c33 100644 --- a/cmk/base/legacy_checks/ucd_disk.py +++ b/cmk/base/legacy_checks/ucd_disk.py @@ -46,6 +46,7 @@ def parse_ucd_disk(string_table: StringTable) -> StringTable: check_info["ucd_disk"] = LegacyCheckDefinition( + name="ucd_disk", parse_function=parse_ucd_disk, detect=ucd_hr_detection.PREFER_HR_ELSE_UCD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ucd_mem.py b/cmk/base/legacy_checks/ucd_mem.py index 3b6d70cddeb..3513e6139ef 100644 --- a/cmk/base/legacy_checks/ucd_mem.py +++ b/cmk/base/legacy_checks/ucd_mem.py @@ -56,6 +56,7 @@ def check_ucd_mem(_no_item, params, parsed): # This check plug-in uses the migrated section in cmk/base/plugins/agent_based/ucd_mem.py! check_info["ucd_mem"] = LegacyCheckDefinition( + name="ucd_mem", service_name="Memory", discovery_function=inventory_ucd_mem, check_function=check_ucd_mem, diff --git a/cmk/base/legacy_checks/ucd_processes.py b/cmk/base/legacy_checks/ucd_processes.py index 341bbcb6cf3..8865b59bc1e 100644 --- a/cmk/base/legacy_checks/ucd_processes.py +++ b/cmk/base/legacy_checks/ucd_processes.py @@ -62,6 +62,7 @@ def parse_ucd_processes(string_table: StringTable) -> StringTable: check_info["ucd_processes"] = LegacyCheckDefinition( + name="ucd_processes", parse_function=parse_ucd_processes, detect=ucd_hr_detection.PREFER_HR_ELSE_UCD, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ucs_bladecenter_fans.py b/cmk/base/legacy_checks/ucs_bladecenter_fans.py index 1bdc1aa0623..e2e293909cc 100644 --- a/cmk/base/legacy_checks/ucs_bladecenter_fans.py +++ b/cmk/base/legacy_checks/ucs_bladecenter_fans.py @@ -84,6 +84,7 @@ def check_ucs_bladecenter_fans(item, _no_params, parsed): check_info["ucs_bladecenter_fans"] = LegacyCheckDefinition( + name="ucs_bladecenter_fans", parse_function=parse_ucs_bladecenter_fans, service_name="Fans %s", discovery_function=inventory_ucs_bladecenter_fans, @@ -125,6 +126,7 @@ def check_ucs_bladecenter_fans_temp(item, params, parsed): check_info["ucs_bladecenter_fans.temp"] = LegacyCheckDefinition( + name="ucs_bladecenter_fans_temp", service_name="Temperature %s", sections=["ucs_bladecenter_fans"], discovery_function=inventory_ucs_bladecenter_fans_temp, diff --git a/cmk/base/legacy_checks/ucs_bladecenter_faultinst.py b/cmk/base/legacy_checks/ucs_bladecenter_faultinst.py index 132d784379b..829a1dfd29c 100644 --- a/cmk/base/legacy_checks/ucs_bladecenter_faultinst.py +++ b/cmk/base/legacy_checks/ucs_bladecenter_faultinst.py @@ -49,6 +49,7 @@ def check_ucs_bladecenter_faultinst(_item, params, parsed): check_info["ucs_bladecenter_faultinst"] = LegacyCheckDefinition( + name="ucs_bladecenter_faultinst", parse_function=ucs_bladecenter.generic_parse, service_name="Fault Instances Blade", discovery_function=inventory_ucs_bladecenter_faultinst, diff --git a/cmk/base/legacy_checks/ucs_bladecenter_psu.py b/cmk/base/legacy_checks/ucs_bladecenter_psu.py index 01e99c7bfe5..388fa366347 100644 --- a/cmk/base/legacy_checks/ucs_bladecenter_psu.py +++ b/cmk/base/legacy_checks/ucs_bladecenter_psu.py @@ -86,6 +86,7 @@ def check_ucs_bladecenter_psu(item, params, parsed): check_info["ucs_bladecenter_psu"] = LegacyCheckDefinition( + name="ucs_bladecenter_psu", parse_function=ucs_bladecenter_psu_parse, service_name="Voltage %s", discovery_function=inventory_ucs_bladecenter_psu, @@ -132,6 +133,7 @@ def check_ucs_bladecenter_psu_switch_power(item, params, parsed): check_info["ucs_bladecenter_psu.switch_power"] = LegacyCheckDefinition( + name="ucs_bladecenter_psu_switch_power", service_name="Power Supply %s", sections=["ucs_bladecenter_psu"], discovery_function=inventory_ucs_bladecenter_psu_switch_power, @@ -167,6 +169,7 @@ def check_ucs_bladecenter_psu_chassis_temp(item, params, parsed): check_info["ucs_bladecenter_psu.chassis_temp"] = LegacyCheckDefinition( + name="ucs_bladecenter_psu_chassis_temp", service_name="Temperature %s", sections=["ucs_bladecenter_psu"], discovery_function=inventory_ucs_bladecenter_psu_chassis_temp, diff --git a/cmk/base/legacy_checks/ucs_bladecenter_topsystem.py b/cmk/base/legacy_checks/ucs_bladecenter_topsystem.py index 105b7333f67..1557bd77e88 100644 --- a/cmk/base/legacy_checks/ucs_bladecenter_topsystem.py +++ b/cmk/base/legacy_checks/ucs_bladecenter_topsystem.py @@ -29,6 +29,7 @@ def parse_ucs_bladecenter_topsystem(string_table: StringTable) -> StringTable: check_info["ucs_bladecenter_topsystem"] = LegacyCheckDefinition( + name="ucs_bladecenter_topsystem", parse_function=parse_ucs_bladecenter_topsystem, service_name="UCS TopSystem Info", discovery_function=inventory_ucs_bladecenter_topsystem, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_fans.py b/cmk/base/legacy_checks/ucs_c_rack_server_fans.py index 987a597cd62..62ec9847143 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_fans.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_fans.py @@ -55,6 +55,7 @@ def discover_ucs_c_rack_server_fans(section): check_info["ucs_c_rack_server_fans"] = LegacyCheckDefinition( + name="ucs_c_rack_server_fans", parse_function=parse_ucs_c_rack_server_fans, service_name="Fan %s", discovery_function=discover_ucs_c_rack_server_fans, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_faultinst.py b/cmk/base/legacy_checks/ucs_c_rack_server_faultinst.py index 931623e85ed..dfddfe4e823 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_faultinst.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_faultinst.py @@ -65,6 +65,7 @@ def discover_ucs_c_rack_server_faultinst(p): check_info["ucs_c_rack_server_faultinst"] = LegacyCheckDefinition( + name="ucs_c_rack_server_faultinst", service_name="Fault Instances Rack", discovery_function=discover_ucs_c_rack_server_faultinst, check_function=check_ucs_c_rack_server_faultinst, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_health.py b/cmk/base/legacy_checks/ucs_c_rack_server_health.py index 97e317d5bb7..ba3bdd115a7 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_health.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_health.py @@ -71,6 +71,7 @@ def check_ucs_c_rack_server_health(item, params, parsed): check_info["ucs_c_rack_server_health"] = LegacyCheckDefinition( + name="ucs_c_rack_server_health", parse_function=parse_ucs_c_rack_server_health, service_name="Health %s", discovery_function=inventory_ucs_c_rack_server_health, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_led.py b/cmk/base/legacy_checks/ucs_c_rack_server_led.py index 62d4ba8b3d2..dd48f8e1338 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_led.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_led.py @@ -30,6 +30,7 @@ def discover_ucs_c_rack_server_led(section): check_info["ucs_c_rack_server_led"] = LegacyCheckDefinition( + name="ucs_c_rack_server_led", service_name="LED %s", discovery_function=discover_ucs_c_rack_server_led, check_function=check_ucs_c_rack_server_led, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_power.py b/cmk/base/legacy_checks/ucs_c_rack_server_power.py index bd814a61419..0c7b4279997 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_power.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_power.py @@ -70,6 +70,7 @@ def discover_ucs_c_rack_server_power(section): check_info["ucs_c_rack_server_power"] = LegacyCheckDefinition( + name="ucs_c_rack_server_power", parse_function=parse_ucs_c_rack_server_power, service_name="Motherboard Power Statistics %s", discovery_function=discover_ucs_c_rack_server_power, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_psu.py b/cmk/base/legacy_checks/ucs_c_rack_server_psu.py index 6f0e88ead8d..2be02138857 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_psu.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_psu.py @@ -104,6 +104,7 @@ def check_ucs_c_rack_server_psu(item, _no_params, parsed): check_info["ucs_c_rack_server_psu"] = LegacyCheckDefinition( + name="ucs_c_rack_server_psu", parse_function=parse_ucs_c_rack_server_psu, service_name="Output Power %s", discovery_function=inventory_ucs_c_rack_server_psu, @@ -141,6 +142,7 @@ def check_ucs_c_rack_server_psu_voltage(item, _no_params, parsed): check_info["ucs_c_rack_server_psu.voltage"] = LegacyCheckDefinition( + name="ucs_c_rack_server_psu_voltage", service_name="Output Voltage %s", sections=["ucs_c_rack_server_psu"], discovery_function=inventory_ucs_c_rack_server_psu_voltage, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_temp.py b/cmk/base/legacy_checks/ucs_c_rack_server_temp.py index ce10d7a0d89..976b391fde3 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_temp.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_temp.py @@ -83,6 +83,7 @@ def discover_ucs_c_rack_server_temp(section): check_info["ucs_c_rack_server_temp"] = LegacyCheckDefinition( + name="ucs_c_rack_server_temp", parse_function=parse_ucs_c_rack_server_temp, service_name="Temperature %s", discovery_function=discover_ucs_c_rack_server_temp, diff --git a/cmk/base/legacy_checks/ucs_c_rack_server_topsystem.py b/cmk/base/legacy_checks/ucs_c_rack_server_topsystem.py index dcf21cf26ab..fc2b016670b 100644 --- a/cmk/base/legacy_checks/ucs_c_rack_server_topsystem.py +++ b/cmk/base/legacy_checks/ucs_c_rack_server_topsystem.py @@ -68,6 +68,7 @@ def check_ucs_c_rack_server_topsystem(item, _no_params, data): check_info["ucs_c_rack_server_topsystem"] = LegacyCheckDefinition( + name="ucs_c_rack_server_topsystem", parse_function=parse_ucs_c_rack_server_topsystem, service_name="UCS C-Series Rack Server TopSystem Info", discovery_function=inventory_ucs_c_rack_server_topsystem, diff --git a/cmk/base/legacy_checks/unitrends_backup.py b/cmk/base/legacy_checks/unitrends_backup.py index 2d88b4ff0d4..b14ce23ac35 100644 --- a/cmk/base/legacy_checks/unitrends_backup.py +++ b/cmk/base/legacy_checks/unitrends_backup.py @@ -60,6 +60,7 @@ def parse_unitrends_backup(string_table: StringTable) -> StringTable: check_info["unitrends_backup"] = LegacyCheckDefinition( + name="unitrends_backup", parse_function=parse_unitrends_backup, service_name="Schedule %s", discovery_function=inventory_unitrends_backup, diff --git a/cmk/base/legacy_checks/unitrends_replication.py b/cmk/base/legacy_checks/unitrends_replication.py index d5b67d6f9db..cbffce56b0b 100644 --- a/cmk/base/legacy_checks/unitrends_replication.py +++ b/cmk/base/legacy_checks/unitrends_replication.py @@ -40,6 +40,7 @@ def parse_unitrends_replication(string_table: StringTable) -> StringTable: check_info["unitrends_replication"] = LegacyCheckDefinition( + name="unitrends_replication", parse_function=parse_unitrends_replication, service_name="Replicaion %s", discovery_function=inventory_unitrends_replication, diff --git a/cmk/base/legacy_checks/ups_bat_temp.py b/cmk/base/legacy_checks/ups_bat_temp.py index 74f704eab6a..0b51785ef4b 100644 --- a/cmk/base/legacy_checks/ups_bat_temp.py +++ b/cmk/base/legacy_checks/ups_bat_temp.py @@ -56,6 +56,7 @@ def parse_ups_bat_temp(string_table: StringTable) -> StringTable: check_info["ups_bat_temp"] = LegacyCheckDefinition( + name="ups_bat_temp", parse_function=parse_ups_bat_temp, detect=DETECT_UPS_GENERIC, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_cps_battery.py b/cmk/base/legacy_checks/ups_cps_battery.py index c5702dcb93f..1610e6c7c62 100644 --- a/cmk/base/legacy_checks/ups_cps_battery.py +++ b/cmk/base/legacy_checks/ups_cps_battery.py @@ -53,6 +53,7 @@ def check_ups_cps_battery_temp(item, params, parsed): check_info["ups_cps_battery.temp"] = LegacyCheckDefinition( + name="ups_cps_battery_temp", service_name="Temperature %s", sections=["ups_cps_battery"], discovery_function=inventory_ups_cps_battery_temp, @@ -108,6 +109,7 @@ def check_lower_levels(value, levels): check_info["ups_cps_battery"] = LegacyCheckDefinition( + name="ups_cps_battery", detect=DETECT_UPS_CPS, fetch=SNMPTree( base=".1.3.6.1.4.1.3808.1.1.1.2.2", diff --git a/cmk/base/legacy_checks/ups_cps_inphase.py b/cmk/base/legacy_checks/ups_cps_inphase.py index c8531613678..cff53604463 100644 --- a/cmk/base/legacy_checks/ups_cps_inphase.py +++ b/cmk/base/legacy_checks/ups_cps_inphase.py @@ -33,6 +33,7 @@ def inventory_ups_cps_inphase(parsed): check_info["ups_cps_inphase"] = LegacyCheckDefinition( + name="ups_cps_inphase", detect=DETECT_UPS_CPS, fetch=SNMPTree( base=".1.3.6.1.4.1.3808.1.1.1.3.2", diff --git a/cmk/base/legacy_checks/ups_cps_outphase.py b/cmk/base/legacy_checks/ups_cps_outphase.py index 840c38ecc3a..3136e0b8fce 100644 --- a/cmk/base/legacy_checks/ups_cps_outphase.py +++ b/cmk/base/legacy_checks/ups_cps_outphase.py @@ -45,6 +45,7 @@ def inventory_ups_cps_outphase(section: Section) -> Iterable[tuple[str, dict]]: check_info["ups_cps_outphase"] = LegacyCheckDefinition( + name="ups_cps_outphase", detect=DETECT_UPS_CPS, fetch=SNMPTree( base=".1.3.6.1.4.1.3808.1.1.1.4.2", diff --git a/cmk/base/legacy_checks/ups_eaton_enviroment.py b/cmk/base/legacy_checks/ups_eaton_enviroment.py index 287556d35c7..d30e1c46ae3 100644 --- a/cmk/base/legacy_checks/ups_eaton_enviroment.py +++ b/cmk/base/legacy_checks/ups_eaton_enviroment.py @@ -70,6 +70,7 @@ def parse_ups_eaton_enviroment(string_table: StringTable) -> StringTable: check_info["ups_eaton_enviroment"] = LegacyCheckDefinition( + name="ups_eaton_enviroment", parse_function=parse_ups_eaton_enviroment, detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.705.1.2"), diff --git a/cmk/base/legacy_checks/ups_in_freq.py b/cmk/base/legacy_checks/ups_in_freq.py index 9fe2939eae8..dcd45692a08 100644 --- a/cmk/base/legacy_checks/ups_in_freq.py +++ b/cmk/base/legacy_checks/ups_in_freq.py @@ -46,6 +46,7 @@ def check_ups_in_freq(item, params, parsed): check_info["ups_in_freq"] = LegacyCheckDefinition( + name="ups_in_freq", detect=DETECT_UPS_GENERIC, fetch=SNMPTree( base=".1.3.6.1.2.1.33.1.3.3.1", diff --git a/cmk/base/legacy_checks/ups_in_voltage.py b/cmk/base/legacy_checks/ups_in_voltage.py index 8be4a1a30db..3c31f30eeb6 100644 --- a/cmk/base/legacy_checks/ups_in_voltage.py +++ b/cmk/base/legacy_checks/ups_in_voltage.py @@ -21,6 +21,7 @@ def parse_ups_in_voltage(string_table: StringTable) -> StringTable: check_info["ups_in_voltage"] = LegacyCheckDefinition( + name="ups_in_voltage", parse_function=parse_ups_in_voltage, detect=DETECT_UPS_GENERIC, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_modulys_alarms.py b/cmk/base/legacy_checks/ups_modulys_alarms.py index 9884438ce68..a891b3718e7 100644 --- a/cmk/base/legacy_checks/ups_modulys_alarms.py +++ b/cmk/base/legacy_checks/ups_modulys_alarms.py @@ -65,6 +65,7 @@ def parse_ups_modulys_alarms(string_table: StringTable) -> StringTable: check_info["ups_modulys_alarms"] = LegacyCheckDefinition( + name="ups_modulys_alarms", parse_function=parse_ups_modulys_alarms, detect=DETECT_UPS_MODULYS, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_modulys_inphase.py b/cmk/base/legacy_checks/ups_modulys_inphase.py index 5f030849fa3..b9f9b6ca954 100644 --- a/cmk/base/legacy_checks/ups_modulys_inphase.py +++ b/cmk/base/legacy_checks/ups_modulys_inphase.py @@ -43,6 +43,7 @@ def discover_ups_modulys_inphase(section): check_info["ups_modulys_inphase"] = LegacyCheckDefinition( + name="ups_modulys_inphase", detect=DETECT_UPS_MODULYS, fetch=SNMPTree( base=".1.3.6.1.4.1.2254.2.4.4", diff --git a/cmk/base/legacy_checks/ups_modulys_outphase.py b/cmk/base/legacy_checks/ups_modulys_outphase.py index 7517cf8940e..dd60ee74320 100644 --- a/cmk/base/legacy_checks/ups_modulys_outphase.py +++ b/cmk/base/legacy_checks/ups_modulys_outphase.py @@ -50,6 +50,7 @@ def discover_ups_modulys_outphase(section): check_info["ups_modulys_outphase"] = LegacyCheckDefinition( + name="ups_modulys_outphase", detect=DETECT_UPS_MODULYS, fetch=SNMPTree( base=".1.3.6.1.4.1.2254.2.4.5", diff --git a/cmk/base/legacy_checks/ups_out_voltage.py b/cmk/base/legacy_checks/ups_out_voltage.py index bc42ac4e131..8b1346c5b4a 100644 --- a/cmk/base/legacy_checks/ups_out_voltage.py +++ b/cmk/base/legacy_checks/ups_out_voltage.py @@ -23,6 +23,7 @@ def parse_ups_out_voltage(string_table: StringTable) -> StringTable: check_info["ups_out_voltage"] = LegacyCheckDefinition( + name="ups_out_voltage", parse_function=parse_ups_out_voltage, detect=DETECT_UPS_GENERIC, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_socomec_capacity.py b/cmk/base/legacy_checks/ups_socomec_capacity.py index 404c094b9c2..bc5fe41fc52 100644 --- a/cmk/base/legacy_checks/ups_socomec_capacity.py +++ b/cmk/base/legacy_checks/ups_socomec_capacity.py @@ -81,6 +81,7 @@ def parse_ups_socomec_capacity(string_table: StringTable) -> StringTable: check_info["ups_socomec_capacity"] = LegacyCheckDefinition( + name="ups_socomec_capacity", parse_function=parse_ups_socomec_capacity, detect=DETECT_SOCOMEC, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_socomec_in_voltage.py b/cmk/base/legacy_checks/ups_socomec_in_voltage.py index e14e4ae1333..cead7cd3df7 100644 --- a/cmk/base/legacy_checks/ups_socomec_in_voltage.py +++ b/cmk/base/legacy_checks/ups_socomec_in_voltage.py @@ -41,6 +41,7 @@ def parse_ups_socomec_in_voltage(string_table: StringTable) -> StringTable: check_info["ups_socomec_in_voltage"] = LegacyCheckDefinition( + name="ups_socomec_in_voltage", parse_function=parse_ups_socomec_in_voltage, detect=DETECT_SOCOMEC, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_socomec_out_source.py b/cmk/base/legacy_checks/ups_socomec_out_source.py index 2de2ce34f89..ab81a7afd62 100644 --- a/cmk/base/legacy_checks/ups_socomec_out_source.py +++ b/cmk/base/legacy_checks/ups_socomec_out_source.py @@ -52,6 +52,7 @@ def parse_ups_socomec_out_source(string_table: StringTable) -> StringTable: check_info["ups_socomec_out_source"] = LegacyCheckDefinition( + name="ups_socomec_out_source", parse_function=parse_ups_socomec_out_source, detect=DETECT_SOCOMEC, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_socomec_out_voltage.py b/cmk/base/legacy_checks/ups_socomec_out_voltage.py index f0dc3230e86..8880e851ef1 100644 --- a/cmk/base/legacy_checks/ups_socomec_out_voltage.py +++ b/cmk/base/legacy_checks/ups_socomec_out_voltage.py @@ -43,6 +43,7 @@ def parse_ups_socomec_out_voltage(string_table: StringTable) -> StringTable: check_info["ups_socomec_out_voltage"] = LegacyCheckDefinition( + name="ups_socomec_out_voltage", parse_function=parse_ups_socomec_out_voltage, detect=DETECT_SOCOMEC, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/ups_socomec_outphase.py b/cmk/base/legacy_checks/ups_socomec_outphase.py index b7cd2f99dee..5f197213266 100644 --- a/cmk/base/legacy_checks/ups_socomec_outphase.py +++ b/cmk/base/legacy_checks/ups_socomec_outphase.py @@ -35,6 +35,7 @@ def discover_ups_socomec_outphase(section): check_info["ups_socomec_outphase"] = LegacyCheckDefinition( + name="ups_socomec_outphase", detect=DETECT_SOCOMEC, fetch=SNMPTree( base=".1.3.6.1.4.1.4555.1.1.1.1.4.4.1", diff --git a/cmk/base/legacy_checks/varnish.py b/cmk/base/legacy_checks/varnish.py index c4d0b42a00e..6d8ad606cca 100644 --- a/cmk/base/legacy_checks/varnish.py +++ b/cmk/base/legacy_checks/varnish.py @@ -402,6 +402,7 @@ def check_varnish_uptime(_no_item, _no_params, parsed): check_info["varnish"] = LegacyCheckDefinition( + name="varnish", parse_function=parse_varnish, service_name="Varnish Uptime", discovery_function=inventory_varnish_uptime, @@ -436,6 +437,7 @@ def check_varnish_cache(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.cache"] = LegacyCheckDefinition( + name="varnish_cache", service_name="Varnish Cache", sections=["varnish"], discovery_function=discover_varnish_cache, @@ -472,6 +474,7 @@ def check_varnish_client(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.client"] = LegacyCheckDefinition( + name="varnish_client", service_name="Varnish Client", sections=["varnish"], discovery_function=discover_varnish_client, @@ -513,6 +516,7 @@ def check_varnish_backend(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.backend"] = LegacyCheckDefinition( + name="varnish_backend", service_name="Varnish Backend", sections=["varnish"], discovery_function=discover_varnish_backend, @@ -568,6 +572,7 @@ def check_varnish_fetch(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.fetch"] = LegacyCheckDefinition( + name="varnish_fetch", service_name="Varnish Fetch", sections=["varnish"], discovery_function=discover_varnish_fetch, @@ -602,6 +607,7 @@ def check_varnish_esi(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.esi"] = LegacyCheckDefinition( + name="varnish_esi", service_name="Varnish ESI", sections=["varnish"], discovery_function=discover_varnish_esi, @@ -638,6 +644,7 @@ def check_varnish_objects(item, params, parsed): # | |__/ | # '----------------------------------------------------------------------' check_info["varnish.objects"] = LegacyCheckDefinition( + name="varnish_objects", service_name="Varnish Objects", sections=["varnish"], discovery_function=discover_varnish_objects, @@ -677,6 +684,7 @@ def check_varnish_worker(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.worker"] = LegacyCheckDefinition( + name="varnish_worker", service_name="Varnish Worker", sections=["varnish"], discovery_function=discover_varnish_worker, @@ -703,6 +711,7 @@ def check_varnish_cache_hit_ratio(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.cache_hit_ratio"] = LegacyCheckDefinition( + name="varnish_cache_hit_ratio", service_name="Varnish Cache Hit Ratio", sections=["varnish"], discovery_function=discover_varnish_cache_hit_ratio, @@ -738,6 +747,7 @@ def check_varnish_backend_success_ratio(item, params, parsed): # | | # '----------------------------------------------------------------------' check_info["varnish.backend_success_ratio"] = LegacyCheckDefinition( + name="varnish_backend_success_ratio", service_name="Varnish Backend Success Ratio", sections=["varnish"], discovery_function=discover_varnish_backend_success_ratio, @@ -781,6 +791,7 @@ def discover_varnish_worker_thread_ratio(parsed): check_info["varnish.worker_thread_ratio"] = LegacyCheckDefinition( + name="varnish_worker_thread_ratio", service_name="Varnish Worker Thread Ratio", sections=["varnish"], discovery_function=discover_varnish_worker_thread_ratio, diff --git a/cmk/base/legacy_checks/vbox_guest.py b/cmk/base/legacy_checks/vbox_guest.py index de3cb6cc86c..5bb1eacd4ee 100644 --- a/cmk/base/legacy_checks/vbox_guest.py +++ b/cmk/base/legacy_checks/vbox_guest.py @@ -51,6 +51,7 @@ def parse_vbox_guest(string_table: StringTable) -> StringTable: check_info["vbox_guest"] = LegacyCheckDefinition( + name="vbox_guest", parse_function=parse_vbox_guest, service_name="VBox Guest Additions", discovery_function=inventory_vbox_guest, diff --git a/cmk/base/legacy_checks/veeam_client.py b/cmk/base/legacy_checks/veeam_client.py index 451dd535985..f2821391905 100644 --- a/cmk/base/legacy_checks/veeam_client.py +++ b/cmk/base/legacy_checks/veeam_client.py @@ -149,6 +149,7 @@ def check_veeam_client(item, params, parsed): # pylint: disable=too-many-branch check_info["veeam_client"] = LegacyCheckDefinition( + name="veeam_client", parse_function=parse_veeam_client, service_name="VEEAM Client %s", discovery_function=inventory_veeam_client, diff --git a/cmk/base/legacy_checks/veeam_tapejobs.py b/cmk/base/legacy_checks/veeam_tapejobs.py index e63fec34d57..ac81c083e8c 100644 --- a/cmk/base/legacy_checks/veeam_tapejobs.py +++ b/cmk/base/legacy_checks/veeam_tapejobs.py @@ -79,6 +79,7 @@ def check_veeam_tapejobs(item, params, parsed): check_info["veeam_tapejobs"] = LegacyCheckDefinition( + name="veeam_tapejobs", parse_function=parse_veeam_tapejobs, service_name="VEEAM Tape Job %s", discovery_function=inventory_veeam_tapejobs, diff --git a/cmk/base/legacy_checks/viprinet_firmware.py b/cmk/base/legacy_checks/viprinet_firmware.py index 73d802dacc6..341bc33db87 100644 --- a/cmk/base/legacy_checks/viprinet_firmware.py +++ b/cmk/base/legacy_checks/viprinet_firmware.py @@ -35,6 +35,7 @@ def discover_viprinet_firmware(section: StringTable) -> DiscoveryResult: check_info["viprinet_firmware"] = LegacyCheckDefinition( + name="viprinet_firmware", parse_function=parse_viprinet_firmware, detect=DETECT_VIPRINET, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/viprinet_mem.py b/cmk/base/legacy_checks/viprinet_mem.py index d153e4cf606..a1ae2914f07 100644 --- a/cmk/base/legacy_checks/viprinet_mem.py +++ b/cmk/base/legacy_checks/viprinet_mem.py @@ -41,6 +41,7 @@ def check_viprinet_mem(_no_item, _no_params, info): check_info["viprinet_mem"] = LegacyCheckDefinition( + name="viprinet_mem", parse_function=parse_viprinet_mem, detect=DETECT_VIPRINET, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/viprinet_power.py b/cmk/base/legacy_checks/viprinet_power.py index b46a9ce33a3..ff1ccc86406 100644 --- a/cmk/base/legacy_checks/viprinet_power.py +++ b/cmk/base/legacy_checks/viprinet_power.py @@ -32,6 +32,7 @@ def discover_viprinet_power(section: StringTable) -> DiscoveryResult: check_info["viprinet_power"] = LegacyCheckDefinition( + name="viprinet_power", parse_function=parse_viprinet_power, detect=DETECT_VIPRINET, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/viprinet_router.py b/cmk/base/legacy_checks/viprinet_router.py index 8c339f5f0ed..01cf636729e 100644 --- a/cmk/base/legacy_checks/viprinet_router.py +++ b/cmk/base/legacy_checks/viprinet_router.py @@ -48,6 +48,7 @@ def discover_viprinet_router(section: StringTable) -> DiscoveryResult: check_info["viprinet_router"] = LegacyCheckDefinition( + name="viprinet_router", parse_function=parse_viprinet_router, detect=DETECT_VIPRINET, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/viprinet_serial.py b/cmk/base/legacy_checks/viprinet_serial.py index 6ba1ae71690..6db372647d0 100644 --- a/cmk/base/legacy_checks/viprinet_serial.py +++ b/cmk/base/legacy_checks/viprinet_serial.py @@ -26,6 +26,7 @@ def parse_viprinet_serial(string_table: StringTable) -> StringTable: check_info["viprinet_serial"] = LegacyCheckDefinition( + name="viprinet_serial", parse_function=parse_viprinet_serial, detect=DETECT_VIPRINET, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/viprinet_temp.py b/cmk/base/legacy_checks/viprinet_temp.py index 335b5309419..f34e442161c 100644 --- a/cmk/base/legacy_checks/viprinet_temp.py +++ b/cmk/base/legacy_checks/viprinet_temp.py @@ -28,6 +28,7 @@ def discover_viprinet_temp(section: StringTable) -> DiscoveryResult: check_info["viprinet_temp"] = LegacyCheckDefinition( + name="viprinet_temp", parse_function=parse_viprinet_temp, detect=DETECT_VIPRINET, fetch=SNMPTree( diff --git a/cmk/base/legacy_checks/vms_cpu.py b/cmk/base/legacy_checks/vms_cpu.py index 411a71fc3b8..d548bf00e1e 100644 --- a/cmk/base/legacy_checks/vms_cpu.py +++ b/cmk/base/legacy_checks/vms_cpu.py @@ -65,6 +65,7 @@ def check_vms_cpu(_no_item, params, parsed): check_info["vms_cpu"] = LegacyCheckDefinition( + name="vms_cpu", parse_function=parse_vms_cpu, service_name="CPU utilization", discovery_function=inventory_vms_cpu, diff --git a/cmk/base/legacy_checks/vms_queuejobs.py b/cmk/base/legacy_checks/vms_queuejobs.py index 56efa521e85..a58897df9da 100644 --- a/cmk/base/legacy_checks/vms_queuejobs.py +++ b/cmk/base/legacy_checks/vms_queuejobs.py @@ -53,6 +53,7 @@ def parse_vms_queuejobs(string_table: StringTable) -> StringTable: check_info["vms_queuejobs"] = LegacyCheckDefinition( + name="vms_queuejobs", parse_function=parse_vms_queuejobs, service_name="Queue Jobs", discovery_function=inventory_vms_queuejobs, diff --git a/cmk/base/legacy_checks/vms_system.py b/cmk/base/legacy_checks/vms_system.py index a93602cb5a1..dd964b7a142 100644 --- a/cmk/base/legacy_checks/vms_system.py +++ b/cmk/base/legacy_checks/vms_system.py @@ -24,6 +24,7 @@ def parse_vms_system(string_table: StringTable) -> StringTable: check_info["vms_system"] = LegacyCheckDefinition( + name="vms_system", parse_function=parse_vms_system, ) @@ -44,6 +45,7 @@ def check_vms_system_ios(_no_item, _no_params, info): check_info["vms_system.ios"] = LegacyCheckDefinition( + name="vms_system_ios", service_name="IOs", sections=["vms_system"], discovery_function=inventory_vms_system, @@ -65,6 +67,7 @@ def check_vms_system_procs(_no_item, params, info): check_info["vms_system.procs"] = LegacyCheckDefinition( + name="vms_system_procs", service_name="Number of processes", sections=["vms_system"], discovery_function=inventory_vms_system, diff --git a/cmk/base/legacy_checks/vms_users.py b/cmk/base/legacy_checks/vms_users.py index a5c626b959d..856db19dfa6 100644 --- a/cmk/base/legacy_checks/vms_users.py +++ b/cmk/base/legacy_checks/vms_users.py @@ -58,6 +58,7 @@ def parse_vms_users(string_table: StringTable) -> StringTable: check_info["vms_users"] = LegacyCheckDefinition( + name="vms_users", parse_function=parse_vms_users, service_name="VMS Users", discovery_function=inventory_vms_users, diff --git a/cmk/base/legacy_checks/vnx_version.py b/cmk/base/legacy_checks/vnx_version.py index e6e3ecc0708..26058a53cee 100644 --- a/cmk/base/legacy_checks/vnx_version.py +++ b/cmk/base/legacy_checks/vnx_version.py @@ -24,6 +24,7 @@ def parse_vnx_version(string_table: StringTable) -> StringTable: check_info["vnx_version"] = LegacyCheckDefinition( + name="vnx_version", parse_function=parse_vnx_version, service_name="VNX Version", discovery_function=inventory_vnx_version, diff --git a/cmk/base/legacy_checks/vutlan_ems_humidity.py b/cmk/base/legacy_checks/vutlan_ems_humidity.py index d683e7ded25..32fa6fac927 100644 --- a/cmk/base/legacy_checks/vutlan_ems_humidity.py +++ b/cmk/base/legacy_checks/vutlan_ems_humidity.py @@ -40,6 +40,7 @@ def check_vutlan_ems_humidity(item, params, parsed): check_info["vutlan_ems_humidity"] = LegacyCheckDefinition( + name="vutlan_ems_humidity", detect=DETECT_VUTLAN_EMS, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/vutlan_ems_leakage.py b/cmk/base/legacy_checks/vutlan_ems_leakage.py index 00619d5fcac..000be69b90c 100644 --- a/cmk/base/legacy_checks/vutlan_ems_leakage.py +++ b/cmk/base/legacy_checks/vutlan_ems_leakage.py @@ -43,6 +43,7 @@ def check_vutlan_ems_leakage(item, _no_params, parsed): check_info["vutlan_ems_leakage"] = LegacyCheckDefinition( + name="vutlan_ems_leakage", detect=DETECT_VUTLAN_EMS, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/vutlan_ems_temp.py b/cmk/base/legacy_checks/vutlan_ems_temp.py index 0315cdb6fd1..e267e4bcb87 100644 --- a/cmk/base/legacy_checks/vutlan_ems_temp.py +++ b/cmk/base/legacy_checks/vutlan_ems_temp.py @@ -44,6 +44,7 @@ def check_vutlan_ems_temp(item, params, parsed): check_info["vutlan_ems_temp"] = LegacyCheckDefinition( + name="vutlan_ems_temp", detect=DETECT_VUTLAN_EMS, fetch=[ SNMPTree( diff --git a/cmk/base/legacy_checks/vxvm_objstatus.py b/cmk/base/legacy_checks/vxvm_objstatus.py index 8724ef374f6..20f5c4058e7 100644 --- a/cmk/base/legacy_checks/vxvm_objstatus.py +++ b/cmk/base/legacy_checks/vxvm_objstatus.py @@ -65,6 +65,7 @@ def parse_vxvm_objstatus(string_table: StringTable) -> StringTable: check_info["vxvm_objstatus"] = LegacyCheckDefinition( + name="vxvm_objstatus", parse_function=parse_vxvm_objstatus, service_name="VXVM objstatus %s", discovery_function=inventory_vxvm_objstatus, diff --git a/cmk/base/legacy_checks/wagner_titanus_topsense.py b/cmk/base/legacy_checks/wagner_titanus_topsense.py index 39a7783a81a..3ce9380ead4 100644 --- a/cmk/base/legacy_checks/wagner_titanus_topsense.py +++ b/cmk/base/legacy_checks/wagner_titanus_topsense.py @@ -20,6 +20,7 @@ def parse_wagner_titanus_topsense( check_info["wagner_titanus_topsense"] = LegacyCheckDefinition( + name="wagner_titanus_topsense", parse_function=parse_wagner_titanus_topsense, detect=any_of( equals(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.34187.21501"), @@ -114,6 +115,7 @@ def check_wagner_titanus_topsense_info(item, _no_params, info): check_info["wagner_titanus_topsense.info"] = LegacyCheckDefinition( + name="wagner_titanus_topsense_info", service_name="Topsense Info", sections=["wagner_titanus_topsense"], discovery_function=inventory_wagner_titanus_topsense_info, @@ -149,6 +151,7 @@ def check_wagner_titanus_topsense_overall_status(item, _no_params, info): check_info["wagner_titanus_topsense.overall_status"] = LegacyCheckDefinition( + name="wagner_titanus_topsense_overall_status", service_name="Overall Status", sections=["wagner_titanus_topsense"], discovery_function=inventory_wagner_titanus_topsense_overall_status, @@ -200,6 +203,7 @@ def check_wagner_titanus_topsense_alarm(item, _no_params, info): check_info["wagner_titanus_topsense.alarm"] = LegacyCheckDefinition( + name="wagner_titanus_topsense_alarm", service_name="Alarm Detector %s", sections=["wagner_titanus_topsense"], discovery_function=inventory_wagner_titanus_topsense_alarm, @@ -243,6 +247,7 @@ def check_wagner_titanus_topsense_smoke(item, _no_params, info): check_info["wagner_titanus_topsense.smoke"] = LegacyCheckDefinition( + name="wagner_titanus_topsense_smoke", service_name="Smoke Detector %s", sections=["wagner_titanus_topsense"], discovery_function=inventory_wagner_titanus_topsense_smoke, @@ -280,6 +285,7 @@ def check_wagner_titanus_topsense_chamber_deviation(item, _no_params, info): check_info["wagner_titanus_topsense.chamber_deviation"] = LegacyCheckDefinition( + name="wagner_titanus_topsense_chamber_deviation", service_name="Chamber Deviation Detector %s", sections=["wagner_titanus_topsense"], discovery_function=inventory_wagner_titanus_topsense_chamber_deviation, @@ -321,6 +327,7 @@ def check_wagner_titanus_topsense_airflow_deviation(item, params, info): check_info["wagner_titanus_topsense.airflow_deviation"] = LegacyCheckDefinition( + name="wagner_titanus_topsense_airflow_deviation", service_name="Airflow Deviation Detector %s", sections=["wagner_titanus_topsense"], discovery_function=inventory_wagner_titanus_topsense_airflow_deviation, @@ -364,6 +371,7 @@ def check_wagner_titanus_topsense_temp(item, params, info): check_info["wagner_titanus_topsense.temp"] = LegacyCheckDefinition( + name="wagner_titanus_topsense_temp", service_name="Temperature %s", sections=["wagner_titanus_topsense"], discovery_function=inventory_wagner_titanus_topsense_temp, diff --git a/cmk/base/legacy_checks/watchdog_sensors.py b/cmk/base/legacy_checks/watchdog_sensors.py index 58be6a390b6..92b2f33da0f 100644 --- a/cmk/base/legacy_checks/watchdog_sensors.py +++ b/cmk/base/legacy_checks/watchdog_sensors.py @@ -145,6 +145,7 @@ def check_watchdog_sensors(item, params, parsed): check_info["watchdog_sensors"] = LegacyCheckDefinition( + name="watchdog_sensors", detect=any_of( startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.21239.5.1"), startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.21239.42.1"), @@ -199,6 +200,7 @@ def check_watchdog_sensors_temp(item, params, parsed): check_info["watchdog_sensors.temp"] = LegacyCheckDefinition( + name="watchdog_sensors_temp", service_name="%s ", sections=["watchdog_sensors"], discovery_function=inventory_watchdog_sensors_temp, @@ -247,6 +249,7 @@ def check_watchdog_sensors_humidity(item, params, parsed): check_info["watchdog_sensors.humidity"] = LegacyCheckDefinition( + name="watchdog_sensors_humidity", service_name="%s", sections=["watchdog_sensors"], discovery_function=inventory_watchdog_sensors_humidity, @@ -290,6 +293,7 @@ def check_watchdog_sensors_dew(item, params, parsed): check_info["watchdog_sensors.dew"] = LegacyCheckDefinition( + name="watchdog_sensors_dew", service_name="%s", sections=["watchdog_sensors"], discovery_function=inventory_watchdog_sensors_dew, diff --git a/cmk/base/legacy_checks/win_license.py b/cmk/base/legacy_checks/win_license.py index afbd64a1359..fb9a2dc10de 100644 --- a/cmk/base/legacy_checks/win_license.py +++ b/cmk/base/legacy_checks/win_license.py @@ -76,6 +76,7 @@ def check_win_license(_item, params, parsed): check_info["win_license"] = LegacyCheckDefinition( + name="win_license", parse_function=parse_win_license, service_name="Windows License", discovery_function=inventory_win_license, diff --git a/cmk/base/legacy_checks/win_netstat.py b/cmk/base/legacy_checks/win_netstat.py index 4e0bd7a4bce..08d942406ad 100644 --- a/cmk/base/legacy_checks/win_netstat.py +++ b/cmk/base/legacy_checks/win_netstat.py @@ -68,6 +68,7 @@ def parse_win_netstat(string_table): check_info["win_netstat"] = LegacyCheckDefinition( + name="win_netstat", parse_function=parse_win_netstat, service_name="TCP Connection %s", check_function=check_netstat_generic, diff --git a/cmk/base/legacy_checks/win_printers.py b/cmk/base/legacy_checks/win_printers.py index 4c5b3e5985a..fe71f5b3c64 100644 --- a/cmk/base/legacy_checks/win_printers.py +++ b/cmk/base/legacy_checks/win_printers.py @@ -95,6 +95,7 @@ def check_win_printers( check_info["win_printers"] = LegacyCheckDefinition( + name="win_printers", parse_function=parse_win_printers, service_name="Printer %s", discovery_function=discover_win_printers, diff --git a/cmk/base/legacy_checks/windows_broadcom_bonding.py b/cmk/base/legacy_checks/windows_broadcom_bonding.py index f669c7b8d2b..4c1a4d22faf 100644 --- a/cmk/base/legacy_checks/windows_broadcom_bonding.py +++ b/cmk/base/legacy_checks/windows_broadcom_bonding.py @@ -42,6 +42,7 @@ def parse_windows_broadcom_bonding(string_table: StringTable) -> StringTable: check_info["windows_broadcom_bonding"] = LegacyCheckDefinition( + name="windows_broadcom_bonding", parse_function=parse_windows_broadcom_bonding, service_name="Bonding Interface %s", discovery_function=inventory_windows_broadcom_bonding, diff --git a/cmk/base/legacy_checks/windows_multipath.py b/cmk/base/legacy_checks/windows_multipath.py index 2fdb0116309..9c61abc10fd 100644 --- a/cmk/base/legacy_checks/windows_multipath.py +++ b/cmk/base/legacy_checks/windows_multipath.py @@ -57,6 +57,7 @@ def parse_windows_multipath(string_table: StringTable) -> StringTable: check_info["windows_multipath"] = LegacyCheckDefinition( + name="windows_multipath", parse_function=parse_windows_multipath, service_name="Multipath", discovery_function=inventory_windows_multipath, diff --git a/cmk/base/legacy_checks/winperf.py b/cmk/base/legacy_checks/winperf.py index 419a45a9b9f..244cea2cb66 100644 --- a/cmk/base/legacy_checks/winperf.py +++ b/cmk/base/legacy_checks/winperf.py @@ -120,11 +120,13 @@ def parse_winperf(string_table: StringTable) -> StringTable: check_info["winperf"] = LegacyCheckDefinition( + name="winperf", parse_function=parse_winperf, ) check_info["winperf.cpuusage"] = LegacyCheckDefinition( + name="winperf_cpuusage", service_name="CPU Usage", sections=["winperf"], discovery_function=inventory_win_cpuusage, @@ -132,6 +134,7 @@ def parse_winperf(string_table: StringTable) -> StringTable: ) check_info["winperf.diskstat"] = LegacyCheckDefinition( + name="winperf_diskstat", service_name="Disk IO", sections=["winperf"], discovery_function=inventory_win_diskstat, diff --git a/cmk/base/legacy_checks/winperf_mem.py b/cmk/base/legacy_checks/winperf_mem.py index 831a91a1127..6dfbfecd9a3 100644 --- a/cmk/base/legacy_checks/winperf_mem.py +++ b/cmk/base/legacy_checks/winperf_mem.py @@ -85,6 +85,7 @@ def parse_winperf_mem(string_table: StringTable) -> StringTable: check_info["winperf_mem"] = LegacyCheckDefinition( + name="winperf_mem", parse_function=parse_winperf_mem, service_name="Memory Pages", discovery_function=inventory_winperf_mem, diff --git a/cmk/base/legacy_checks/winperf_ts_sessions.py b/cmk/base/legacy_checks/winperf_ts_sessions.py index 3cea686291b..25cc9766528 100644 --- a/cmk/base/legacy_checks/winperf_ts_sessions.py +++ b/cmk/base/legacy_checks/winperf_ts_sessions.py @@ -61,6 +61,7 @@ def parse_winperf_ts_sessions(string_table: StringTable) -> StringTable: check_info["winperf_ts_sessions"] = LegacyCheckDefinition( + name="winperf_ts_sessions", parse_function=parse_winperf_ts_sessions, service_name="Sessions", discovery_function=inventory_winperf_ts_sessions, diff --git a/cmk/base/legacy_checks/wmi_webservices.py b/cmk/base/legacy_checks/wmi_webservices.py index e8a8d1d630c..4b14f7ce88a 100644 --- a/cmk/base/legacy_checks/wmi_webservices.py +++ b/cmk/base/legacy_checks/wmi_webservices.py @@ -24,6 +24,7 @@ def discover_wmi_webservices(p): check_info["wmi_webservices"] = LegacyCheckDefinition( + name="wmi_webservices", parse_function=parse_wmi_table, service_name="Web Service %s", discovery_function=discover_wmi_webservices, diff --git a/cmk/base/legacy_checks/wmic_process.py b/cmk/base/legacy_checks/wmic_process.py index da4f46a47fe..5c231c87c51 100644 --- a/cmk/base/legacy_checks/wmic_process.py +++ b/cmk/base/legacy_checks/wmic_process.py @@ -93,6 +93,7 @@ def parse_wmic_process(string_table: StringTable) -> StringTable: check_info["wmic_process"] = LegacyCheckDefinition( + name="wmic_process", parse_function=parse_wmic_process, service_name="Process %s", check_function=check_wmic_process, diff --git a/cmk/base/legacy_checks/wut_webtherm.py b/cmk/base/legacy_checks/wut_webtherm.py index 16c981dc657..a5d9bb12b9f 100644 --- a/cmk/base/legacy_checks/wut_webtherm.py +++ b/cmk/base/legacy_checks/wut_webtherm.py @@ -70,6 +70,7 @@ def check_wut_webtherm(item, params, parsed): check_info["wut_webtherm"] = LegacyCheckDefinition( + name="wut_webtherm", detect=startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.5040.1.2."), fetch=[ SNMPTree( @@ -118,6 +119,7 @@ def check_wut_webtherm_pressure(item, _no_params, parsed): check_info["wut_webtherm.pressure"] = LegacyCheckDefinition( + name="wut_webtherm_pressure", service_name="Pressure %s", sections=["wut_webtherm"], discovery_function=inventory_wut_webtherm_pressure, @@ -146,6 +148,7 @@ def check_wut_webtherm_humidity(item, params, parsed): check_info["wut_webtherm.humidity"] = LegacyCheckDefinition( + name="wut_webtherm_humidity", service_name="Humidity %s", sections=["wut_webtherm"], discovery_function=inventory_wut_webtherm_humidity, diff --git a/cmk/utils/legacy_check_api.py b/cmk/utils/legacy_check_api.py index 79c938c51ec..b3da6d6f9db 100644 --- a/cmk/utils/legacy_check_api.py +++ b/cmk/utils/legacy_check_api.py @@ -42,6 +42,7 @@ @dataclass(frozen=True, kw_only=True) class LegacyCheckDefinition: + name: str detect: SNMPDetectSpecification | None = None fetch: list[SNMPTree] | SNMPTree | None = None sections: list[str] | None = None diff --git a/tests/unit/checks/test_generic_legacy_conversion.py b/tests/unit/checks/test_generic_legacy_conversion.py index 63f432c494e..d493a24bc32 100644 --- a/tests/unit/checks/test_generic_legacy_conversion.py +++ b/tests/unit/checks/test_generic_legacy_conversion.py @@ -7,7 +7,7 @@ from tests.unit.conftest import FixPluginLegacy, FixRegister -from cmk.utils.check_utils import section_name_of +from cmk.utils.check_utils import maincheckify, section_name_of from cmk.utils.legacy_check_api import LegacyCheckDefinition from cmk.utils.sectionname import SectionName @@ -16,6 +16,16 @@ pytestmark = pytest.mark.checks +def test_name_is_correctly_derived_from_check_info_key(fix_plugin_legacy: FixPluginLegacy) -> None: + """Temporary test to make sure we add the correct sections.""" + offenders = { + check_info_key + for check_info_key, check_info_element in fix_plugin_legacy.check_info.items() + if check_info_element.name != maincheckify(check_info_key) + } + assert not offenders + + def test_create_section_plugin_from_legacy( fix_plugin_legacy: FixPluginLegacy, fix_register: FixRegister ) -> None: diff --git a/tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py b/tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py index 3dbad76e5cb..a42cae040db 100644 --- a/tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py +++ b/tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py @@ -26,6 +26,7 @@ def dummy_generator(section): # pylint: disable=unused-argument MINIMAL_CHECK_INFO = LegacyCheckDefinition( + name="norris", service_name="Norris Device", discovery_function=dummy_generator, check_function=dummy_generator, @@ -47,7 +48,7 @@ def insane_discovery(info): ] new_function = check_plugins_legacy._create_discovery_function( - LegacyCheckDefinition(discovery_function=insane_discovery), + LegacyCheckDefinition(name="test_plugin", discovery_function=insane_discovery), ) fixed_params = inspect.signature(new_function).parameters @@ -79,6 +80,7 @@ def insane_check(item, _no_params, info): "test_plugin", "Foo %s", LegacyCheckDefinition( + name="test_plugin", check_function=insane_check, ), ) @@ -126,6 +128,7 @@ def insane_check(item, _no_params, info): "test_plugin", "Foo %s", LegacyCheckDefinition( + name="test_plugin", check_function=insane_check, ), ) @@ -158,6 +161,7 @@ def insane_check(item, _no_params, info): "test_plugin", "Foo %s", LegacyCheckDefinition( + name="test_plugin", check_function=insane_check, ), ) @@ -186,6 +190,7 @@ def insane_check(item, _no_params, info): "test_plugin", "Foo %s", LegacyCheckDefinition( + name="test_plugin", check_function=insane_check, ), ) diff --git a/tests/unit/cmk/base/test_config.py b/tests/unit/cmk/base/test_config.py index 0a205fac41f..76f21096f92 100644 --- a/tests/unit/cmk/base/test_config.py +++ b/tests/unit/cmk/base/test_config.py @@ -2973,6 +2973,7 @@ def test_write(self, store: config.PackedConfigStore, config_path: VersionedConf def test__extract_check_plugins(monkeypatch: MonkeyPatch) -> None: duplicate_plugin = { "duplicate_plugin": LegacyCheckDefinition( + name="duplicate_plugin", service_name="blah", ), } @@ -3011,7 +3012,7 @@ def test__extract_check_plugins(monkeypatch: MonkeyPatch) -> None: def test__extract_agent_and_snmp_sections(monkeypatch: MonkeyPatch) -> None: duplicate_plugin = { - "duplicate_plugin": LegacyCheckDefinition(), + "duplicate_plugin": LegacyCheckDefinition(name="duplicate_plugin"), } registered_section = SNMPSectionPlugin( SectionName("duplicate_plugin"),