Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 9d11e63096e0e006c11553b6111c3389632a57bd
https://github.com/tribe29/checkmk/commit/9d11e63096e0e006c11553b6111c33896…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/service_discovery.py
M web/htdocs/openapi/checkmk.yaml
Log Message:
-----------
API doc: improvement and completion of doc for service discovery
Change-Id: Ic98ed7b738aa05b0215316e8cfe4a1d43f69c5a9
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: ad6a056f75c993ab4038297cfe3d0fc5b3d887ca
https://github.com/tribe29/checkmk/commit/ad6a056f75c993ab4038297cfe3d0fc5b…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M checkman/huawei_osn_if
R checks/huawei_osn_if
A cmk/base/plugins/agent_based/huawei_osn_if.py
A cmk/base/plugins/agent_based/utils/huawei_osn.py
M tests/unit/checks/test_generic_legacy_conversion.py
Log Message:
-----------
Migration of huawei_osn_if
CMK-5631
Change-Id: I98555c177d764b55e8ef0d55a0f047e044375abe
Commit: e69fc488be0b81207888ecc7c87f5a1fc387c641
https://github.com/tribe29/checkmk/commit/e69fc488be0b81207888ecc7c87f5a1fc…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M checkman/adva_fsp_if
R checks/adva_fsp_if
A cmk/base/plugins/agent_based/adva_fsp_if.py
M tests/unit/checks/test_generic_legacy_conversion.py
A tests/unit/cmk/base/plugins/agent_based/test_adva_fsp_if.py
Log Message:
-----------
Migration of adva_fsp_if
CMK-5631
Change-Id: I59bdf838a579b175b79616a2f46f9a80aabff882
Commit: 622603aad20bb9a4a5b1a58227641d2a222be5a1
https://github.com/tribe29/checkmk/commit/622603aad20bb9a4a5b1a58227641d2a2…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M cmk/base/check_api.py
M cmk/snmplib/utils.py
M tests/unit/cmk/lib/test_snmplib_utils.py
Log Message:
-----------
Remove legacy mechanism for fallback SNMP scan functions
The legacy check API offers a mechanism to classify SNMP sections into
two categories: sections which are first scanned for and fallback
sections which are only considered if the former are not found. This
was used to prevent duplicate interface services. With the migration
of most interface checks to the new API, this mechanism has become
unnecessary.
CMK-5631
Change-Id: Id4d2c1d3087ace2c164521a3d03852df3e40d1c2
Compare: https://github.com/tribe29/checkmk/compare/5bc5537e677a...622603aad20b
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: be9894bde6112e446ce8abd052d9f5ba80e029a2
https://github.com/tribe29/checkmk/commit/be9894bde6112e446ce8abd052d9f5ba8…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M .werks/11363
M checkman/if64
R checkman/if64adm
M cmk/base/.f12
M cmk/base/api/agent_based/utils.py
M cmk/base/config.py
M cmk/base/plugins/agent_based/agent_based_api/v1/__init__.py
M cmk/base/plugins/agent_based/aix_if.py
M cmk/base/plugins/agent_based/emc_vplex_if.py
M cmk/base/plugins/agent_based/hitachi_hnas_fc_if.py
M cmk/base/plugins/agent_based/hp_msa_if.py
M cmk/base/plugins/agent_based/hpux_if.py
M cmk/base/plugins/agent_based/if32.py
M cmk/base/plugins/agent_based/if64.py
M cmk/base/plugins/agent_based/if64_tplink.py
R cmk/base/plugins/agent_based/if64adm.py
M cmk/base/plugins/agent_based/if_brocade_lancom.py
M cmk/base/plugins/agent_based/if_fortigate.py
M cmk/base/plugins/agent_based/mcdata_fcport.py
M cmk/base/plugins/agent_based/statgrab_net.py
M cmk/base/plugins/agent_based/ucs_bladecenter_if.py
M cmk/base/plugins/agent_based/utils/if64.py
M cmk/base/plugins/agent_based/utils/interfaces.py
M cmk/base/plugins/agent_based/vms_if.py
M cmk/gui/plugins/metrics/translation.py
M cmk/gui/plugins/views/perfometers/check_mk.py
M cmk/gui/plugins/wato/check_parameters/if.py
M cmk/update_config.py
Log Message:
-----------
11363 if64, if64adm: Monitoring of the admin status <tt>ifAdminStatus</tt> for switch ports
This werk is only relevant for users who are currently monitoring the admin status
<tt>ifAdminStatus</tt> of switch ports (check plugin <tt>if64adm</tt>).
The 64-bit version of the interface check for switch ports can be configured to
also monitor the admin status <tt>ifAdminStatus</tt>. Up to now, if this option
was activated, Checkmk used the check plugin <tt>if64adm</tt> instead of
<tt>if64</tt>. Furthermore, only an <tt>ifAdminStatus</tt> of 2 was reported by
setting the port state to <i>9 - admin down</i>. With this werk, the admin
status is monitored completely separately from the port state. Consequently, the
port state <i>9 - admin down</i> is not available any more.
Previously, the monitoring of the admin state was activated implicitly by configuring
Checkmk to discover ports in the state <i>9 - admin down</i> (rule "Network Interface
and Switch Port Discovery"). Now, this is handled via the rule for including and
excluding SNMP sections ("Include or exclude SNMP sections"). If and only if the section
<tt>if64adm</tt> is enabled via this rule, the admin status will be monitored,
independently of the configuration in "Network Interface and Switch Port Discovery".
Furthermore, since the admin status is now reported separately from the port state,
it can also be used to configure 1) the discovery of network interfaces (rule "Network
Interface and Switch Port Discovery"), 2) the monitoring state (rule "Network interfaces
and switch ports"). For example, you can make Checkmk discover only interfaces with
an admin status of 2 or you can set the monitoring state of all interfaces with an
admin status of 1 to WARNING. Note that these configuration options only have an effect
if the admin status is actually monitored, i.e., if the section <tt>if64adm</tt> is
enabled.
Moreover, contrary to before, from now on, no re-discovery is necessary after activating
or deactivating the monitoring of the admin status. This is because this werk combines the
check plugins <tt>if64</tt> and <tt>if64adm</tt> into a single plugin called <tt>if64</tt>.
This change is incompatible for all users who are currently monitoring the admin
status using <tt>if64adm</tt>. These users should follow these steps:
<ul>
<li>Activate the monitoring of the admin status by enabling the section <tt>if64adm</tt>
via the rule "Include or exclude SNMP sections".</li>
<li>Check the discovery configuration (rule "Network Interface and Switch Port
Discovery"). As mentioned above, the admin state can now be used to further refine the
discovery of network interfaces. On the other hand, the port state <i>9 - admin down</i>
is not available any more, so users might have to adjust their configurations.</li>
<li>Re-discover the services of affected hosts.</li>
<li>Check the monitoring configuration (rule "Network interfaces and switch ports").
Analogously to the discovery configuration, the admin state can now be used to set
the monitoring state of network interfaces and the port state <i>9 - admin down</i>
is not available any more.</li>
<li>Finally, check if there are any rules of the type "Bulk walk: Limit SNMP OID ranges"
where the option "SNMP interface check with 64 bit counters using admin states (using v2c)"
is selected (this will now be displayed as "Element 'if64adm' does not exist anymore").
Change these to "SNMP interface check with 64 bit counters (using v2c)". This is necessary
because, as mentioned above, the check plugin <tt>if64adm</tt> does not exist any more.
</li>
</ul>
CMK-5414
Change-Id: I4f2f224d1e4dad32d87d506db81c73258d6b5ab3
Commit: 4280909108f4d0200d6ed46c1fccd84e6b216777
https://github.com/tribe29/checkmk/commit/4280909108f4d0200d6ed46c1fccd84e6…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/section_plugins.py
M cmk/base/api/agent_based/type_defs.py
M cmk/base/checkers/snmp.py
M cmk/snmplib/type_defs.py
M tests/unit/cmk/base/api/agent_based/register/test_section_plugins.py
M tests/unit/cmk/base/checkers/test_snmp_data_source.py
R tests/unit/cmk/snmplib/test_snmp_type_defs.py
Log Message:
-----------
Remove mechanism for dynamic, rule-based SNMP detection specifications
The new rule for disabling SNMP sections (werk #11114) made the
mechanism for dynamically computing SNMP detection specifications
unncessary.
CMK-5414
Change-Id: I2766de1edf771e940130b7cd32fcf19e262e1cf4
Commit: fcce7fbeb24346529abde96a17fe8c420d5082a1
https://github.com/tribe29/checkmk/commit/fcce7fbeb24346529abde96a17fe8c420…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M cmk/fetchers/controller.py
Log Message:
-----------
Post review cleanups
Change-Id: I7f7438a8a47209af3cac993eae058bc2eacdfd18
Compare: https://github.com/tribe29/checkmk/compare/c3e5c4392711...fcce7fbeb243
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 5f755975e96b080f7efd24b5fe1a0f1c149c6434
https://github.com/tribe29/checkmk/commit/5f755975e96b080f7efd24b5fe1a0f1c1…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M cmk/update_config.py
M tests/unit/cmk/test_update_config.py
Log Message:
-----------
Added parameter transformation step to _rewrite_wato_rulesets
Added step to _rewrite_wato_rulesets to change the format of the
parameters in conf.d/wato/rules.mk to the new format required by the
API.
CMK-5515
Change-Id: If465d3ed8aa23688d8a2fb9718de1df35a427d7d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 205f424c4ca02915f66b650671678586c66b0ed0
https://github.com/tribe29/checkmk/commit/205f424c4ca02915f66b650671678586c…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
R .werks/11337
M agents/check_mk_agent.aix
R agents/mk-job.aix
Log Message:
-----------
Revert "11337 job: addition of job monitoring to AIX agent"
This reverts commit e2c6188a9016692ff862e452334e0f294f2f194c.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I665989e68f3b16ce9465e662ead6fd08b259b0e6
Commit: 306e650e913a11a0e76ca01b1656d3914d2f7fd4
https://github.com/tribe29/checkmk/commit/306e650e913a11a0e76ca01b1656d3914…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/checking_classes.py
M cmk/base/api/agent_based/clusterize.py
M cmk/base/api/agent_based/register/check_plugins.py
M cmk/base/api/agent_based/register/check_plugins_legacy.py
M cmk/base/api/agent_based/utils.py
M cmk/base/checking.py
M cmk/base/plugins/agent_based/agent_based_api/v1/__init__.py
M cmk/base/plugins/agent_based/brocade_optical.py
M cmk/base/plugins/agent_based/chrony.py
M cmk/base/plugins/agent_based/cisco_mem_asa.py
M cmk/base/plugins/agent_based/cisco_wlc.py
M cmk/base/plugins/agent_based/docker_container_status.py
M cmk/base/plugins/agent_based/esx_vsphere_hostsystem_cpu_usage.py
M cmk/base/plugins/agent_based/f5_bigip_cluster.py
M cmk/base/plugins/agent_based/f5_bigip_cluster_status.py
M cmk/base/plugins/agent_based/f5_bigip_vcmpguests.py
M cmk/base/plugins/agent_based/infoblox_services.py
M cmk/base/plugins/agent_based/ipmi.py
M cmk/base/plugins/agent_based/job.py
M cmk/base/plugins/agent_based/juniper_trpz_aps.py
M cmk/base/plugins/agent_based/juniper_trpz_aps_sessions.py
M cmk/base/plugins/agent_based/k8s_stats_fs.py
M cmk/base/plugins/agent_based/k8s_stats_network.py
M cmk/base/plugins/agent_based/liebert_humidity_air.py
M cmk/base/plugins/agent_based/liebert_system.py
M cmk/base/plugins/agent_based/liebert_temp_air.py
M cmk/base/plugins/agent_based/livestatus_status.py
M cmk/base/plugins/agent_based/local.py
M cmk/base/plugins/agent_based/logwatch.py
M cmk/base/plugins/agent_based/logwatch_ec.py
M cmk/base/plugins/agent_based/mem_used.py
M cmk/base/plugins/agent_based/mssql_counters_cache_hits.py
M cmk/base/plugins/agent_based/mssql_counters_file_sizes.py
M cmk/base/plugins/agent_based/mssql_counters_locks.py
M cmk/base/plugins/agent_based/mssql_counters_locks_per_batch.py
M cmk/base/plugins/agent_based/mssql_counters_pageactivity.py
M cmk/base/plugins/agent_based/mssql_counters_sqlstats.py
M cmk/base/plugins/agent_based/mssql_counters_transactions.py
M cmk/base/plugins/agent_based/mssql_databases.py
M cmk/base/plugins/agent_based/mssql_datafiles_transactionlogs.py
M cmk/base/plugins/agent_based/netapp_api_if.py
M cmk/base/plugins/agent_based/netapp_api_vf_stats.py
M cmk/base/plugins/agent_based/netscaler_vserver.py
M cmk/base/plugins/agent_based/omd_status.py
M cmk/base/plugins/agent_based/oracle_asm_diskgroup.py
M cmk/base/plugins/agent_based/oracle_rman.py
M cmk/base/plugins/agent_based/oracle_tablespaces.py
M cmk/base/plugins/agent_based/prometheus_build.py
M cmk/base/plugins/agent_based/sap_hana_backup.py
M cmk/base/plugins/agent_based/sap_hana_data_volume.py
M cmk/base/plugins/agent_based/sap_hana_license.py
M cmk/base/plugins/agent_based/sap_hana_status.py
M cmk/base/plugins/agent_based/services.py
M cmk/base/plugins/agent_based/site_object_counts.py
M cmk/base/plugins/agent_based/tsm_stagingpools.py
M cmk/base/plugins/agent_based/utils/bluecat.py
M cmk/base/plugins/agent_based/utils/df.py
M cmk/base/plugins/agent_based/utils/interfaces.py
M cmk/base/plugins/agent_based/utils/ipmi.py
M cmk/base/plugins/agent_based/utils/logwatch.py
M cmk/base/plugins/agent_based/utils/memory.py
M cmk/base/plugins/agent_based/utils/oracle.py
M cmk/base/plugins/agent_based/utils/printer.py
M cmk/base/plugins/agent_based/utils/ps.py
M cmk/base/plugins/agent_based/utils/size_trend.py
M cmk/base/plugins/agent_based/utils/temperature.py
M cmk/base/plugins/agent_based/veritas_vcs.py
M cmk/base/plugins/agent_based/winperf_if.py
M tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py
M tests/unit/cmk/base/api/agent_based/test_checking_classes.py
M tests/unit/cmk/base/api/agent_based/test_clusterize_aggregate_node_details.py
M tests/unit/cmk/base/api/agent_based/test_utils_check_levels.py
M tests/unit/cmk/base/plugins/agent_based/test_aix_diskiod.py
M tests/unit/cmk/base/plugins/agent_based/test_bluecat_dhcp.py
M tests/unit/cmk/base/plugins/agent_based/test_bluecat_dns.py
M tests/unit/cmk/base/plugins/agent_based/test_brocade_optical.py
M tests/unit/cmk/base/plugins/agent_based/test_chrony.py
M tests/unit/cmk/base/plugins/agent_based/test_cisco_mem_asa.py
M tests/unit/cmk/base/plugins/agent_based/test_cisco_wlc.py
M tests/unit/cmk/base/plugins/agent_based/test_diskstat.py
M tests/unit/cmk/base/plugins/agent_based/test_docker_container_status.py
M tests/unit/cmk/base/plugins/agent_based/test_f5_bigip_cluster.py
M tests/unit/cmk/base/plugins/agent_based/test_f5_bigip_cluster_status.py
M tests/unit/cmk/base/plugins/agent_based/test_f5_bigip_vcmpguests.py
M tests/unit/cmk/base/plugins/agent_based/test_infobox_services.py
M tests/unit/cmk/base/plugins/agent_based/test_ipmi.py
M tests/unit/cmk/base/plugins/agent_based/test_job.py
M tests/unit/cmk/base/plugins/agent_based/test_juniper_trpz_aps_sessions.py
M tests/unit/cmk/base/plugins/agent_based/test_k8s_stats.py
M tests/unit/cmk/base/plugins/agent_based/test_liebert_humidity_air.py
M tests/unit/cmk/base/plugins/agent_based/test_liebert_system.py
M tests/unit/cmk/base/plugins/agent_based/test_liebert_temp_air.py
M tests/unit/cmk/base/plugins/agent_based/test_livestatus_status.py
M tests/unit/cmk/base/plugins/agent_based/test_lnx_if.py
M tests/unit/cmk/base/plugins/agent_based/test_local.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch.py
M tests/unit/cmk/base/plugins/agent_based/test_mem_used.py
M tests/unit/cmk/base/plugins/agent_based/test_mssql_counters.py
M tests/unit/cmk/base/plugins/agent_based/test_mssql_databases.py
M tests/unit/cmk/base/plugins/agent_based/test_mssql_datafiles_transactionlogs.py
M tests/unit/cmk/base/plugins/agent_based/test_netapp_api_if.py
M tests/unit/cmk/base/plugins/agent_based/test_netapp_api_vf_stats.py
M tests/unit/cmk/base/plugins/agent_based/test_netscaler_sslcertificates.py
M tests/unit/cmk/base/plugins/agent_based/test_netscaler_vserver.py
M tests/unit/cmk/base/plugins/agent_based/test_omd_status.py
M tests/unit/cmk/base/plugins/agent_based/test_oracle_asm_diskgroup.py
M tests/unit/cmk/base/plugins/agent_based/test_oracle_rman.py
M tests/unit/cmk/base/plugins/agent_based/test_oracle_tablespaces.py
M tests/unit/cmk/base/plugins/agent_based/test_printer_pages.py
M tests/unit/cmk/base/plugins/agent_based/test_prometheus_build.py
M tests/unit/cmk/base/plugins/agent_based/test_ps_check.py
M tests/unit/cmk/base/plugins/agent_based/test_pulse_secure_users.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_backup.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_data_volume.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_license.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_status.py
M tests/unit/cmk/base/plugins/agent_based/test_services.py
M tests/unit/cmk/base/plugins/agent_based/test_site_object_counts.py
M tests/unit/cmk/base/plugins/agent_based/test_tsm_staginspools.py
M tests/unit/cmk/base/plugins/agent_based/test_veritas_vcs.py
M tests/unit/cmk/base/plugins/agent_based/test_winperf_if.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_cpu_util.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_diskstat_utils.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_interfaces.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_ipmi_utils.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_temperature.py
M tests/unit/cmk/base/test_checking.py
Log Message:
-----------
Check-API: rename state -> State
Change-Id: Ifeaf9333589e9c16cfbd34080d19dd14dcdb29fa
Commit: df5b874ad0c152db11787e316bf4340e8fc57811
https://github.com/tribe29/checkmk/commit/df5b874ad0c152db11787e316bf4340e8…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/type_defs.py
M tests/unit/cmk/base/api/agent_based/test_checking_classes.py
Log Message:
-----------
Check-API: allow repr for uninitiated Parameters
CMK-5619
Change-Id: I8f32c920fbbea25deb498d04e3fb61e564e3e730
Compare: https://github.com/tribe29/checkmk/compare/bc52238258ab...df5b874ad0c1