MnT Session Count

Synopsis

netapi ise mnt count [OPTIONS]

Description

Get the count of active RADIUS sessions on ISE.

Usage

# Total count
netapi ise mnt count

# JSON output
netapi ise mnt count --format json

Sample Output

Active Session Count: 1,247

JSON output:

{
  "count": 1247
}

Use Cases

Monitoring Script

#!/bin/bash
COUNT=$(netapi ise mnt count --format json | jq -r '.count')
if [ "$COUNT" -gt 2000 ]; then
  echo "WARNING: High session count: $COUNT"
fi

CI/CD Health Check

- name: Verify ISE connectivity
  run: |
    COUNT=$(netapi ise mnt count --format json | jq -r '.count')
    echo "Active sessions: $COUNT"
    [ "$COUNT" -gt 0 ] || exit 1