1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Watchfrr-specific error messages.
4 * Copyright (C) 2018 Cumulus Networks, Inc.
11 #include "watchfrr_errors.h"
13 /* clang-format off */
14 static struct log_ref ferr_watchfrr_err
[] = {
16 .code
= EC_WATCHFRR_CONNECTION
,
17 .title
= "WATCHFRR Connection Error",
18 .description
= "WATCHFRR has detected a connectivity issue with one of the FRR daemons",
19 .suggestion
= "Ensure that FRR is still running and if not please open an Issue"
22 .code
= EC_WATCHFRR_UNEXPECTED_DAEMONS
,
23 .title
= "WATCHFRR wrong daemons to watch",
24 .description
= "As part of WATCHFRR startup you must specify 1 or more daemons to monitor",
25 .suggestion
= "Update your startup scripts to include zebra and any other daemon you would like to monitor",
33 void watchfrr_error_init(void)
35 log_ref_add(ferr_watchfrr_err
);