pve version: 7.2
template: In/Out Bits (64-bit Counters) with Total Bandwidth
I opened and configured snmp on the pve host
cacti uses snmp to monitor the operation of the virtual machine on the pve host (mainly the vtep device)
When the tap (virtual machine network card) traffic is relatively small, such as 10Mbsp 100Mbsp, data collection, storage, and display are all normal;
When the tap traffic is large, >800Mbps, the image will always display Nan.
I analyzed the cacti.log and the rra file corresponding to the graph
It is found that spine has collected data from the pve host, and has not updated the data to the rrd file;
Does anyone know what is causing this problem?
cacti.log:
Code: Select all
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] DS[118] SNMP: v2: 10.18.20.180, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.120, value: 58551524617647
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] DS[118] SNMP: v2: 10.18.20.180, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.120, value: 57839135320121
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] DS[119] SNMP: v2: 10.18.20.180, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.121, value: 25816681680702
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] DS[119] SNMP: v2: 10.18.20.180, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.121, value: 25856686215572
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] DS[161] SNMP: v2: 10.18.20.180, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.8, value: 25114196005386
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] DS[161] SNMP: v2: 10.18.20.180, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.8, value: 10814457329566
2023/03/01 01:00:09 - SPINE: Poller[1] DEVDBG: SQL:INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (118,'traffic_in','2023-03-01 01:00:09','58551524617647'),(118,'traffic_out','2023-03-01 01:00:09','57839135320121'),(119,'traffic_in','2023-03-01 01:00:09','25816681680702'),(119,'traffic_out','2023-03-01 01:00:09','25856686215572'),(161,'traffic_in','2023-03-01 01:00:09','25114196005386'),(161,'traffic_out','2023-03-01 01:00:09','10814457329566') ON DUPLICATE KEY UPDATE output=VALUES(output)
2023/03/01 01:00:09 - SPINE: Poller[1] DEVDBG: SQL:UPDATE poller_item SET rrd_next_step=IF((rrd_next_step-300)>=0, (rrd_next_step-300), (rrd_step-300)) WHERE host_id=11 AND poller_id=1
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] Total Time: 0.11 Seconds
2023/03/01 01:00:09 - SPINE: Poller[1] DEVDBG: SQL:UPDATE host SET polling_time=1677603609.256 - 1677603609.085 WHERE id=11
2023/03/01 01:00:09 - SPINE: Poller[1] Device[11] HT[1] DEBUG: HOST COMPLETE: About to Exit Device Polling Thread Function
2023/03/01 01:00:09 - SPINE: Poller[1] DEBUG: The Value of Active Threads is 0 for Device ID 11
2023/03/01 01:00:09 - SPINE: Poller[1] POLLER: Active Threads is 0, Pending is 0
2023/03/01 01:00:09 - SPINE: Poller[1] DEBUG: Valid Thread to be Created
2023/03/01 01:00:09 - SPINE: Poller[1] DEBUG: In Poller, About to Start Polling of Device for Device ID 1
2023/03/01 01:00:09 - SPINE: Poller[1] SPINE: Active Threads is 1, Pending is 1