Ad Widget

Collapse

snmp dynamic index trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mhabdank
    Junior Member
    • Feb 2011
    • 6

    #1

    snmp dynamic index trigger

    i have custom item which use snmp dynamic index:
    HOST-RESOURCES-MIB::hrSWRunPerfMem["index","HOST-RESOURCES-MIB::hrSWRunName", "httpd"]
    to monitor status of httpd process on a server and now it works correctly.
    Now I am trying to add trigger which will start e-mail notification action. the problem is that i can not add action based on UNKNOWN status, and trigger defined like this:
    {snmp_test:snmp_process_httpd_status_index.nodata( 40)}=1
    show ERROR:
    Cannot find index [HOST-RESOURCES-MIB::hrSWRunName] of the OID [HOST-RESOURCES-MIB::hrSWRunPerfMem["index","HOST-RESOURCES-MIB::
    like this when i disable httpd on a server.

    best regards

    Mikolaj Habdank
  • marcel
    Senior Member
    Zabbix Certified Specialist
    • Oct 2010
    • 112

    #2
    might be a case for bugreport? never seen this before
    Zabbix Certified Specialist for Large Environments since 12/2010

    Comment

    • arikin
      Junior Member
      • Aug 2011
      • 27

      #3
      Memory performance or process count?

      I believe that the process count is under here:

      Code:
      HOST-RESOURCES-MIB::hrSWRunEntry
      HOST-RESOURCES-MIB::hrSWRunIndex
      HOST-RESOURCES-MIB::hrSWRunName
      HOST-RESOURCES-MIB::hrSWRunPath
      HOST-RESOURCES-MIB::hrSWRunParameters
      HOST-RESOURCES-MIB::hrSWRunStatus
      for index and counting.

      The return value for hrSWRunPerfMem should be the kbytes of memory used by that process.

      So you may want to check what return value the Item is expecting?

      For example the return codes for HOST-RESOURCES-MIB::hrSWRunStatus are:
      1 = running
      2 = runnable -- waiting for resource like CPU, memory, IO.
      3 = notRunnable -- loaded but waiting for event
      4 = invalid -- not loaded
      Last edited by arikin; 07-09-2011, 03:18.

      Comment

      Working...