License usage limit approaching-juniper-junos

License usage limit approaching-juniper-junos

Vendor: juniper

OS: junos

Description:
Some licenses are limited to a certain number of elements (such as maximum users). If any of the licenses is nearing its limit, an alert will be issued.

Remediation Steps:
Consider purchasing additional licenses.

junos-show-system-license

name: junos-show-system-license
description: JUNOS get licenses
type: monitoring
monitoring_interval: 60 minute
requires:
  vendor: juniper
  os.name: junos
comments:
  license-elements-limit:
    why: |
      Tracking the utilization of licenses is important to ensure smooth operation of critical functions.
      If a license is limited by count (such as by number of users) and the limit is reached, service disruption may follow.
    how: |
      This script logs into the Juniper JUNOS-based device using SSH and retrieves the output of the "show system license" command.
      The output includes the device's installed licenses.
    can-with-snmp: true
    can-with-syslog: false
  license-elements-used:
    why: |
      Collect information about the license usage and report installed licenses.
    how: |
      This script logs into the Juniper JUNOS-based device using SSH and retrieves the output of the "show system license" command.
      The output includes the device's installed licenses.
    can-with-snmp: true
    can-with-syslog: false
  features-enabled:
    why: |
      SRX devices have many features which can be enable based on the licenses installed on the devices.
    how: |
      The script runs "show system license" command via SSH connection to the device to list the features enabled on the device.
    can-with-snmp: false
    can-with-syslog: false
  license-expiration:
    why: |
      Most of the features on SRX devices need licenses.
    how: |
      The script runs "show system license" command via SSH connnection to the device to retrieve the license expiration information.
    can-with-snmp: false
    can-with-syslog: false
steps:
  -   run:
        type: SSH
        command: show system license | display xml
      parse:
        type: XML
        file: show-system-license.parser.1.xml.yaml

junos-show-system-license

name: junos-show-system-license
description: JUNOS get licenses
type: monitoring
monitoring_interval: 60 minute
requires:
  vendor: juniper
  os.name: junos
comments:
  license-elements-limit:
    why: |
      Tracking the utilization of licenses is important to ensure smooth operation of critical functions.
      If a license is limited by count (such as by number of users) and the limit is reached, service disruption may follow.
    how: |
      This script logs into the Juniper JUNOS-based device using SSH and retrieves the output of the "show system license" command.
      The output includes the device's installed licenses.
    can-with-snmp: true
    can-with-syslog: false
  license-elements-used:
    why: |
      Collect information about the license usage and report installed licenses.
    how: |
      This script logs into the Juniper JUNOS-based device using SSH and retrieves the output of the "show system license" command.
      The output includes the device's installed licenses.
    can-with-snmp: true
    can-with-syslog: false
  features-enabled:
    why: |
      SRX devices have many features which can be enable based on the licenses installed on the devices.
    how: |
      The script runs "show system license" command via SSH connection to the device to list the features enabled on the device.
    can-with-snmp: false
    can-with-syslog: false
  license-expiration:
    why: |
      Most of the features on SRX devices need licenses.
    how: |
      The script runs "show system license" command via SSH connnection to the device to retrieve the license expiration information.
    can-with-snmp: false
    can-with-syslog: false
steps:
  -   run:
        type: SSH
        command: show system license | display xml
      parse:
        type: XML
        file: show-system-license.parser.1.xml.yaml

license_usage_limit

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