I am writing the config script file to enable the following CPU resource
metrics:
CPU Utilization > 50% (actual number varies in the following experimental
script)
RAM Utilization > 50% (actual number varies in the following experimental
script)
Disk Utilization > 50% (actual number varies in the following experimental
script)
Here is the my snmpd.conf file, so far I got the CPU monitoring and Disk
monitoring working properly, but memory monitoring does not work at all ( it
does not send the trap message to trap receiver):
master yes
rwcommunity public
syslocation "My Office"
createUser traptest MD5 "zhaozhao" DES
iquerySecName traptest
rouser traptest
authtrapenable 1
trapcommunity public
defaultMonitors yes
trap2sink localhost
trap2sink 192.168.0.86
load 0.7 0.7 0.7
disk / 90%
#this directive works properly as well
#monitor -s -r 10 highprocessorload hrProcessorLoad > 5
#but this directive does not
monitor -s -r 10 highmemoryusage hrStorageUsed.1 < 1000000
The Linux OS I am using is Ubuntu running on VM, whose basic config. is 2
cores, with 2 G memory and 100 G disk. The version of the snmpd is 5.4.2.1.
Here are my questions:
How to get the directive "monitor -s -r 10 highmemoryusage hrStorageUsed.1 <
1000000" work?
Is there other way to monitor the memory usage besides the hrStorageUsed (A
directive similar to "disk" is preferred)?
In the directive "load 0.7 0.7 0.7", what is the meaning of 0.7?
Regards.
Hui Zhao
Software Engineer
Selex Systems Integration Inc.
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users