Cisco ISE Device Memory and CPU Usage Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Cisco ISE Device Memory and CPU Usage Monitoring

Post by vignesha »

Hi Team,

We have requirement for Cisco ISE device monitoring in Nagios XI, Network have enabled SNMP V2 on the device end and from nagios end we are able to fetch the details for port and Gig, so we have enabled the same for monitoring, but still they request us to monitor Device Uptime, CPU Utilization & Memory Usage for monitoring.

Through our existing plugin we can monitor Device Uptime, but we are not able to monitor CPU Utilization & Memory Usage. Please check this and provide your input to resolve this issue.

Output:
[root@xxxxxxx ~]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community=$USER10$ --mode=memory-usage --warning=90 --critical=95
UNKNOWN - check_nwc_health timed out after 60 seconds

[root@xxxxxxxx ~]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community=$USER10$ --mode=cpu-load --warning=90 --critical=95
UNKNOWN - check_nwc_health timed out after 60 seconds
You have mail in /var/spool/mail/root

[root@xxxxxxxx ~]# snmpwalk -v 2c -c 'xxxxxxxxx' xx.xxx.xx.xx | grep -i "cpu"
HOST-RESOURCES-MIB::hrDeviceDescr.196608 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196609 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196610 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196611 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196612 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196613 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196614 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196615 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196616 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196617 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196618 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196619 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196620 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196621 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196622 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrDeviceDescr.196623 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
HOST-RESOURCES-MIB::hrSWRunPerfCPU.1 = INTEGER: 199343
HOST-RESOURCES-MIB::hrSWRunPerfCPU.2 = INTEGER: 93
HOST-RESOURCES-MIB::hrSWRunPerfCPU.3 = INTEGER: 1627
HOST-RESOURCES-MIB::hrSWRunPerfCPU.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7 = INTEGER: 321
HOST-RESOURCES-MIB::hrSWRunPerfCPU.8 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.9 = INTEGER: 715958
HOST-RESOURCES-MIB::hrSWRunPerfCPU.10 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.11 = INTEGER: 3820
HOST-RESOURCES-MIB::hrSWRunPerfCPU.12 = INTEGER: 3868
HOST-RESOURCES-MIB::hrSWRunPerfCPU.13 = INTEGER: 171
HOST-RESOURCES-MIB::hrSWRunPerfCPU.14 = INTEGER: 1302
HOST-RESOURCES-MIB::hrSWRunPerfCPU.16 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.17 = INTEGER: 3144
HOST-RESOURCES-MIB::hrSWRunPerfCPU.18 = INTEGER: 174
HOST-RESOURCES-MIB::hrSWRunPerfCPU.19 = INTEGER: 1263
HOST-RESOURCES-MIB::hrSWRunPerfCPU.21 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.22 = INTEGER: 3070
HOST-RESOURCES-MIB::hrSWRunPerfCPU.23 = INTEGER: 183
HOST-RESOURCES-MIB::hrSWRunPerfCPU.24 = INTEGER: 1200
HOST-RESOURCES-MIB::hrSWRunPerfCPU.26 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.27 = INTEGER: 3061
HOST-RESOURCES-MIB::hrSWRunPerfCPU.28 = INTEGER: 164
HOST-RESOURCES-MIB::hrSWRunPerfCPU.29 = INTEGER: 1164
HOST-RESOURCES-MIB::hrSWRunPerfCPU.31 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.32 = INTEGER: 3152
HOST-RESOURCES-MIB::hrSWRunPerfCPU.33 = INTEGER: 170
HOST-RESOURCES-MIB::hrSWRunPerfCPU.34 = INTEGER: 1207
HOST-RESOURCES-MIB::hrSWRunPerfCPU.36 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.37 = INTEGER: 3061
HOST-RESOURCES-MIB::hrSWRunPerfCPU.38 = INTEGER: 141
HOST-RESOURCES-MIB::hrSWRunPerfCPU.39 = INTEGER: 1352
HOST-RESOURCES-MIB::hrSWRunPerfCPU.41 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.42 = INTEGER: 3075
HOST-RESOURCES-MIB::hrSWRunPerfCPU.43 = INTEGER: 141
HOST-RESOURCES-MIB::hrSWRunPerfCPU.44 = INTEGER: 1404
HOST-RESOURCES-MIB::hrSWRunPerfCPU.46 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.47 = INTEGER: 3052
HOST-RESOURCES-MIB::hrSWRunPerfCPU.48 = INTEGER: 5577
HOST-RESOURCES-MIB::hrSWRunPerfCPU.49 = INTEGER: 1648
HOST-RESOURCES-MIB::hrSWRunPerfCPU.51 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.52 = INTEGER: 3145
HOST-RESOURCES-MIB::hrSWRunPerfCPU.53 = INTEGER: 5432
HOST-RESOURCES-MIB::hrSWRunPerfCPU.54 = INTEGER: 1491
HOST-RESOURCES-MIB::hrSWRunPerfCPU.56 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.57 = INTEGER: 3016
HOST-RESOURCES-MIB::hrSWRunPerfCPU.58 = INTEGER: 5562
HOST-RESOURCES-MIB::hrSWRunPerfCPU.59 = INTEGER: 1427
HOST-RESOURCES-MIB::hrSWRunPerfCPU.61 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.62 = INTEGER: 3067
HOST-RESOURCES-MIB::hrSWRunPerfCPU.63 = INTEGER: 5965
HOST-RESOURCES-MIB::hrSWRunPerfCPU.64 = INTEGER: 1420
HOST-RESOURCES-MIB::hrSWRunPerfCPU.66 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.67 = INTEGER: 3139
HOST-RESOURCES-MIB::hrSWRunPerfCPU.68 = INTEGER: 5873
HOST-RESOURCES-MIB::hrSWRunPerfCPU.69 = INTEGER: 1817
HOST-RESOURCES-MIB::hrSWRunPerfCPU.71 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.72 = INTEGER: 3061
HOST-RESOURCES-MIB::hrSWRunPerfCPU.73 = INTEGER: 5889
HOST-RESOURCES-MIB::hrSWRunPerfCPU.74 = INTEGER: 1676
HOST-RESOURCES-MIB::hrSWRunPerfCPU.76 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.77 = INTEGER: 3012
HOST-RESOURCES-MIB::hrSWRunPerfCPU.78 = INTEGER: 5714
HOST-RESOURCES-MIB::hrSWRunPerfCPU.79 = INTEGER: 1476
HOST-RESOURCES-MIB::hrSWRunPerfCPU.81 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.82 = INTEGER: 3022
HOST-RESOURCES-MIB::hrSWRunPerfCPU.83 = INTEGER: 5599
HOST-RESOURCES-MIB::hrSWRunPerfCPU.84 = INTEGER: 2415
HOST-RESOURCES-MIB::hrSWRunPerfCPU.86 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.88 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.89 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.90 = INTEGER: 2636
HOST-RESOURCES-MIB::hrSWRunPerfCPU.91 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.92 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.93 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.94 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.96 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.97 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.103 = INTEGER: 921
HOST-RESOURCES-MIB::hrSWRunPerfCPU.104 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.105 = INTEGER: 2090
HOST-RESOURCES-MIB::hrSWRunPerfCPU.106 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.114 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.120 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.121 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.137 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.138 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.151 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.185 = INTEGER: 18868
HOST-RESOURCES-MIB::hrSWRunPerfCPU.354 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.355 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.356 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.357 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.358 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.359 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.360 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.361 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.362 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.363 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.364 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.369 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.370 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.371 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.372 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.373 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.374 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.375 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.376 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.377 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.378 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.379 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.380 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.398 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.424 = INTEGER: 18594
HOST-RESOURCES-MIB::hrSWRunPerfCPU.425 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.494 = INTEGER: 222546
HOST-RESOURCES-MIB::hrSWRunPerfCPU.526 = INTEGER: 42
HOST-RESOURCES-MIB::hrSWRunPerfCPU.535 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.536 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.541 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.616 = INTEGER: 1
HOST-RESOURCES-MIB::hrSWRunPerfCPU.659 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.686 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.687 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.696 = INTEGER: 11825
HOST-RESOURCES-MIB::hrSWRunPerfCPU.697 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.701 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.702 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.706 = INTEGER: 196
HOST-RESOURCES-MIB::hrSWRunPerfCPU.712 = INTEGER: 29449
HOST-RESOURCES-MIB::hrSWRunPerfCPU.713 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.719 = INTEGER: 3
HOST-RESOURCES-MIB::hrSWRunPerfCPU.720 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.721 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.738 = INTEGER: 43897
HOST-RESOURCES-MIB::hrSWRunPerfCPU.760 = INTEGER: 78
HOST-RESOURCES-MIB::hrSWRunPerfCPU.765 = INTEGER: 101676
HOST-RESOURCES-MIB::hrSWRunPerfCPU.766 = INTEGER: 559812
HOST-RESOURCES-MIB::hrSWRunPerfCPU.772 = INTEGER: 194359
HOST-RESOURCES-MIB::hrSWRunPerfCPU.782 = INTEGER: 526
HOST-RESOURCES-MIB::hrSWRunPerfCPU.783 = INTEGER: 73300
HOST-RESOURCES-MIB::hrSWRunPerfCPU.784 = INTEGER: 119366
HOST-RESOURCES-MIB::hrSWRunPerfCPU.788 = INTEGER: 1689
HOST-RESOURCES-MIB::hrSWRunPerfCPU.805 = INTEGER: 9
HOST-RESOURCES-MIB::hrSWRunPerfCPU.814 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.931 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.932 = INTEGER: 27888
HOST-RESOURCES-MIB::hrSWRunPerfCPU.933 = INTEGER: 27738
HOST-RESOURCES-MIB::hrSWRunPerfCPU.934 = INTEGER: 27600
HOST-RESOURCES-MIB::hrSWRunPerfCPU.935 = INTEGER: 28150
HOST-RESOURCES-MIB::hrSWRunPerfCPU.952 = INTEGER: 93
HOST-RESOURCES-MIB::hrSWRunPerfCPU.959 = INTEGER: 1
HOST-RESOURCES-MIB::hrSWRunPerfCPU.960 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.1104 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.1298 = INTEGER: 27
HOST-RESOURCES-MIB::hrSWRunPerfCPU.1425 = INTEGER: 13365
HOST-RESOURCES-MIB::hrSWRunPerfCPU.1704 = INTEGER: 62
HOST-RESOURCES-MIB::hrSWRunPerfCPU.2117 = INTEGER: 6014
HOST-RESOURCES-MIB::hrSWRunPerfCPU.2119 = INTEGER: 1945
HOST-RESOURCES-MIB::hrSWRunPerfCPU.2128 = INTEGER: 18
HOST-RESOURCES-MIB::hrSWRunPerfCPU.2309 = INTEGER: 114
HOST-RESOURCES-MIB::hrSWRunPerfCPU.2511 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.2942 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.3153 = INTEGER: 124
HOST-RESOURCES-MIB::hrSWRunPerfCPU.3220 = INTEGER: 148856
HOST-RESOURCES-MIB::hrSWRunPerfCPU.3662 = INTEGER: 31657
HOST-RESOURCES-MIB::hrSWRunPerfCPU.3723 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4053 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4104 = INTEGER: 2572
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4106 = INTEGER: 63472
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4108 = INTEGER: 187578
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4110 = INTEGER: 189532
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4114 = INTEGER: 33154
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4116 = INTEGER: 22263
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4120 = INTEGER: 39243
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4122 = INTEGER: 329247
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4124 = INTEGER: 413709
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4126 = INTEGER: 908146
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4128 = INTEGER: 65067
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4130 = INTEGER: 66095
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4132 = INTEGER: 80804
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4134 = INTEGER: 302983
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4136 = INTEGER: 66579
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4138 = INTEGER: 17820
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4140 = INTEGER: 10006
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4142 = INTEGER: 10291
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4144 = INTEGER: 28448
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4146 = INTEGER: 20447
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4148 = INTEGER: 466264
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4150 = INTEGER: 731319
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4152 = INTEGER: 13220
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4154 = INTEGER: 12780
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4156 = INTEGER: 86
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4165 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4168 = INTEGER: 101095
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4170 = INTEGER: 99970
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4172 = INTEGER: 98714
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4174 = INTEGER: 97471
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4176 = INTEGER: 96943
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4178 = INTEGER: 96917
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4180 = INTEGER: 96512
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4182 = INTEGER: 95920
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4184 = INTEGER: 95164
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4186 = INTEGER: 94883
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4188 = INTEGER: 93890
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4190 = INTEGER: 92972
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4192 = INTEGER: 92322
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4194 = INTEGER: 91193
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4196 = INTEGER: 90177
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4198 = INTEGER: 12149
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4200 = INTEGER: 31933
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4202 = INTEGER: 107946
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4209 = INTEGER: 125
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4211 = INTEGER: 10447
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4213 = INTEGER: 143120
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4309 = INTEGER: 89443
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4316 = INTEGER: 89121
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4324 = INTEGER: 88720
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4326 = INTEGER: 88341
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4328 = INTEGER: 88298
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4330 = INTEGER: 87968
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4332 = INTEGER: 87619
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4334 = INTEGER: 87484
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4336 = INTEGER: 87002
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4338 = INTEGER: 86890
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4340 = INTEGER: 86933
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4346 = INTEGER: 86654
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4355 = INTEGER: 86770
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4365 = INTEGER: 86509
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4371 = INTEGER: 86257
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4376 = INTEGER: 85856
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4378 = INTEGER: 85224
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4382 = INTEGER: 95055
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4392 = INTEGER: 94388
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4403 = INTEGER: 93799
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4406 = INTEGER: 92881
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4408 = INTEGER: 92513
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4412 = INTEGER: 92492
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4414 = INTEGER: 92407
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4416 = INTEGER: 91456
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4418 = INTEGER: 90550
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4420 = INTEGER: 90277
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4422 = INTEGER: 89858
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4424 = INTEGER: 89377
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4426 = INTEGER: 88514
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4428 = INTEGER: 88436
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4430 = INTEGER: 87469
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4432 = INTEGER: 87297
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4434 = INTEGER: 86908
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4436 = INTEGER: 86838
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4438 = INTEGER: 86422
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4440 = INTEGER: 86376
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4442 = INTEGER: 86200
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4444 = INTEGER: 86138
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4446 = INTEGER: 85504
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4448 = INTEGER: 85858
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4450 = INTEGER: 85679
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4452 = INTEGER: 85930
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4454 = INTEGER: 85411
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4456 = INTEGER: 85670
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4458 = INTEGER: 85285
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4460 = INTEGER: 84312
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4462 = INTEGER: 83626
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4464 = INTEGER: 83843
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4884 = INTEGER: 122
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4896 = INTEGER: 13409
HOST-RESOURCES-MIB::hrSWRunPerfCPU.4902 = INTEGER: 10081
HOST-RESOURCES-MIB::hrSWRunPerfCPU.5163 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.5416 = INTEGER: 4
HOST-RESOURCES-MIB::hrSWRunPerfCPU.5629 = INTEGER: 87
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6394 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6439 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6551 = INTEGER: 88
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6677 = INTEGER: 1155125
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6810 = INTEGER: 1824987
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6827 = INTEGER: 915445
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6837 = INTEGER: 100
HOST-RESOURCES-MIB::hrSWRunPerfCPU.6957 = INTEGER: 129
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7029 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7150 = INTEGER: 651
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7168 = INTEGER: 3
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7357 = INTEGER: 10804
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7447 = INTEGER: 2
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7562 = INTEGER: 3875985
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7890 = INTEGER: 22992
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7942 = INTEGER: 1493
HOST-RESOURCES-MIB::hrSWRunPerfCPU.7943 = INTEGER: 2128
HOST-RESOURCES-MIB::hrSWRunPerfCPU.8874 = INTEGER: 2185
HOST-RESOURCES-MIB::hrSWRunPerfCPU.9071 = INTEGER: 2353
HOST-RESOURCES-MIB::hrSWRunPerfCPU.10389 = INTEGER: 1381
HOST-RESOURCES-MIB::hrSWRunPerfCPU.11403 = INTEGER: 1
HOST-RESOURCES-MIB::hrSWRunPerfCPU.11455 = INTEGER: 154
HOST-RESOURCES-MIB::hrSWRunPerfCPU.11465 = INTEGER: 62
HOST-RESOURCES-MIB::hrSWRunPerfCPU.11593 = INTEGER: 2
HOST-RESOURCES-MIB::hrSWRunPerfCPU.11944 = INTEGER: 53
HOST-RESOURCES-MIB::hrSWRunPerfCPU.12497 = INTEGER: 92
HOST-RESOURCES-MIB::hrSWRunPerfCPU.13639 = INTEGER: 8715
HOST-RESOURCES-MIB::hrSWRunPerfCPU.14310 = INTEGER: 68
HOST-RESOURCES-MIB::hrSWRunPerfCPU.15213 = INTEGER: 210546
HOST-RESOURCES-MIB::hrSWRunPerfCPU.15566 = INTEGER: 92
HOST-RESOURCES-MIB::hrSWRunPerfCPU.15875 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.16160 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.16623 = INTEGER: 41
HOST-RESOURCES-MIB::hrSWRunPerfCPU.16769 = INTEGER: 95
HOST-RESOURCES-MIB::hrSWRunPerfCPU.17465 = INTEGER: 90
HOST-RESOURCES-MIB::hrSWRunPerfCPU.17833 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.18020 = INTEGER: 2625335
HOST-RESOURCES-MIB::hrSWRunPerfCPU.18273 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.19654 = INTEGER: 2871
HOST-RESOURCES-MIB::hrSWRunPerfCPU.19909 = INTEGER: 2285
HOST-RESOURCES-MIB::hrSWRunPerfCPU.19910 = INTEGER: 216
HOST-RESOURCES-MIB::hrSWRunPerfCPU.20195 = INTEGER: 17
HOST-RESOURCES-MIB::hrSWRunPerfCPU.21472 = INTEGER: 42294
HOST-RESOURCES-MIB::hrSWRunPerfCPU.21655 = INTEGER: 13248
HOST-RESOURCES-MIB::hrSWRunPerfCPU.22120 = INTEGER: 125
HOST-RESOURCES-MIB::hrSWRunPerfCPU.22363 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.22839 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.23560 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.23562 = INTEGER: 64996932
HOST-RESOURCES-MIB::hrSWRunPerfCPU.23902 = INTEGER: 184
HOST-RESOURCES-MIB::hrSWRunPerfCPU.23970 = INTEGER: 3798105
HOST-RESOURCES-MIB::hrSWRunPerfCPU.24025 = INTEGER: 118
HOST-RESOURCES-MIB::hrSWRunPerfCPU.24249 = INTEGER: 3780371
HOST-RESOURCES-MIB::hrSWRunPerfCPU.24528 = INTEGER: 3846526
HOST-RESOURCES-MIB::hrSWRunPerfCPU.24534 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.24855 = INTEGER: 3838354
HOST-RESOURCES-MIB::hrSWRunPerfCPU.25187 = INTEGER: 3780820
HOST-RESOURCES-MIB::hrSWRunPerfCPU.25245 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.25469 = INTEGER: 3805109
HOST-RESOURCES-MIB::hrSWRunPerfCPU.25528 = INTEGER: 120688
HOST-RESOURCES-MIB::hrSWRunPerfCPU.25839 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.25840 = INTEGER: 737982
HOST-RESOURCES-MIB::hrSWRunPerfCPU.26408 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.27013 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.28021 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.29334 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.29788 = INTEGER: 85
HOST-RESOURCES-MIB::hrSWRunPerfCPU.29896 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.29981 = INTEGER: 78
HOST-RESOURCES-MIB::hrSWRunPerfCPU.31533 = INTEGER: 1
HOST-RESOURCES-MIB::hrSWRunPerfCPU.31991 = INTEGER: 1
HOST-RESOURCES-MIB::hrSWRunPerfCPU.32268 = INTEGER: 281607
HOST-RESOURCES-MIB::hrSWRunPerfCPU.32455 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWRunPerfCPU.32503 = INTEGER: 1
HOST-RESOURCES-MIB::hrSWRunPerfCPU.32668 = INTEGER: 0
HOST-RESOURCES-MIB::hrSWInstalledName.295 = STRING: "perl-Sys-CPU-0.54-4.el7"
You have mail in /var/spool/mail/root

