Ad Widget

Collapse

Monitoring with NET-SNMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grabber
    Member
    • Mar 2005
    • 85

    #16
    Thanks

    Comment

    • patrickpeng
      Junior Member
      • Jul 2006
      • 26

      #17
      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.

      Comment

      • primos
        Member
        • Jul 2005
        • 61

        #18
        But since the MIB definition is a STRING, I cannot graph the results.

        Comment

        • manu_dbpur
          Junior Member
          • Oct 2006
          • 14

          #19
          SNMPd is giving wrong value for cpu utilization

          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.

          Thanks,
          Manu.V

          Comment

          • dynax60
            Junior Member
            • Aug 2010
            • 15

            #20
            Originally posted by chocho63
            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

            delay between checks is 30s.

            Comment

            Working...