Poller Spine does not update graphics

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
bredis
Posts: 2
Joined: Tue Nov 05, 2019 12:13 am

Poller Spine does not update graphics

#1 Post by bredis » Tue Nov 05, 2019 3:07 am

I installed debian 10 cacti 1.2.2.
poller cmd.php receives data, but "U" is written to the rrd file

Code: Select all

2019/11/05 11:03:04 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/extra-2_bikovo-17_home10161_connections_264.rrd --skip-past-updates --template conn 1572940982:U
2019/11/05 11:03:04 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/extra-2_bikovo-17_home10161_cpu_75.rrd --skip-past-updates --template CPU 1572940982:3
2019/11/05 11:03:04 - POLLER: Poller[Main Poller] Parsed MULTI output field 'CPU:3' [map CPU->CPU]
2019/11/05 11:03:03 - POLLER: Poller[Main Poller] Time: 1.0235 s, Poller: , Theads: N/A, Devices: 1
2019/11/05 11:03:03 - POLLER: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] DS[extra-2.bikovo-17.home:10161 - CPU Usage Percent] Graphs[extra-2.bikovo-17.home:10161 - Keenetic CPU Usage Percent] CMD: /usr/bin/php /usr/share/cacti/site/scripts/query_keenetic_memory.php 'extra-2.bikovo-17.home' '10161' 'public' , output: TOTAL:131072 USAGE:40120 PERCENT:30 CPU:3
2019/11/05 11:03:03 - POLLER: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] DS[extra-2.bikovo-17.home:10161 - Keenetic - Connections] Graphs[extra-2.bikovo-17.home:10161 - Keenetic - Connections] CMD: /usr/bin/php /usr/share/cacti/site/scripts/query_keenetic_connections.php 'extra-2.bikovo-17.home' '10161' 'public' , output: CONNECTIONS:9
2019/11/05 11:03:02 - POLLER: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] STATUS: Device 'extra-2.bikovo-17.home' is UP.
2019/11/05 11:03:02 - PING Device[extra-2.bikovo-17.home:10161] PING: ICMP Ping Success (3.789 ms)
2019/11/05 11:03:02 - POLLER: Poller[Main Poller] NOTE: There are no items in your poller for this polling cycle!
On version 0.8.8, everything worked perfectly.

The log for creating the rrd file.

Code: Select all

2019/11/05 10:59:04 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool create /usr/share/cacti/site/rra/extra-2_bikovo-17_home10161_connections_264.rrd --start 1572940442 --step 60 DS:conn:GAUGE:600:0:10000 RRA:AVERAGE:0.5:1:10080 RRA:AVERAGE:0.5:5:8640 RRA:AVERAGE:0.5:30:4320 RRA:AVERAGE:0.5:120:2160 RRA:AVERAGE:0.5:1440:1461 RRA:MIN:0.5:1:10080 RRA:MIN:0.5:5:8640 RRA:MIN:0.5:30:4320 RRA:MIN:0.5:120:2160 RRA:MIN:0.5:1440:1461 RRA:MAX:0.5:1:10080 RRA:MAX:0.5:5:8640 RRA:MAX:0.5:30:4320 RRA:MAX:0.5:120:2160 RRA:MAX:0.5:1440:1461 RRA:LAST:0.5:1:10080 RRA:LAST:0.5:5:8640 RRA:LAST:0.5:30:4320 RRA:LAST:0.5:120:2160 RRA:LAST:0.5:1440:1461

The problem with poller Spine, since when cmd.php everything works.
In the log, the difference in the bottom line:
cmd.php string method

Code: Select all

2019/11/05 11:23:04 - POLLER: Poller[Main Poller] Parsed MULTI output field 'CONNECTIONS:11' [map CONNECTIONS->connections]
is present
At poler Spine it is not.
Below is a piece of log that would be more understandable.
(I will highlight the necessary lines)

Code: Select all

2019/11/05 11:24:03 - SYSTEM STATS: Time:2.3771 Method:spine Processes:1 Threads:1 Hosts:1 HostsPerProcess:1 DataSources:2 RRDsProcessed:2
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Time: 1.0938 s, Threads: 1, Devices: 1
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] DEBUG: Net-SNMP Close Completed
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] DEBUG: MYSQL Free & Close Completed
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] DEBUG: Allocated Variable Memory Freed
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] DEBUG: PHP Script Server Pipes Closed
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] DEBUG: Thread Cleanup Complete
2019/11/05 11:24:02 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/extra-2_bikovo-17_home10161_connections_264.rrd --skip-past-updates --template CONNECTIONS 1572942241:U
2019/11/05 11:24:02 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/extra-2_bikovo-17_home10161_cpu_75.rrd --skip-past-updates --template CPU 1572942241:3

