Ad Widget

Collapse

Can Zabbix dynamically change severity level for Nagios

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Can Zabbix dynamically change severity level for Nagios

    In Nagios, returned value 1 =WARNING, 2=CRITICAL.
    How can zabbix interpret the value and dynamically set severity level accordingly without creating two triggers?

    Zenoss can sort of support this via next highest severity.

    =================
    Does Zenoss use severity set by the Nagios Plugin return?
    Yes. Per Chet Luther:
    You can use the 1/2 exit codes from Nagios plugins to drive the severity of the resulting Zenoss event.
    The way it works it that if the plugin exits with a code of 1 (WARNING) Zenoss will set the severity of the event to whatever you selected for severity when you created the data source. If the plugin exits with a code of 2 (CRITICAL) Zenoss will use the next highest severity. An exit code of 3 (unknown) will give the same severity as the data source.
    So if you choose Warning as the severity in the data source, and the plugin exits with a code of 2, the event will actually have a severity of Error.

    #2
    Hi.

    I'm feeding Zabbix with a bunch of Nagios both
    via HTTP accessing http://remote_IP/nagios/cgi-bin/tac.cgi
    and
    grabbing current_state and service_description from other nagios /var/log/nagios/status.dat

    Errr... currently you cannot.
    I agree this is useful for a variety of cases.

    I've opened a Request

    Comment

    Announcement

    Collapse
    No announcement yet.
    Working...
    X