Ad Widget

Collapse

Monitoring Load Average with SNMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chocho63
    Member
    • Jun 2005
    • 53

    #1

    Monitoring Load Average with SNMP

    I would like to monitor load average with Net-SNMP, but the SNMP variable is STRING and I can't graph it.

    UCD-SNMP-MIB::laLoad.2 = STRING: 0.48

    Could it be possible to graph a string or to use a function in Zabbix to convert it to a numeric without using an external script ?
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    I am not sure if this would work, but I believe you can configure the system to treat the data as numeric. The DB doesn't care what format the data is in as long as it fits within the field limitations, nor does the server, unless you have a trigger associated with it.
    Unofficial Zabbix Developer

    Comment

    • chocho63
      Member
      • Jun 2005
      • 53

      #3
      It doesn't work; I've always tried it. I've got this error :

      Cannot store SNMP string value (ASN_OCTET_STR) in item having numeric type

      Comment

      • fab
        Junior Member
        • Jun 2005
        • 22

        #4
        UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 12

        but be aware that the load is an integer! That means that your actual load value is multiplied by 100. There's also a laLoad for floats but I didn't get it to work with zabbix.

        UCD-SNMP-MIB::laLoadFloat.2 = Opaque: Float: 0.170000

        Regards,
        Frank.

        Comment

        • chocho63
          Member
          • Jun 2005
          • 53

          #5
          Load Average Integer

          Thanks, it works well. I had not seen it with a snmpwalk.

          Comment

          • fab
            Junior Member
            • Jun 2005
            • 22

            #6
            Just because I'm curious. Do you use snmpv3 or v2c?

            Regards,
            Frank.

            Comment

            • chocho63
              Member
              • Jun 2005
              • 53

              #7
              Version of SNMP

              I use SNMP v2c

              Comment

              • ilik1989
                Junior Member
                • Dec 2012
                • 9

                #8
                Hi guys i need to graph load average on zabbix 2.0
                so what do i need to configure in template so that i can measure load average?

                Comment

                • ilik1989
                  Junior Member
                  • Dec 2012
                  • 9

                  #9
                  so i have templates where i can configure an item via snmp ( v1,v2,v3)
                  So what should i do to configure this what keys what mibs?
                  Could anyone explain and give some pictures so that everyone can how to configure load average or la?

                  Comment

                  • pabliszer
                    Junior Member
                    • Apr 2013
                    • 4

                    #10
                    This is my configuration.

                    Comment

                    Working...