NetFlow v9 parsing errors and SQL column failures

オープン
#244 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php, sql
領域
backend, database

調査の方向性

Start by reproducing the reported failure with a NetFlow v9 exporter and check the Cacti log for plugin_flowview_raw column errors; compare the v9 behavior with the working v5 source. Then trace how the Flowview listener handles v9 templates and maps fields to database columns. Done means v9 flows are parsed and displayed without SQL column errors.

索引モデルが issue の本文から書いたものです。

説明

bug

Description

Flowview fails to parse NetFlow v9 data correctly, resulting in SQL errors about missing or mismatched columns. The v9 template handling does not properly map all field types, causing INSERT failures when flow records reference fields not present in the database schema.

Symptoms

  • SQL errors: column does not exist for v9 flow template fields
  • Flowview reports "no data" for v9 sources while v5 sources work correctly
  • Errors in Cacti log referencing plugin_flowview_raw table column mismatches

Steps to Reproduce

  1. Configure a NetFlow v9 exporter (router/switch)
  2. Point it at the Cacti Flowview listener
  3. Navigate to Flowview and attempt to view flows
  4. Check Cacti log for SQL errors

Expected: v9 flows are parsed and displayed correctly
Actual: SQL column errors, no flow data displayed

Environment

  • Cacti versions: reported across 1.2.x releases
  • Flowview plugin: multiple versions affected
  • NetFlow v9 sources from various vendors (Cisco, etc.)

Forum Reference

Originally reported at https://forums.cacti.net/viewtopic.php?t=60359

Multiple users confirmed v9 parsing failures while v5 works correctly.

主要言語
PHP
スター
21
フォーク
13
平均マージ
1日 15時間
マージ済み PR(30日)
13

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Cacti/plugin_flowview のほかの issue

Cacti/plugin_flowview の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。