]> git.proxmox.com Git - mirror_frr.git/blobdiff - watchfrr/watchfrr_errors.c
Merge pull request #3502 from donaldsharp/socket_to_me_baby
[mirror_frr.git] / watchfrr / watchfrr_errors.c
index 662e7f654d9fa937ad0c7fa444e3bb1362bfc878..0aa27ef661a8f9e81c3d4fe5d5348be45bf2aeac 100644 (file)
 /* clang-format off */
 static struct log_ref ferr_watchfrr_err[] = {
        {
-               .code = WATCHFRR_ERR_CONNECTION,
+               .code = EC_WATCHFRR_CONNECTION,
                .title = "WATCHFRR Connection Error",
                .description = "WATCHFRR has detected a connectivity issue with one of the FRR daemons",
                .suggestion = "Ensure that FRR is still running and if not please open an Issue"
        },
+       {
+               .code = EC_WATCHFRR_UNEXPECTED_DAEMONS,
+               .title = "WATCHFRR wrong daemons to watch",
+               .description = "As part of WATCHFRR startup you must specify 1 or more daemons to monitor",
+               .suggestion = "Update your startup scripts to include zebra and any other daemon you would like to monitor",
+       },
        {
                .code = END_FERR,
        }