avCmPlatCmds

Last Updated : Jul 13, 2021 |

MIB group name

OID

Type

avCmPlatCmds

enterprises.6889.2.73.8.1.83

Table

Description

The avCmPlatCmds MIB group displays the bash command history.

Releases Supported

6.3.100 and later

Polling Type

Performance/Utilization

Polling Interval

No more than once an hour.

Default Caching Interval

600 seconds

Timeout Interval

Initial Timeout should be set to 20 seconds.

Retry Interval

Initial Retry should be set to 3.

Limitations

Yellow/Medium: The data collected by this MIB Group might have some impact on the system.

Associated Communication Manager Commands:

MIB group name

Bash/SAT

Associated command

Form/Report name

avCmPlatCmds

Bash

logc cmds

Command History

Reference Document

A detailed description of the command and form can be found in the Maintenance Commands for Avaya Aura® Communication Manager, Branch Gateways and Servers document. This document can be downloaded from http://support.avaya.com/document/.

Command permissions or user profile

No special permissions needed.

Objects

Object Name

OID

R/W

Type

Field Name

Description

Form/Report name

avCmPlatCmdsTable

.1

n/a

SEQUENCE OF AvCmPlatCmdsEntry

n/a

An object containing the avCmPlatCmds entries.

avCmPlatCmdsEntry

.1.1

n/a

AvCmPlatCmdsEntry

n/a

An object containing the avCmPlatCmds entry with the information that the switch sent.

avCmPlatCmdsSeqIdx

.1.1.1

R

SnmpAdminString (SIZE (0..201))

n/a

An object that uniquely identifies all data increments.

avCmPlatCmdsDate

.1.1.2

R

SnmpAdminString (SIZE (0..99999))

Date

An object containing the date when the command was run.

Command History

avCmPlatCmdsRunTime

.1.1.3

R

SnmpAdminString (SIZE (0..9))

Time

An object containing the time when the command was run.

Command History

avCmPlatCmdsSeqNumber

.1.1.4

R

SnmpAdminString (SIZE (0..10))

Sequence Number

An object containing the sequence number of the command.

Command History

avCmPlatCmdsPriority

.1.1.5

R

SnmpAdminString (SIZE (0..99999))

Priority

An object containing the priority of the command.

Command History

avCmPlatCmdsServerName

.1.1.6

R

SnmpAdminString (SIZE (0..26))

Server Name

An object containing the server name where the command was run.

Command History

avCmPlatCmdsLoginId

.1.1.7

R

SnmpAdminString (SIZE (0..26))

Login Id

An object containing the login ID of the user who ran the command.

Command History

avCmPlatCmdsCommand

.1.1.8

R

SnmpAdminString (SIZE (0..201))

Command

An object containing the command that was run.

Command History

Sample output of forms

server1> logc cmds
20150515:024711000:1:cmds:MED:server1 logger: ramdisk -s
20150515:024713000:2:cmds:MED:server1 logger: hardware_info
20150515:024714000:3:cmds:MED:server1 logger: swversion
434
20150515:024714000:4:cmds:MED:server1 logger: fips_mode -q
20150515:024714000:5:cmds:MED:server1 logger: /opt/ecs/bin/fips_mode: FIPS mode
is disabled in the OS.
20150515:024716000:6:cmds:MED:server1 root: filesync -d
20150515:024739000:7:cmds:MED:server1 root: /opt/ecs/bin/productid
20150515:024802000:8:cmds:MED:server1 root: hostscfg -c
20150515:024810000:9:cmds:MED:server1 update_tool: update_guard:Couldn't open /o
pt/updates/update-info
20150515:024837000:10:cmds:MED:server1 root: add
20150515:024847000:11:cmds:MED:server1 craft: server_setup -s x509
20150515:024848000:12:cmds:MED:server1 craft: server_setup -s x509
20150515:024849000:13:cmds:MED:server1 craft: server_setup -s x509
20150515:024912000:14:cmds:MED:server1 -bash: HISTORY: PPID=11344 PID=11597 UID=
780 ping 135.9.1.2

Sample Output of SNMP Walk command:

