Cacti 1.2.15 does not draw new graphs
Moderators: Developers, Moderators
Cacti 1.2.15 does not draw new graphs
Hello, I'm running Ubuntu Server 20 and when initially installing Cacti - it was drawing graphs just fine. But a month later, when I've decided to remove graphs that were showing traffic in bytes and replace them with graphs showing it in bits - new graphs ended up being empty. Even though I was not touching cacti or making any changes to Ubuntu Server.
I've tried re-adding this device (a switch) as a new device (and also added a new, unrelated device - which is also a switch) and it also results in empty graphs. Even though in all cases 'SNMP-Interface Statistics' has hundreds of items and allows me to create graphs for interfaces.
Other devices that are there (host machine and a bunch of other switches) draw graphs just fine.
rrd files are being created and updated, they are just being filled with -nan values according to 'rrdtool fetch'.
Any ideas?
I've tried re-adding this device (a switch) as a new device (and also added a new, unrelated device - which is also a switch) and it also results in empty graphs. Even though in all cases 'SNMP-Interface Statistics' has hundreds of items and allows me to create graphs for interfaces.
Other devices that are there (host machine and a bunch of other switches) draw graphs just fine.
rrd files are being created and updated, they are just being filled with -nan values according to 'rrdtool fetch'.
Any ideas?
Re: Cacti 1.2.15 does not draw new graphs
Configure -> settings -> general tab -> Increase generic log level or insert problematic host ID to Selective Device Debugkrz wrote: ↑Mon Dec 07, 2020 5:37 am Hello, I'm running Ubuntu Server 20 and when initially installing Cacti - it was drawing graphs just fine. But a month later, when I've decided to remove graphs that were showing traffic in bytes and replace them with graphs showing it in bits - new graphs ended up being empty. Even though I was not touching cacti or making any changes to Ubuntu Server.
I've tried re-adding this device (a switch) as a new device (and also added a new, unrelated device - which is also a switch) and it also results in empty graphs. Even though in all cases 'SNMP-Interface Statistics' has hundreds of items and allows me to create graphs for interfaces.
Other devices that are there (host machine and a bunch of other switches) draw graphs just fine.
rrd files are being created and updated, they are just being filled with -nan values according to 'rrdtool fetch'.
Any ideas?
After poller run, Examine the log file.
You can post part of log here.
Let the Cacti grow!
Re: Cacti 1.2.15 does not draw new graphs
Here's the bit of the log related to the device
(the mikrotik plugin is installed but not used in any way yet - but can its installation somehow cause issues? it was installed at the very beginning but right after all devices were already added and started being graphed)
(the mikrotik plugin is installed but not used in any way yet - but can its installation somehow cause issues? it was installed at the very beginning but right after all devices were already added and started being graphed)
Code: Select all
2020-12-07 13:50:30 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/plugins/mikrotik/poller_graphs.php]
2020-12-07 13:50:30 - SYSTEM MIKROTIK STATS: Time:23.1000 Processes:10 Hosts:2 Interfaces:58 Queues:1 Users:0 Trees:0 Waps:0 Wreg:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/plugins/mikrotik/poller_mikrotik.php --host-id=10 --start=1607341807.7381 --seed=325622970 --key=946728712]
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/plugins/mikrotik/poller_mikrotik.php --host-id=4 --start=1607341807.7381 --seed=325622970 --key=384153983]
2020-12-07 13:50:07 - MAINT Cacti Log Rotation - TIMECHECK Ran: 2020-12-07 00:00:07, Now: 2020-12-07 13:50:07, Next: 2020-12-07 23:59:59
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] NOTE: Registering process! (maintenance, master, 1, 725236)
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] NOTE: Registering process! (reports, master, 0, 725230)
2020-12-07 13:50:07 - AUTOM8 [PID: 725234] Not time to Run Discovery for 'Test Network'
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] NOTE: Registering process! (spikekill, master, 0, 725232)
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/plugins/mikrotik/poller_mikrotik.php -M]
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/usr/share/cacti/site/poller_maintenance.php']
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/usr/share/cacti/site/poller_automation.php' -M]
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/usr/share/cacti/site/poller_spikekill.php']
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/poller_reports.php]
2020-12-07 13:50:07 - SYSTEM STATS: Time:5.5621 Method:cmd.php Processes:1 Threads:0 Hosts:9 HostsPerProcess:9 DataSources:685 RRDsProcessed:394
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_494.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:1004055533500005:240630142884958
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_493.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_492.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_491.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:1245583702616914:1245475647197520
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_490.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:973:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_489.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:4997993998170:23193920267757
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_488.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:536586308554529:534406170871628
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_487.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:535359380267438:536807905379147
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_486.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:125323611183:349979222400
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_485.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_484.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:74384916327000:27241450433197
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_483.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_482.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_481.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_480.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_479.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:13574738976493:37035702411624
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_478.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_477.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:17162849632888:6794703851242
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_476.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:13384149759113:1023317191807
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_475.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:5903939407816:61094068585344
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_474.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:5156245696085:42653508911553
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_473.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:13899357475646:26083985631442
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_472.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:10955442551910:38917381017659
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_471.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:0:0
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_470.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:224598415081584:38645275633816
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_469.rrd --skip-past-updates --template traffic_out:traffic_in 1607341805:380824717650056:94080966952838
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_468.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:14865234635784:54363115247441
2020-12-07 13:50:07 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/_2_core_switch_traffic_in_467.rrd --skip-past-updates --template traffic_in:traffic_out 1607341805:6432306424598:11950459897496
2020-12-07 13:50:06 - PHPSVR DEBUG: PHP Script Server Shutdown request received, exiting
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus4] Graphs[.2 Core Switch - Traffic - sfp-sfpplus4] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.28, output: 240630142884958
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus4] Graphs[.2 Core Switch - Traffic - sfp-sfpplus4] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.28, output: 1004055533500005
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus3] Graphs[.2 Core Switch - Traffic - sfp-sfpplus3] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.27, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus3] Graphs[.2 Core Switch - Traffic - sfp-sfpplus3] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.27, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus2] Graphs[.2 Core Switch - Traffic - sfp-sfpplus2] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.26, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus2] Graphs[.2 Core Switch - Traffic - sfp-sfpplus2] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.26, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus1] Graphs[.2 Core Switch - Traffic - sfp-sfpplus1] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.25, output: 1245583702616914
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp-sfpplus1] Graphs[.2 Core Switch - Traffic - sfp-sfpplus1] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.25, output: 1245475647197520
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo4] Graphs[.2 Core Switch - Traffic - combo4] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.24, output: 973
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo4] Graphs[.2 Core Switch - Traffic - combo4] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.24, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo3] Graphs[.2 Core Switch - Traffic - combo3] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.23, output: 23193920267757
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo3] Graphs[.2 Core Switch - Traffic - combo3] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.23, output: 4997993998170
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo2] Graphs[.2 Core Switch - Traffic - combo2] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.22, output: 536586308554529
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo2] Graphs[.2 Core Switch - Traffic - combo2] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.22, output: 534406170871628
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo1] Graphs[.2 Core Switch - Traffic - combo1] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.21, output: 535359380267438
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - combo1] Graphs[.2 Core Switch - Traffic - combo1] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.21, output: 536807905379147
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp20] Graphs[.2 Core Switch - Traffic - sfp20] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.20, output: 125323611183
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp20] Graphs[.2 Core Switch - Traffic - sfp20] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.20, output: 349979222400
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp19] Graphs[.2 Core Switch - Traffic - sfp19] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.19, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp19] Graphs[.2 Core Switch - Traffic - sfp19] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.19, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp18] Graphs[.2 Core Switch - Traffic - sfp18] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.18, output: 74384916327000
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp18] Graphs[.2 Core Switch - Traffic - sfp18] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.18, output: 27241450433197
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp17] Graphs[.2 Core Switch - Traffic - sfp17] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.17, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp17] Graphs[.2 Core Switch - Traffic - sfp17] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.17, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp16] Graphs[.2 Core Switch - Traffic - sfp16] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.16, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp16] Graphs[.2 Core Switch - Traffic - sfp16] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.16, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp15 Colocation Switch .111] Graphs[.2 Core Switch - Traffic - sfp15 Colocation Switch .111] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.15, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp15 Colocation Switch .111] Graphs[.2 Core Switch - Traffic - sfp15 Colocation Switch .111] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp14] Graphs[.2 Core Switch - Traffic - sfp14] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.14, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp14] Graphs[.2 Core Switch - Traffic - sfp14] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.14, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp13] Graphs[.2 Core Switch - Traffic - sfp13] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.13, output: 37035702411624
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp13] Graphs[.2 Core Switch - Traffic - sfp13] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.13, output: 13574738976493
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp12] Graphs[.2 Core Switch - Traffic - sfp12] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.12, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp12] Graphs[.2 Core Switch - Traffic - sfp12] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.12, output: 0
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp11] Graphs[.2 Core Switch - Traffic - sfp11] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.11, output: 17162849632888
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp11] Graphs[.2 Core Switch - Traffic - sfp11] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.11, output: 6794703851242
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp10] Graphs[.2 Core Switch - Traffic - sfp10] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.10, output: 13384149759113
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp10] Graphs[.2 Core Switch - Traffic - sfp10] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.10, output: 1023317191807
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp9] Graphs[.2 Core Switch - Traffic - sfp9] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.9, output: 61094068585344
2020-12-07 13:50:06 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp9] Graphs[.2 Core Switch - Traffic - sfp9] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.9, output: 5903939407816
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp8] Graphs[.2 Core Switch - Traffic - sfp8] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.8, output: 42653508911553
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp8] Graphs[.2 Core Switch - Traffic - sfp8] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.8, output: 5156245696085
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp7] Graphs[.2 Core Switch - Traffic - sfp7] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.7, output: 26083985631442
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp7] Graphs[.2 Core Switch - Traffic - sfp7] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.7, output: 13899357475646
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp6] Graphs[.2 Core Switch - Traffic - sfp6] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.6, output: 38917381017659
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp6] Graphs[.2 Core Switch - Traffic - sfp6] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.6, output: 10955442551910
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp5] Graphs[.2 Core Switch - Traffic - sfp5] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.5, output: 0
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp5] Graphs[.2 Core Switch - Traffic - sfp5] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.5, output: 0
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp4] Graphs[.2 Core Switch - Traffic - sfp4] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4, output: 224598415081584
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp4] Graphs[.2 Core Switch - Traffic - sfp4] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.4, output: 38645275633816
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp3] Graphs[.2 Core Switch - Traffic - sfp3] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, output: 380824717650056
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp3] Graphs[.2 Core Switch - Traffic - sfp3] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.3, output: 94080966952838
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp2] Graphs[.2 Core Switch - Traffic - sfp2] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, output: 54363115247441
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp2] Graphs[.2 Core Switch - Traffic - sfp2] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, output: 14865234635784
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp1] Graphs[.2 Core Switch - Traffic - sfp1] SNMP: v2: 10.20.30.2, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.1, output: 11950459897496
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DS[.2 Core Switch - Traffic - sfp1] Graphs[.2 Core Switch - Traffic - sfp1] SNMP: v2: 10.20.30.2, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.1, output: 6432306424598
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] DQ[SNMP - Interface Statistics] RECACHE OID: .1.3.6.1.2.1.1.3.0, (assert:1349976100 < output:1350006000)
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] RECACHE: Processing 1 items in the auto reindex cache for '10.20.30.2'.
2020-12-07 13:50:05 - POLLER: Poller[Main Poller] Device[.2 Core Switch] STATUS: Device '10.20.30.2' is UP.
2020-12-07 13:50:05 - PING Device[.2 Core Switch] SNMP: Device responded to SNMP
Re: Cacti 1.2.15 does not draw new graphs
ok, we have data. Try to omit mikrotik template and create new device with "Generic SNMP template". Or create device without template and only add SNMP - interface statistics in Associated Data Queries.
Wait three poller cycle and we will see
Wait three poller cycle and we will see
Let the Cacti grow!
Re: Cacti 1.2.15 does not draw new graphs
mikrotik template is not used, the device is created with a "generic SNMP template" and uses only "SNMP - Interface Statistics". But I can try recreating it anew with no template just to check
Re: Cacti 1.2.15 does not draw new graphs
and nother graphs from Interface statistisc (errors/bytes, ...) will be blank too?
Let the Cacti grow!
Re: Cacti 1.2.15 does not draw new graphs
I've added another switch (that was never in the database) and re-created this one - both with no templates - added SNMP profile manually. Created graphs as usual. They are still empty.
Out of interest I've decided to debug one of the interfaces (with constant ~80 Mbps usage) from the Troubleshooting menu - and here what it says after 15 minutes of running:
Out of interest I've decided to debug one of the interfaces (with constant ~80 Mbps usage) from the Troubleshooting menu - and here what it says after 15 minutes of running:
Re: Cacti 1.2.15 does not draw new graphs
Management->graphs->select any blank graph, what says "Turn on Graph debug mode"?
Try configuration->settings->general tab-> change RRDtool Version
Try configuration->settings->general tab-> change RRDtool Version
Let the Cacti grow!
Re: Cacti 1.2.15 does not draw new graphs
Code: Select all
RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--pango-markup \
--title='10.20.30.2 - Traffic - sfp18' \
--vertical-label='bits per second' \
--slope-mode \
--base=1000 \
--height=150 \
--width=550 \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2020-12-06 15\:30\:54 To 2020-12-07 15\:25\:54\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 --font TITLE:11:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--font WATERMARK:6:'Arial' \
--slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/usr/share/cacti/site/rra/10_20_30_2_traffic_in_640.rrd':'traffic_in':MAX \
DEF:b='/usr/share/cacti/site/rra/10_20_30_2_traffic_in_640.rrd':'traffic_in':AVERAGE \
DEF:c='/usr/share/cacti/site/rra/10_20_30_2_traffic_in_640.rrd':'traffic_out':MAX \
DEF:d='/usr/share/cacti/site/rra/10_20_30_2_traffic_in_640.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefb='b,8,*' \
CDEF:cdeff='c,8,*' \
CDEF:cdefg='d,8,*' \
CDEF:cdefbb='d,8,*,-1,*' \
LINE1:cdefa#00CF00FF: \
AREA:cdefb#00CF007F:'Inbound ' \
GPRINT:cdefb:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefb:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefb:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdeff#002A97FF: \
AREA:cdefg#002A977F:'Outbound' \
GPRINT:cdefg:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefg:AVERAGE:'Average\:%8.2lf %s' \
LINE1:cdefb#000000FF: \
GPRINT:cdefg:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdefbb#000000FF:
RRDtool Command lengths = 1574 charaters.
RRDtool Says:
OK
Yet for the very original devices I've created right at the very beginning data is written and represented in graphs just fine.
It has 1.7.2+ set, which is the same version as what is installed right now. Will change it to 1.3+ and will see.Try configuration->settings->general tab-> change RRDtool Version
Re: Cacti 1.2.15 does not draw new graphs
Templates->data source -> choose Interface - traffic ->Data source item, set Maximu Value to "U" (for both data sources)
Let the Cacti grow!
Re: Cacti 1.2.15 does not draw new graphs
Interesting - this seems to have made it work. However I've tried it with 32-bit Bits/Bytes counters only. Because when I'm trying to add 32 bit counters to any device that already has 64-bit based graphs - those end up filled with "-nan" values for whatever reason. Recreating the device with 32 bit counters however is successful.
But I remember in that old 0.8.8 version (which was used previously - 1.2.15 was a clean install with a fresh empty DB) when using 32 bits counters - it provided weird data on 10Gbit interfaces where it was jumping from 0 to max values at random instead of drawing a realistic graph. Will it be the issue here?
But I remember in that old 0.8.8 version (which was used previously - 1.2.15 was a clean install with a fresh empty DB) when using 32 bits counters - it provided weird data on 10Gbit interfaces where it was jumping from 0 to max values at random instead of drawing a realistic graph. Will it be the issue here?
Re: Cacti 1.2.15 does not draw new graphs
You have to use 64bit counters for your interfaces, read this:krz wrote: ↑Mon Dec 07, 2020 10:35 am Interesting - this seems to have made it work. However I've tried it with 32-bit Bits/Bytes counters only. Because when I'm trying to add 32 bit counters to any device that already has 64-bit based graphs - those end up filled with "-nan" values for whatever reason. Recreating the device with 32 bit counters however is successful.
But I remember in that old 0.8.8 version (which was used previously - 1.2.15 was a clean install with a fresh empty DB) when using 32 bits counters - it provided weird data on 10Gbit interfaces where it was jumping from 0 to max values at random instead of drawing a realistic graph. Will it be the issue here?
viewtopic.php?t=5460
Problem is in template. Debug says that traffic_in is:
6794703851242, but in tempalate was lower value:
100000000000
Let the Cacti grow!
Re: Cacti 1.2.15 does not draw new graphs
Please show me your working graph with 10gbit interface.
Let the Cacti grow!
Who is online
Users browsing this forum: No registered users and 0 guests