Virtual systems restarted (uptime low)-f5-all

Virtual systems restarted (uptime low)-f5-all

Vendor: f5

OS: all

Description:
Indeni will alert when a virtual system has restarted.

Remediation Steps:
Determine why the virtual system(s) was restarted.

How does this work?
This script uses the F5 iControl REST API to retrieve the current uptime of vCMP guests.

Why is this important?
Keeping track of vCMP guest uptimes can help trigger alerts if they are suddenly restarted due to a system failure.

Without Indeni how would you find this?
This metric is available by logging into the device with SSH, entering TMSH and executing “show vcmp guest”.

f5-rest-mgmt-tm-vcmp-guest-stats

name: f5-rest-mgmt-tm-vcmp-guest-stats
description: Extract status of deployed vCMP guests
type: monitoring
monitoring_interval: 10 minutes
requires:
    vendor: f5
    product: load-balancer
    rest-api: 'true'
    vsx: 'true'
comments:
    vs-state:
        why: |
            Keeping track of vCMP guest states will enable alerting for when a VM has failed.
        how: |
            This script uses the F5 iControl REST API to retrieve the current status of vCMP guests.
        can-with-snmp: false
        can-with-syslog: false
    uptime-milliseconds:
        why: |
            Keeping track of vCMP guest uptimes can help trigger alerts if they are suddenly restarted due to a system failure.
        how: |
            This script uses the F5 iControl REST API to retrieve the current uptime of vCMP guests.
        can-with-snmp: false
        can-with-syslog: false
steps:
-   run:
        type: HTTP
        command: /mgmt/tm/sys/clock
    parse:
        type: JSON
        file: rest-mgmt-tm-vcmp-guest-stats.parser.1.json.yaml
-   run:
        type: HTTP
        command: /mgmt/tm/vcmp/guest/stats
    parse:
        type: JSON
        file: rest-mgmt-tm-vcmp-guest-stats.parser.2.json.yaml

cross_vendor_uptime_low_vsx

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