2019/11/05 11:24:02 - POLLER: Poller[Main Poller] Parsed MULTI output field 'CPU:3' [map CPU->CPU]

2019/11/05 11:24:02 - SPINE: Poller[Main Poller] SPINE: The Final Value of Threads is 0
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] POLLER: Active Threads is 0, Pending is 0
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] DEBUG: The Value of Active Threads is 0 for Device ID 8
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] HT[1] DEBUG: HOST COMPLETE: About to Exit Device Polling Thread Function
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] HT[1] Total Time: 0.56 Seconds
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] HT[1] DS[extra-2.bikovo-17.home:10161 - CPU Usage Percent] Graphs[extra-2.bikovo-17.home:10161 - Keenetic CPU Usage Percent] SCRIPT: /usr/bin/php /usr/share/cacti/site/scripts/query_keenetic_memory.php 'extra-2.bikovo-17.home' '10161' 'public' , output: "TOTAL:131072 USAGE:40120 PERCENT:30 CPU:3
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] DEBUG: The NIFTY POPEN returned the following File Descriptor 8
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] HT[1] DS[extra-2.bikovo-17.home:10161 - Keenetic - Connections] Graphs[extra-2.bikovo-17.home:10161 - Keenetic - Connections] SCRIPT: /usr/bin/php /usr/share/cacti/site/scripts/query_keenetic_connections.php 'extra-2.bikovo-17.home' '10161' 'public' , output: "CONNECTIONS:6
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] DEBUG: The NIFTY POPEN returned the following File Descriptor 8
2019/11/05 11:24:02 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] HT[1] NOTE: There are '2' Polling Items for this Device
2019/11/05 11:24:01 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] HT[1] Device has no information for recache.
2019/11/05 11:24:01 - SPINE: Poller[Main Poller] Updating Full System Information Table
2019/11/05 11:24:01 - SPINE: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] DEBUG: Entering ICMP Ping
2019/11/05 11:24:01 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/sbin/spine, ARGS: -C /etc/cacti/spine.conf --poller=1 --first=0 --last=0 --mibs]
2019/11/05 11:24:01 - POLLER: Poller[Main Poller] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '60.44', Max Runtime '58', Poller Runs: '1'
2019/11/05 11:23:06 - POLLER: Poller[Main Poller] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/poller_automation.php --poller=1 --network=1]
2019/11/05 11:23:04 - SYSTEM STATS: Time:2.4673 Method:cmd.php Processes:1 Threads:N/A Hosts:1 HostsPerProcess:1 DataSources:2 RRDsProcessed:2
2019/11/05 11:23:04 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/extra-2_bikovo-17_home10161_connections_264.rrd --skip-past-updates --template connections 1572942182:11
2019/11/05 11:23:04 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/extra-2_bikovo-17_home10161_cpu_75.rrd --skip-past-updates --template CPU 1572942182:3

2019/11/05 11:23:04 - POLLER: Poller[Main Poller] Parsed MULTI output field 'CONNECTIONS:11' [map CONNECTIONS->connections]
2019/11/05 11:23:04 - POLLER: Poller[Main Poller] Parsed MULTI output field 'CPU:3' [map CPU->CPU]

2019/11/05 11:23:04 - POLLER: Poller[Main Poller] Time: 1.3466 s, Poller: , Theads: N/A, Devices: 1
2019/11/05 11:23:04 - POLLER: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] DS[extra-2.bikovo-17.home:10161 - CPU Usage Percent] Graphs[extra-2.bikovo-17.home:10161 - Keenetic CPU Usage Percent] CMD: /usr/bin/php /usr/share/cacti/site/scripts/query_keenetic_memory.php 'extra-2.bikovo-17.home' '10161' 'public' , output: TOTAL:131072 USAGE:40120 PERCENT:30 CPU:3
2019/11/05 11:23:03 - POLLER: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] DS[extra-2.bikovo-17.home:10161 - Keenetic - Connections] Graphs[extra-2.bikovo-17.home:10161 - Keenetic - Connections] CMD: /usr/bin/php /usr/share/cacti/site/scripts/query_keenetic_connections.php 'extra-2.bikovo-17.home' '10161' 'public' , output: CONNECTIONS:11
2019/11/05 11:23:03 - POLLER: Poller[Main Poller] Device[extra-2.bikovo-17.home:10161] STATUS: Device 'extra-2.bikovo-17.home' is UP.
2019/11/05 11:23:02 - PING Device[extra-2.bikovo-17.home:10161] PING: ICMP Ping Success (3.381 ms)
2019/11/05 11:23:02 - POLLER: Poller[Main Poller] NOTE: There are no items in your poller for this polling cycle!

Post Reply