[root@xxxxxxx ~]# snmpwalk -v 2c -c 'xxxxxxxxxx' xx.xxx.xx.xx | grep -i "memory"
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 65699384 KBytes
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.10 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: Shared memory
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by tgriep »

When running the check_nwc_health command from the CLI, you need to replace $USER10$ with the community string that is configured on the device or the plugin will fail.

Run the following but replace communitystring with the actual community string setup on the device.

Code: Select all

/usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community=communitystring --mode=memory-usage --warning=90 --critical=95
/usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community=communitystring --mode=cpu-load --warning=90 --critical=95
The macro is not known from the command line so you do need to type it in.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by vignesha »

Hi,

As suggested, we have mentioned actual community string and tried but we are getting output only as OK and we are not getting any utilization details, PFB output for reference

Output:

[root@xxxxx ~]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 30 --community='xxxxxxxx' --mode=memory-usage --warning=90 --critical=95
OK

[root@xxxxxx ~]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community='xxxxxxx' --mode=cpu-load --warning=90 --critical=95
OK
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by tgriep »

What version of the plugin are you using? Run the following to see what it is.

Code: Select all

/usr/local/nagios/libexec/check_nwc_health --version
I am running check_nwc_health $Revision: 7.10.0.6 $ and it is printing details of the check.

