Ad Widget

Collapse

Severity based on host name/type

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jezdikm
    Junior Member
    • Jun 2010
    • 4

    #1

    Severity based on host name/type

    Hi,

    Is there any way how to trigger different severity for different servers from 1 item/trigger?

    Eg. I've an item for syslogd process running check in general template. I would like to raise DISASTER if the process doesn't run on syslog server but only AVERAGE for other servers.

    Some kind of macro feature for triggered severity.

    Thanks
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    The way I would do it is to go to triggers for the server (host level) where I want it to be at disaster level, and clone the current "average" alert trigger.

    I would then set the severity for the new trigger to Disaster, then disable the old trigger for "Average" at the host level.

    You have to do that clone at the host level, not the template level. If you do it at the template level, it will apply to all servers in that tempalte.

    Comment

    • jezdikm
      Junior Member
      • Jun 2010
      • 4

      #3
      Originally posted by tchjts1
      The way I would do it is to go to triggers for the server (host level) where I want it to be at disaster level, and clone the current "average" alert trigger.

      I would then set the severity for the new trigger to Disaster, then disable the old trigger for "Average" at the host level.

      You have to do that clone at the host level, not the template level. If you do it at the template level, it will apply to all servers in that tempalte.
      Hi,
      Thank you for the reply. I'm aware of this solution. Unfortunately in large scale environment (hundreds of servers) this is not the option. That's why I mentioned the similarity to MACROS. I think it would be nice feature.

      Thanks,
      M.

      Comment

      • gospodin.horoshiy
        Senior Member
        • Sep 2008
        • 272

        #4
        I've done it like so:

        Created Template_Windows_Server_Level1
        Created Template_Windows_Client_Level2 and linked it to the template above.

        Server template has trigger "host is restarted" with warning severity - I would like to be notified if server restarts for some reason. And I don't care if some workstation is restarted by its user. So, in second tempalte I just changed the severity of the same trigger to Information. This solution assumes that if I need to change that trigger somehow, than I would change it in first template only since they are linked.
        Zbx 2.0.4 on Debian and MYSQL5 on Ubuntu Server 64bit 8.04,
        200+ Win Agents, 50+ Linux Agents, 150+ Network Devices

        Comment

        Working...