yesterday i didi add a host with a ping latency check,
just to get warm with cacti.
The demo local linux host did create 4 graphs already.
Since cacti did not create a graph for my test i did play a bit with the poller settings because there where/are some erros
in the cacti logfile. I got rid of them by tweking the php config.
Now there is this error left:
Code: Select all
2017-07-18 10:30:00 - SPINE: Poller[1] ERROR: Spine Timed Out While Processing Devices Internal
Code: Select all
38259 cacti 20 0 234820 5480 3472 S 99.7 0.1 0:07.99 spine
I can switch to realtime and the graphs are there, so the data is comming in.
I checked permissions on the rra folder, it is owned by cacti and others can write.
Code: Select all
-rw-r--r--. 1 cacti cacti 276K Jul 17 11:45 local_linux_machine_load_1min_2.rrd
-rw-r--r--. 1 cacti cacti 94K Jul 17 11:45 local_linux_machine_mem_buffers_4.rrd
-rw-r--r--. 1 cacti cacti 94K Jul 17 11:45 local_linux_machine_mem_swap_5.rrd
-rw-r--r--. 1 cacti cacti 94K Jul 17 11:45 local_linux_machine_proc_1.rrd
-rw-rw-rw-. 1 cacti cacti 94K Jul 17 11:45 local_linux_machine_users_3.rrd
-rw-r--r-- 1 cacti cacti 94K Jul 18 10:35 nagios_vk-s1_ping_6.rrd
Code: Select all
drwxrwxrwx. 2 cacti root 261 Jul 17 12:05 rra
The others show data unteil the given time.
I also did change the time on the machine, it was running the wrong timezone.
How can i debug whats wrong?
Here the last entry of the logfile:
Code: Select all
2017-07-18 11:05:01 - SPINE: Poller[1] Time: 0.0831 s, Threads: 5, Devices: 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Net-SNMP Close Completed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: MYSQL Free & Close Completed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Allocated Variable Memory Freed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: PHP Script Server Pipes Closed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Thread Cleanup Complete
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The Value of Active Threads is 4 for Device ID 2
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] TH[1] DEBUG: HOST COMPLETE: About to Exit Device Polling Thread Function
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] TH[1] Total Time: 0.042 Seconds
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] TH[1] DS[6] Graphs['Nagios vk-s1 - Ping Latency'] SCRIPT: perl /usr/share/cacti/scripts/ping.pl '134.76.21.225', output: 0.527
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] DEBUG: The NIFTY POPEN returned the following File Descriptor 8
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] TH[1] NOTE: There are '1' Polling Items for this Device
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] TH[1] Device has no information for recache.
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] PING: Result ICMP: Device is Alive
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] DEBUG: ICMP Device Alive, Try Count:1, Time:10.9200 ms
2017-07-18 11:05:01 - SPINE: Poller[1] Device[2] Description[Nagios vk-s1] DEBUG: Entering ICMP Ping
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The Value of Active Threads is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: In Poller, About to Start Polling of Device for Device ID 2
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Valid Thread to be Created
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Initial Value of Active Threads is 0
2017-07-18 11:05:01 - SPINE: Poller[1] NOTE: Spine will support multithread device polling.
2017-07-18 11:05:01 - SPINE: Poller[1] SPINE: Initializing PHP Script Server(s)
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
2017-07-18 11:05:01 - SPINE: Poller[1] SPINE: Initializing Net-SNMP API
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Spine is running asroot.
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: MySQL is Thread Safe!
2017-07-18 11:05:01 - SPINE: Poller[1] Version 1.0.1 starting
2017-07-18 11:05:01 - SPINE: Poller[1] Selective Debug Devices 2,1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The Maximum SNMP OID Get Size is 10
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The PHP Script Server is Not Required
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: StartDevice='2', EndDevice='2', TotalPHPScripts='0'
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The number of php script servers to run is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The spine_log_level variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The selective_device_debug variable is 2,1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The script timeout is 50
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The number of concurrent processes is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The polling interval is 300 seconds
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The threads variable is 5
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The log_pstats variable is 0
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The boost_redirect variable is 0
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The log_pwarn variable is 0
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The log_perror variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The snmp_retries variable is 3
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_timeout variable is 400
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_retries variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_method variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_failure_count variable is 2
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_recovery_count variable is 3
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The availability_method variable is 4
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The path_php variable is /bin/php
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The Value of Active Threads is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Valid Thread to be Created
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Initial Value of Active Threads is 0
2017-07-18 11:05:01 - SPINE: Poller[1] NOTE: Spine will support multithread device polling.
2017-07-18 11:05:01 - SPINE: Poller[1] SPINE: Initializing PHP Script Server(s)
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
2017-07-18 11:05:01 - SPINE: Poller[1] SPINE: Initializing Net-SNMP API
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Spine is running asroot.
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: MySQL is Thread Safe!
2017-07-18 11:05:01 - SPINE: Poller[1] Version 1.0.1 starting
2017-07-18 11:05:01 - SPINE: Poller[1] Selective Debug Devices 2,1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The Maximum SNMP OID Get Size is 10
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The PHP Script Server is Not Required
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: StartDevice='0', EndDevice='1', TotalPHPScripts='0'
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The number of php script servers to run is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The spine_log_level variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The selective_device_debug variable is 2,1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The script timeout is 50
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The number of concurrent processes is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The polling interval is 300 seconds
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The threads variable is 5
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The log_pstats variable is 0
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The boost_redirect variable is 0
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The log_pwarn variable is 0
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The log_perror variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The snmp_retries variable is 3
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_timeout variable is 400
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_retries variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_method variable is 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_failure_count variable is 2
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The ping_recovery_count variable is 3
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The availability_method variable is 4
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: The path_php variable is /bin/php
2017/07/18 11:05:01 - POLLER: Poller[1] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300.28', Max Runtime '298', Poller Runs: '1'
2017/07/18 11:05:01 - SYSTEM THOLD STATS: Time:0.0082 Tholds:0 TotalDevices:2 DownDevices:0 NewDownDevices:0
2017-07-18 11:05:01 - SPINE: Poller[1] Time: 299.5489 s, Threads: 5, Devices: 1
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Net-SNMP Close Completed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: MYSQL Free & Close Completed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Allocated Variable Memory Freed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: PHP Script Server Pipes Closed
2017-07-18 11:05:01 - SPINE: Poller[1] DEBUG: Thread Cleanup Complete
2017-07-18 11:05:01 - SPINE: Poller[1] ERROR: Spine Timed Out While Processing Devices Internal