Code: Select all

/usr/local/nagios/libexec/check_nwc_health --hostname=centos7 -t 60 --community=public --mode=memory-usage --warning=90 --critical=95
OK - memory usage is 32.26%, swap usage is 0.00% | 'memory_usage'=32.26%;90;95;0;100 'swap_usage'=0%;90;95;0;100
Make sure you clean out ant state files from the /var/tmp/check_nwc_health folder so the check can re-create them if needed and see if that allows the plugin to show more details.
Or try upgrading to the latest version of the plugin.
https://labs.consol.de/nagios/check_nwc ... index.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by vignesha »

Hi,

We are using older version plugin so we have downloaded and installed updated version, again we tried fetching data for CPU and Memory but still we are not getting utilization details.


Output:
Older version:
[root@xxxxxxx libexec]# ./check_nwc_health --version
check_nwc_health $Revision: 7.0.1.2 $ [http://labs.consol.de/nagios/check_nwc_health]

New Version:
[root@xxxxxxx libexec]# ls -l check_nwc_health
-rwxr-xr-x. 1 root nagios 3458091 Apr 23 15:11 check_nwc_health

[root@xxxxxxx libexec]# ./check_nwc_health --version
check_nwc_health $Revision: 7.10.3 $ [http://labs.consol.de/nagios/check_nwc_health]

[root@xxxxxx libexec]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community='xxxxxxxx' --mode=cpu-load --warning=90 --critical=95
OK

[root@xxxxxx libexec]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community='xxxxxxxx' --mode=memory-usage --warning=90 --critical=95
OK
You have mail in /var/spool/mail/root
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by tgriep »

There might be a missing perl module that the plugin uses to print the info in it's output. Run the following to display which modules are installed on your server.

Code: Select all

cpan -l
Also, add the verbose option to the check to see what it prints.

Code: Select all

/usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community='xxxxxxxx' --mode=memory-usage --warning=90 --critical=95 --vvv
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by vignesha »

Hi,

As requested, PFA output.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by tgriep »

It looks like the plugin did not get updated correctly as the Perl Modules it needs are not installed on your system.

Go to the check_nwc_health-7.10.3 folder where you extracted the plugin and run the following to reinstall it.

Code: Select all

make clean
./configure
make
make install
Post the full output of the above commands.
Test the plugin again to see if the modules installed.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by vignesha »

Hi,

I have tried installing the plugin once again, also attached the logs and cpan command output.

Output:
[root@xxxxxxxxx libexec]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 30 --community='xxxxxxxxx' --mode=memory-usage --warning=90 --critical=95 --verbose
OK -
checking mems
You have mail in /var/spool/mail/root
[root@xxxxxxxxx libexec]# /usr/local/nagios/libexec/check_nwc_health --hostname=xx.xxx.xx.xx -t 60 --community='xxxxxxxxx' --mode=cpu-load --warning=90 --critical=95 --verbose
OK -
checking cpus
[root@MPHSCRLS0738 libexec]#
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cisco ISE Device Memory and CPU Usage Monitoring

Post by tgriep »

I see the Perl modules so that is good.

When running the plugin, it determines what device it is running the check against and it is selecting Cisco as the device and that does not print out the details when it runs.
Try adding this option to the plugin to use the generic UCD MIB information and see if that prints out the details for the device.

Code: Select all

--servertype=generic_ucd
Some devices do not have the ability to be polled for the required information needed to display the details and that is why it just prints OK and no details.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked