Cisco Prime Collaboration Assurance サーバの監視
Cisco Prime Collaboration リリース 11.5 以降の場合
Cisco Prime Collaboration Assurance を使用して、Cisco Prime Collaboration Assurance サーバの正常性を監視できます。CPU、メモリ、ディスク使用率、論理ストレージ領域、プロセスの詳細に関する情報を得ることができます。
前提条件:
-
Cisco Prime Collaboration Assurance で SNMP v1、v2c、または v3 を有効にします。SNMP v1、v2c、v3 の有効化に関する詳細については、「Prime Collaboration Assurance 用のデバイスを設定」の「Configuring Cisco Prime Collaboration Assurance サーバの設定」セクションを参照してください。
-
管理者のアクセス権を使用して SNMP v1/v2c を有効にします。SNMP v1/v2c を有効にするため、ルート アクセスは必要ありません。
-
ルート アクセスを使用して、SNMP v3 を有効にします。ルート アクセスを取得するには、TAC ケースを発生させる必要があります。
-
設定の SNMP v1、v2c、v3 RO またはコミュニティ文字列を使用して、SNMP Manger から Cisco Prime Collaboration Assurance に接続します。
Cisco Prime Collaboration サーバ ヘルスの監視
次の表には、Cisco Prime Collaboration Assurance サーバのヘルスを監視するために必要な MIB の詳細が示されています。
コンポーネント |
テーブル |
OID |
MIB |
---|---|---|---|
CPU |
systemStats |
1.3.6.1.4.1.2021.11 |
UCD-SNMP-MIB |
メモリ |
メモリ |
1.3.6.1.4.1.2021.4 |
UCD-SNMP-MIB |
ディスク ストレージ |
hrDeviceTable |
.1.3.6.1.2.1.25.3.2 |
HOST-RESOURCES-MIB |
hrDiskStorageTable | .1.3.6.1.2.1.25.3.6 | ||
論理ストレージ領域 |
hrStorageTable |
.1.3.6.1.2.1.25.2.3 |
HOST-RESOURCES-MIB |
プロセス |
hrSWRunTable |
.1.3.6.1.2.1.25.4.2 |
HOST-RESOURCEs-MIB |
例:
-
CPU 使用率を監視するには
SNMP v1 または v2c が有効な場合は、次のコマンドを入力します。
構文
# snmpwalk -v2c -c public <PCA IP> UCD-SNMP-MIB::systemStats
例
snmptable -v 2c -c public 10.64.91.115 UCD-SNMP-MIB::systemStats
SNMP v3 が有効な場合は、次のコマンドを入力します。
構文
snmpwalk -v 3 -A authpasswd -X privpasswd -x AES -l authPriv -u user1 -a MD5 <PCA IP> UCD-SNMP-MIB::systemStats
例
snmpwalk -v 3 -A authpasswd -X privpasswd -x AES -l authPriv -u jane -a MD5 <PCA IP> UCD-SNMP-MIB::systemStats
出力例
UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 kB
UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0 kB
UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 609 blocks/s
UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0 blocks/s
UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 994 interrupts/s
UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 5508 switches/s
UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 6
UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 87
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 15940286
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 14270
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1046654
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 193992466
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 6614683
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0
-
メモリ使用率を監視するには
SNMP v1 または v2c が有効な場合は、次のコマンドを入力します。
構文
# snmpwalk -v2c -c public <PCA IP> UCD-SNMP-MIB::memory
例
snmptable -v 2c -c public 10.64.91.115 UCD-SNMP-MIB::memory
SNMP v3 が有効な場合は、次のコマンドを入力します。
構文
snmpwalk -v 3 -A authpasswd -X privpasswd -x AES -l authPriv -u user1 -a MD5 <PCA IP> UCD-SNMP-MIB::memory
例
snmpwalk -v 3 -A authpasswd -X privpasswd -x AES -l authPriv -u jane -a MD5 <PCA IP> UCD-SNMP-MIB::memory
出力例
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 25165816 kB
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 25165724 kB
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 14236500 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 848220 kB
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 26013944 kB
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB
UCD-SNMP-MIB::memShared.0 = INTEGER: 0 kB
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 516240 kB
UCD-SNMP-MIB::memCached.0 = INTEGER: 3495964 kB
UCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0)
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
-
ディスク ストレージの詳細を監視するには
SNMP v1 または v2c が有効な場合は、次のコマンドを入力します。
構文
snmptable -v 2c -c public <PCA IP> [OID]
例
snmptable -v 2c -c public <PCA IP> .1.3.6.1.2.1.25.3.2
SNMP v3 が有効な場合は、次のコマンドを入力します。
構文
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> [OID]
例
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> .1.3.6.1.2.1.25.3.2
出力例
表 1. SNMP table: HOST-RESOURCES-MIB::hrDeviceTable hrDeviceIndex
hrDeviceDescr
hrDeviceType
hrDeviceID
hrDeviceStatus
hrDeviceErrors
1552
HOST-RESOURCES-
TYPES::hrDevice
DiskStorage
SCSI disk (/dev/sda)
SNMPv2-SMI::zeroDotZero
実行
?
1538
HOST-RESOURCES-
TYPES::hrDevice
DiskStorage
VMware Virtual IDE CDROM Drive
SNMPv2-SMI::zeroDotZero
実行
?
SNMP v1 または v2c が有効な場合は、次のコマンドを入力します。
構文
snmptable -v 2c -c public <PCA IP> [OID]
例
snmptable -v 2c -c public <PCA IP> .1.3.6.1.2.1.25.3.6
SNMP v3 が有効な場合は、次のコマンドを入力します。
構文
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> [OID]
例
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> .1.3.6.1.2.1.25.3.6
出力例
表 2. SNMP table: HOST-RESOURCES-MIB::hrDiskStorageTable hrDiskStorageAccess
hrDiskStorageMedia
hrDiskStorageRemoveble
hrDiskStorageCapacity
readWrite
unknown
true
0KBytes
readWrite
unknown
false
262144000 KBytes
-
論理ストレージ領域を監視するには
SNMP v1 または v2c が有効な場合は、次のコマンドを入力します。
構文
snmptable -v 2c -c public <PCA IP> [OID]
例
snmptable -v 2c -c public <PCA IP> .1.3.6.1.2.1.25.2.3
SNMP v3 が有効な場合は、次のコマンドを入力します。
構文
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> [OID]
例
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> .1.3.6.1.2.1.25.2.3
出力例
表 3. SNMP table: HOST-RESOURCES-MIB::hrStorageTable hrStorageIndex
hrStorageType
hrStorageDescr
hrStorageAllocationUnits
hrStorageSize
hrStorageUsed
hrStorageAllocationFailures
1
HOST-RESOURCES-
TYPES::hrStorageRam
物理メモリ
1024 バイト
14236500
13338404
?
3
HOST-RESOURCES-
TYPES::hrStorage
VirtualMemory
Virtual memory
1024 バイト
39402316
13338496
?
-
プロセスの詳細を監視するには
SNMP v1 または v2c が有効な場合は、次のコマンドを入力します。
構文
snmptable -v 2c -c public <PCA IP> [OID]
例
snmptable -v 2c -c public <PCA IP> .1.3.6.1.2.1.25.4.2
SNMP v3 が有効な場合は、次のコマンドを入力します。
構文
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> [OID]
例
#snmptable -v 3 -A authpassword -X privpassword -x AES -l authPriv -u user1 <PCA IP> .1.3.6.1.2.1.25.4.2
出力例
表 4. SNMP table: HOST-RESOURCES-MIB::hrSWRunTable hrSW
RunIndex
hrSW
RunName
hrSW
RunID
hrSW
RunParameters
hrSW
RunType
hrSW
RunStatus
hrSW
Runpath
2367
postgres
SNMPv2-SMI : : zeroDotzero
""
アプリケーション runnable postgres: cmuser cpcm 127.0.0.1 (51478) idle
2643
postmaster
SNMPv2-SMI : : zeroDotzero
""
アプリケーション runnable postgres: primea cqdb 127.0.0.1 (50175) FETCH