NetFlow v9 parsing errors and SQL column failures

Aperta
#244 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php, sql
Ambito
backend, database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
PHP
Stelle
21
Fork
13
Merge medio
1g 15h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Cacti/plugin_flowview

Tutte le issue di Cacti/plugin_flowview

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.