TACACS servers used do not match across cluster members-checkpoint-gaia,ipso

TACACS servers used do not match across cluster members-checkpoint-gaia,ipso

Vendor: checkpoint

OS: gaia,ipso

Description:
indeni will identify when two devices are part of a cluster and alert if the TACACS servers they are using are different.

Remediation Steps:
Review the TACACS configuration on each device to ensure they match.

How does this work?
Parse the clish configuration database in /config/active and retreive the currently configured TACACS servers. It is also possible to list them using clish, but that generates a large amount of logs in /var/log/messages when done repeatedly.

Why is this important?
If the TACACS servers are configured incorrectly, it might not be possible for an administrator to login to the device.

Without Indeni how would you find this?
An administrator could login and manually run the command.

chkp-clish-show_aaa_tacacs-servers_list

name: chkp-clish-show_aaa_tacacs-servers_list
description: run "show aaa tacacs-servers list" over clish
type: monitoring
monitoring_interval: 60 minutes
requires:
    vendor: checkpoint
    or:
    -   os.name: gaia
    -   os.name: ipso
comments:
    tacacs-servers:
        why: |
            If the TACACS servers are configured incorrectly, it might not be possible for an administrator to login to the device.
        how: |
            Parse the clish configuration database in /config/active and retreive the currently configured TACACS servers.
            It is also possible to list them using clish, but that generates a large amount of logs in /var/log/messages
            when done repeatedly.
        can-with-snmp: false
        can-with-syslog: false
    tacacs-enabled:
        why: |
            To ensure that the tacacs is enabled over the gateway
        how: |
            Parse the clish configuration database in /config/active and retreive the currently configured TACACS servers.
            It is also possible to list them using clish, but that generates a large amount of logs in /var/log/messages
            when done repeatedly.
        can-with-snmp: false
        can-with-syslog: false

steps:
-   run:
        type: SSH
        command: ${nice-path} -n 15  egrep "aaa[^:]*:auth_profile:base_tacplus_authprofile"
            /config/active
    parse:
        type: AWK
        file: show-aaa-tacacs-servers-list.parser.1.awk

cross_vendor_tacacs_servers_comparison

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