If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
hello
I am a new user of zabbix-1.1, till now , I still do not know how to configure the snmp-agent, can anybody who can help me? With zabbix-agent, I can monitor it very well, but for snmp, do I need to install anything, and with snmp.conf, do I need to change anything. I created a new host, set its port to 161, let it link to SNMP_t, anything else to do? Please help me.
Hi,
I configured following line in snmpd.conf file
extend <MIBIID> cpu /tmp/cpuutil to get cpu utilization.
and cpuutil file contains following line:
sar - u 1 | grep Average|awk '{print ($3 + $4 + $5 + $6)}'
But snmp is not giving proper values. Is this the bug in my code or in snmp. Please help to fix this bug.
You can monitor CPU utilisation (%) with these OID :
Instant monitor, not an average :
UCD-SNMP-MIB::ssCpuRawUser.0 -> Number of timeticks used by users's process (AIX, Solaris, Linux, HP-UX)
UCD-SNMP-MIB::ssCpuRawSystem.0 -> Number of timeticks used by system's process (AIX, Solaris, Linux, HP-UX)
UCD-SNMP-MIB::ssCpuRawIdle.0 -> Number of timeticks unused (AIX, Solaris, Linux, HP-UX)
UCD-SNMP-MIB::ssCpuRawWait.0-> Number of timeticks used by process waiting (AIX, Solaris, HP-UX)
UCD-SNMP-MIB::ssCpuRawNice.0-> Number of timeticks used by nice process (Linux, HP-UX)
UCD-SNMP-MIB::ssCpuRawKernel.0 -> Number of timeticks used by kernel process (AIX, Solaris, Linux, HP-UX)
Configure the item with an OID, chose a custom multiplier of :
- 1 * 100 / (delay between checks * number of timeticks per second * number of CPU) for Linux
- 1 * 100 * number of CPU / (delay between checks * number of timeticks per second) for HP-UX
- 1 * 100 / (delay between checks * number of timeticks per second) for AIX and Solaris
store 'Delta Simple Change'.
To get the number of timeticks per second, use 'getconf CLK_TCK'. It's always 100 on hosts I've tested.
For example, with CLK_TCK=100 (Linux i386), check every 10 seconds, 2 CPU, the custom multiplier is 0.05.
For Linux, it's the logical number of CPU displayed by command 'top', not the physical number.
Could you help me with FreeBSD OS custom multiplier?
# getconf CLK_TCK
128
Comment