Ad Widget

Collapse

check running proc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • barus
    Junior Member
    • Sep 2006
    • 2

    #1

    check running proc

    Hello,

    First of all I'd like to say that I'm totally new to Zabbix.

    I'm trying to set a new trigger with the following expression:
    {hostnameroc.num[firefox.exe].last(0)}<1
    if I'm right this trigger is monitoring whether the application firefox is running on the host?

    I get the following error:
    No such host (hostname) or monitored parameter (proc.num[firefox.exe])

    Can somebody help me to solve this error?

    thanks!
  • barus
    Junior Member
    • Sep 2006
    • 2

    #2
    Can someone help me?

    Comment

    • peter_field
      Member
      • Jun 2006
      • 71

      #3
      Getting triggers working

      I get the following error:
      No such host (hostname) or monitored parameter (proc.num[firefox.exe])
      This means that there is no host or template named 'hostname' with an item having a key of 'proc.num[firefox.exe]'.

      Items are what actually collect the data, and in this case, you will need to have an item with a key of 'proc.num[firefox.exe]'.

      Triggers check the data that the items collect, so with no data collected from an item, the trigger will never work.

      Actions are fired based off conditions of triggers, and they are what send email or run commands when a trigger is fired.

      Once you have the item setup, ensure it is actually collecting data, by checking under Monitoring/Lastest Data, select your host, and click 'graph' for the item. The graph should show the data, if it says "no data", or it shows the wrong figures, then this will need to be addressed before the trigger will work.

      I'm trying to set a new trigger with the following expression:
      {hostname: proc.num[firefox.exe].last(0)}<1
      if I'm right this trigger is monitoring whether the application firefox is running on the host?
      Now the trigger, what you have specified looks correct, assuming you have an item on a host call hostname, with key 'proc.num[firefox.exe]'. hostname could just as easily be a template, assuming that the template has the item with that key.

      Hope this helps

      Comment

      Working...