NetFlow v9 parsing errors and SQL column failures

Offen
#244 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
php, sql
Bereich
backend, database

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
PHP
Sterne
21
Forks
13
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
13

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Cacti/plugin_flowview

Alle Issues in Cacti/plugin_flowview

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.