vit@server1> snmpwalk -t 20 -v2c -Os -c private 192.0.2.0 -m /usr/share/snmp/mibs/AVAYA-AURA-CM-MIB.txt avCmPlatCmds
vCmPlatCmdsDate.1 = STRING: 20150515
avCmPlatCmdsDate.2 = STRING: 20150515
avCmPlatCmdsDate.3 = STRING: 20150515
avCmPlatCmdsDate.4 = STRING: 20150515
avCmPlatCmdsDate.5 = STRING: 20150515
avCmPlatCmdsDate.6 = STRING: 20150515
avCmPlatCmdsDate.7 = STRING: 20150515
avCmPlatCmdsDate.8 = STRING: 20150515
avCmPlatCmdsDate.9 = STRING: 20150515
avCmPlatCmdsDate.10 = STRING: 20150515
avCmPlatCmdsDate.11 = STRING: 20150515
avCmPlatCmdsDate.12 = STRING: 20150515
avCmPlatCmdsDate.13 = STRING: 20150515
avCmPlatCmdsDate.14 = STRING: 20150515
avCmPlatCmdsTime.1 = STRING: 024711000
avCmPlatCmdsTime.2 = STRING: 024713000
avCmPlatCmdsTime.3 = STRING: 024714000
avCmPlatCmdsTime.4 = STRING: 024714000
avCmPlatCmdsTime.5 = STRING: 024714000
avCmPlatCmdsTime.6 = STRING: 024716000
avCmPlatCmdsTime.7 = STRING: 024739000
avCmPlatCmdsTime.8 = STRING: 024802000
avCmPlatCmdsTime.9 = STRING: 024810000
avCmPlatCmdsTime.10 = STRING: 024837000
avCmPlatCmdsTime.11 = STRING: 024847000
avCmPlatCmdsTime.12 = STRING: 024848000
avCmPlatCmdsTime.13 = STRING: 024849000
avCmPlatCmdsTime.14 = STRING: 024912000
avCmPlatCmdsSeqNumber.1 = INTEGER: 1
avCmPlatCmdsSeqNumber.2 = INTEGER: 2
avCmPlatCmdsSeqNumber.3 = INTEGER: 3
avCmPlatCmdsSeqNumber.4 = INTEGER: 4
avCmPlatCmdsSeqNumber.5 = INTEGER: 5
avCmPlatCmdsSeqNumber.6 = INTEGER: 6
avCmPlatCmdsSeqNumber.7 = INTEGER: 7
avCmPlatCmdsSeqNumber.8 = INTEGER: 8
avCmPlatCmdsSeqNumber.9 = INTEGER: 9
avCmPlatCmdsSeqNumber.10 = INTEGER: 10
avCmPlatCmdsSeqNumber.11 = INTEGER: 11
avCmPlatCmdsSeqNumber.12 = INTEGER: 12
avCmPlatCmdsSeqNumber.13 = INTEGER: 13
avCmPlatCmdsSeqNumber.14 = INTEGER: 14
avCmPlatCmdsPriority.1 = STRING: MED
avCmPlatCmdsPriority.2 = STRING: MED
avCmPlatCmdsPriority.3 = STRING: MED
avCmPlatCmdsPriority.4 = STRING: MED
avCmPlatCmdsPriority.5 = STRING: MED
avCmPlatCmdsPriority.6 = STRING: MED
avCmPlatCmdsPriority.7 = STRING: MED
avCmPlatCmdsPriority.8 = STRING: MED
avCmPlatCmdsPriority.9 = STRING: MED
avCmPlatCmdsPriority.10 = STRING: MED
avCmPlatCmdsPriority.11 = STRING: MED
avCmPlatCmdsPriority.12 = STRING: MED
avCmPlatCmdsPriority.13 = STRING: MED
avCmPlatCmdsPriority.14 = STRING: MED
avCmPlatCmdsServerName.1 = STRING: server1
avCmPlatCmdsServerName.2 = STRING: server1
avCmPlatCmdsServerName.3 = STRING: server1
avCmPlatCmdsServerName.4 = STRING: server1
avCmPlatCmdsServerName.5 = STRING: server1
avCmPlatCmdsServerName.6 = STRING: server1
avCmPlatCmdsServerName.7 = STRING: server1
avCmPlatCmdsServerName.8 = STRING: server1
avCmPlatCmdsServerName.9 = STRING: server1
avCmPlatCmdsServerName.10 = STRING: server1
avCmPlatCmdsServerName.11 = STRING: server1
avCmPlatCmdsServerName.12 = STRING: server1
avCmPlatCmdsServerName.13 = STRING: server1
avCmPlatCmdsServerName.14 = STRING: server1
avCmPlatCmdsLoginId.1 = STRING: logger
avCmPlatCmdsLoginId.2 = STRING: logger
avCmPlatCmdsLoginId.3 = STRING: logger
avCmPlatCmdsLoginId.4 = STRING: logger
avCmPlatCmdsLoginId.5 = STRING: logger
avCmPlatCmdsLoginId.6 = STRING: root
avCmPlatCmdsLoginId.7 = STRING: root
avCmPlatCmdsLoginId.8 = STRING: root
avCmPlatCmdsLoginId.9 = STRING: update_tool
avCmPlatCmdsLoginId.10 = STRING: root
avCmPlatCmdsLoginId.11 = STRING: craft
avCmPlatCmdsLoginId.12 = STRING: craft
avCmPlatCmdsLoginId.13 = STRING: craft
avCmPlatCmdsLoginId.14 = STRING: -bash
vCmPlatCmdsCommand.1 = STRING: ramdisk -s
avCmPlatCmdsCommand.2 = STRING: hardware_info
avCmPlatCmdsCommand.3 = STRING: swversion
avCmPlatCmdsCommand.4 = STRING: fips_mode -q
avCmPlatCmdsCommand.5 = STRING: /opt/ecs/bin/fips_mode: FIPS mode is disabled in
the OS.
avCmPlatCmdsCommand.6 = STRING: filesync -d
avCmPlatCmdsCommand.7 = STRING: /opt/ecs/bin/productid
avCmPlatCmdsCommand.8 = STRING: hostscfg -c
avCmPlatCmdsCommand.9 = STRING: update_guard:Couldn't open /opt/updates/update-i
nfo
avCmPlatCmdsCommand.10 = STRING: add
avCmPlatCmdsCommand.11 = STRING: server_setup -s x509
avCmPlatCmdsCommand.12 = STRING: server_setup -s x509
avCmPlatCmdsCommand.13 = STRING: server_setup -s x509
avCmPlatCmdsCommand.14 = STRING: HISTORY: PPID=11344 PID=11597 UID=780 ping 135.
9.1.2