Ad Widget

Collapse

Data Received And Last > 1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bcarpio
    Member
    • Jun 2008
    • 96

    #1

    Data Received And Last > 1

    So here is the situation I have.

    I spin up instances in EC2 using a precreated AMI, this AMI has the zabbix agent already installed which means the node auto registeres (since we use autoregistration rules).

    I have a trigger that says
    Code:
    {Template_Linux:proc.num[puppet].last(0)}<1
    every time a new node spins up, I get an alert puppet is down, since we start puppet using our orchestration tools.

    I want to get this alert once we have some data that puppet has run. So once Zabbix knows that puppet has started, then someone stops it I want an alert.

    I can't seem to figure out how to get the logic to work to do this.

    I have tried:

    Code:
    ({Template_Linux:proc.num[puppet].last(0)}<1 & {Template_Linux:proc.num[puppet].prev(0)}<1)
    But then when I stop puppet, I get an alert, however the next check even if puppet is down sends me an ok message.
    Last edited by tchjts1; 12-11-2013, 19:06. Reason: Added code tags
Working...