Ad Widget

Collapse

Trigger Inclusion Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martins.felipe
    Member
    • Jul 2006
    • 34

    #1

    Trigger Inclusion Problem

    I have many triggers monitoring many features like CPU and RAM. Due to our needs i also monitor Disk I/O of solaris servers by script included in each server's snmpd.conf. I've made a OID for each operation of READ/WRITE in each disk, which gives me the following SNMP Itens:
    Solaris Disk I/O (ssd0) - READ
    Solaris Disk I/O (ssd0) - WRITE
    Solaris Disk I/O (ssd1) - READ
    Solaris Disk I/O (ssd1) - WRITE and so on till SSD6

    I've tried to create a trigger to verify when disk i/o transpass 1900 READ/WRITE per second, but there is something wrong with the expression. I tried to create the following expression based on the OID names I created to collect disk i/o stats, like that:

    ({SNMP_t:enterprises.7770.2.101.1.last(5)}>1900|{S NMP_t:enterprises.7770.3.101.1.last(5)}>1900|{SNMP _t:enterprises.7771.2.101.1.last(5)}>1900|{SNMP_t: enterprises.7771.3.101.1.last(5)}>1900|{SNMP_t:ent erprises.7772.2.101.1.last(5)}>1900|{SNMP_t:enterp rises.7772.3.101.1.last(5)}>1900|{SNMP_t:enterpris es.7773.2.101.1.last(5)}>1900|{SNMP_t:enterprises. 7773.3.101.1.last(5)}>1900|{SNMP_t:enterprises.777 4.2.101.1.last(5)}>1900|{SNMP_t:enterprises.7774.3 .101.1.last(5)}>1900|SNMP_t:enterprises.7775.2.101 .1.last(5)}>1900|{SNMP_t:enterprises.7775.3.101.1. last(5)}>1900|{SNMP_t:enterprises.7776.2.101.1.las t(5)}>1900|{SNMP_t:enterprises.7776.3.101.1.last(5 )}>1900)

    But Zabbix presents me the following error:
    No such host (SNMP_t) or monitored parameter (enterprises.7776.3.101.1)

    No matter how many or what monitored parameter i put in this trigger expression it presents me this kind of error message. It's a little bit wierd because I can collect the disk i/o values by snmpwalk like above:
    root@beholder:/usr/bin# snmpwalk -v1 -c azulseg 32.94.155.27 enterprises.7770.2.101.1
    SNMPv2-SMI::enterprises.7770.2.101.1 = STRING: "7.0"


    I have similar expressions for CPU triggers. Their expressions are very similar and they work, see:
    ({SNMP_t:hrProcessorLoad.1.avg(5)}>70|{SNMP_t:hrPr ocessorLoad.2.avg(5)}>70|{SNMP_t:hrProcessorLoad.3 .avg(5)}>70|{SNMP_t:hrProcessorLoad.4.avg(5)}>70|{ SNMP_t:hrProcessorLoad.5.avg(5)}>70|{SNMP_t:hrProc essorLoad.6.avg(5)}>70)

    Can anyone give me a hand ?

    Thanks in advance
    Last edited by martins.felipe; 23-11-2006, 15:58.
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    May sound obvious, but did you first create the corresponding Items in Zabbix ?

    Comment

    • martins.felipe
      Member
      • Jul 2006
      • 34

      #3
      Yes, they are

      hehe, yes, they are created but only in two hosts. I first thought that i was receiving this error because this disk i/o itens belong only to two machines while I was creating the triggers using the entire SNMP_t template, because of that i tried also to include only in this two hosts but received the same error message.

      Any ideas ? This problem is already driving me crazy !

      Comment

      • Calimero
        Senior Member
        • Nov 2006
        • 481

        #4
        Originally posted by martins.felipe
        ({SNMP_t:enterprises.7770.2.101.1.last(5)}>1900|{S NMP_t:enterprises.7770.3.101.1.last(5)}>1900|{SNMP _t:enterprises.7771.2.101.1.last(5)}>1900|{SNMP_t: enterprises.7771.3.101.1.last(5)}>1900|{SNMP_t:ent erprises.7772.2.101.1.last(5)}>1900|{SNMP_t:enterp rises.7772.3.101.1.last(5)}>1900|{SNMP_t:enterpris es.7773.2.101.1.last(5)}>1900|{SNMP_t:enterprises. 7773.3.101.1.last(5)}>1900|{SNMP_t:enterprises.777 4.2.101.1.last(5)}>1900|{SNMP_t:enterprises.7774.3 .101.1.last(5)}>1900|SNMP_t:enterprises.7775.2.101.1.last(5)}>1900|{SNMP_t: enterprises.7775.3.101.1.last(5)}>1900|{SNMP_t:ent erprises.7776.2.101.1.last(5)}>1900|{SNMP_t:enterp rises.7776.3.101.1.last(5)}>1900)
        I guess the missing curly brace { is a simple copy/paste issue ?

        What If you try creating your trigger "progressively" ?

        First: {one_of_the_2_hosts:enterprises.7773.2.101.1.last( 5)}>1900

        Then: ({one_of_the_2_hosts:enterprises.7773.2.101.1.last (5)}>1900)|({one_of_the_2_hosts:enterprises.7770.3 .101.1.last(5)}>1900)
        ... and so on.

        Comment

        • martins.felipe
          Member
          • Jul 2006
          • 34

          #5
          Tried that already !!!

          Yes, copy/paste error was my mistake. I've tried to create them progressively before but with the same results. I don't know what is causing the expression to go crazy.

          Thanks in advance.

          Comment

          Working...