diff options
Diffstat (limited to 'logsmanagement/rrd_api/rrd_api_systemd.h')
-rw-r--r-- | logsmanagement/rrd_api/rrd_api_systemd.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/logsmanagement/rrd_api/rrd_api_systemd.h b/logsmanagement/rrd_api/rrd_api_systemd.h deleted file mode 100644 index 3497168f3..000000000 --- a/logsmanagement/rrd_api/rrd_api_systemd.h +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: GPL-3.0-or-later - -/** @file plugins_logsmanagement_systemd.h - * @brief Incudes the structure and function definitions - * for the systemd log charts. - */ - -#ifndef RRD_API_SYSTEMD_H_ -#define RRD_API_SYSTEMD_H_ - -#include "daemon/common.h" - -struct File_info; - -typedef struct Chart_data_systemd chart_data_systemd_t; - -#include "../file_info.h" -#include "../circular_buffer.h" - -#include "rrd_api.h" - -extern const char *dim_sever_str[SYSLOG_SEVER_ARR_SIZE]; - -struct Chart_data_systemd { - - time_t last_update; - - /* Number of collected log records */ - collected_number num_lines; - - /* Systemd metrics - Syslog Priority value */ - char *dim_prior[193]; - collected_number num_prior[193]; - - /* Systemd metrics - Syslog Severity value */ - collected_number num_sever[9]; - - /* Systemd metrics - Syslog Facility value */ - collected_number num_facil[25]; -}; - -void systemd_chart_init(struct File_info *p_file_info); -void systemd_chart_update(struct File_info *p_file_info); - -#endif // RRD_API_SYSTEMD_H_ |