How to obtain the CPU utilization, hard disk utilization and memory usage through SNMP polling.
To extend the Bluecoat Security Analytics MIB functionality to include polling for CPU Utilization/Load, Hard disk utilization, and Memory Usage, you may enable the generic MIB module Host-Resource-MIB and UCD-SNMP-MIB.
Please follow the procedure below to enable the MIBs,
Make sure that SNMP polling is enabled in the GUI under Settings > Communication and click Save.
Edit the /etc/snmp/snmpd.conf file using vi and find the section that describes the capabilities of the 'soleraview', and add the lines (in bold) as shown below,
[root@SAP ~]# vi /etc/snmp/snmpd.conf # Make at least snmpwalk -v 1 localhost -c public system fast again. # name incl/excl subtree mask(optional) #view systemview included .184.108.40.206.2.1.1 #view systemview included .220.127.116.11.18.104.22.168.1 view soleraview included .22.214.171.124.2.1.1 view soleraview included .126.96.36.199.2.1.2 view soleraview included .188.8.131.52.4.1.30190 view soleraview included .184.108.40.206.2.1.25 view soleraview included .220.127.116.11.4.1.2021 # Solera View : SNMP MIB-2 System + SNMP MIB-2 Interfaces + Solera Enterprise MIB
Restart the snmpd services to enable the changes.
[root@SAP ~]# service snmpd restart Stopping snmpd: [ OK ] Starting snmpd: [ OK ]
Once the MIB is enabled, you can confirm whether the appliance is responding to the new snmp settings by using this command from a workstation:
snmpwalk -v 1 -c public ip_address .18.104.22.168.2.1.25
snmpwalk -v 1 -c public ip_address .22.214.171.124.4.1.2021
Please refer to the attachment for examples for polling Blue Coat Security Analytics Platform CPU Utilization/Load, Hard disk utilization, Memory Usage via MIB.
Note: To enable this configuration to persist even when the GUI changes Blue Coat specific content, edit the
/etc/snmp/snmpd.conf.tmpl file with the same changes.