Timezone mismatch across cluster members-checkpoint-gaia-embedded

Timezone mismatch across cluster members-checkpoint-gaia-embedded

Vendor: checkpoint

OS: gaia-embedded

Description:
Indeni will identify when two devices are part of a cluster and alert if the timezone setting is different.

Remediation Steps:
Review the settings of each device in the cluster and ensure they are the same.

cpembedded-show-timezone

name: cpembedded-show-timezone
description: records the timezone for the device
type: monitoring
monitoring_interval: 10 minutes
requires:
    vendor: checkpoint
    os.name: gaia-embedded
    this_tag_disables_this_script: this_is_intentional
comments:
    timezone:
      why: |
        To check the timezone of the device
      how: |
        By Runing the Check point command "show timezone"
      can-with-snmp: false
      can-with-syslog: false

steps:
-   run:
        type: SSH
        command: ${nice-path} -n 15 clish -c "show timezone"
    parse:
        type: AWK
        file: show-timezone-embedded.parser.1.awk

cross_vendor_compare_timezone

Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/templatebased/crossvendor/cross_vendor_compare_timezone.scala