Ad Widget

Collapse

How to set up Triggers in 1.1beta8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #1

    How to set up Triggers in 1.1beta8

    Hi folks!

    I want to monitor the cpu-load on localhost. zabbix v1.1b8
    one of the expressions i tried was:
    Code:
    {localhost:system.cpu.load(avg1)}>1
    which gave me an error: "No such host (localhost) or monitored parameter (system.cpu)".

    In the documentation it says "{zabbix.sf.net:system[procload].last(0)}>5". This expression looks like it's for older clients with the old key syntax...

    What do i have to do to get this working?

    Regards,
    J2B4U
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Perhaps you meant something like:

    {localhost:system.cpu.load[,avg1].last(0)}>1
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • elkor
      Senior Member
      • Jul 2005
      • 299

      #3
      and replace "localhost" with the hostname as zabbix knows it.

      Comment

      • just2blue4u
        Senior Member
        • Apr 2006
        • 347

        #4
        Thank You!

        {localhost:system.cpu.load.last(0)}>1

        was the correct expression.

        BTW: For what does "last(0)" stand?
        Big ZABBIX is watching you!
        (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

        Comment

        • elkor
          Senior Member
          • Jul 2005
          • 299

          #5
          it means the last reading

          0 is the number of seconds and is the only number that really makes sense for the "last" function I guess.

          avg(300) would be the avrerage value of the last 300 seconds worth of data. etc.

          Comment

          Working...