Hello,
I am running Cacti 1.2.11 on Linux, my cron interval is 5 minutes and I have devices with data profiles set up to run at 5 minutes and 30 minutes. All 5 minute profile devices with SNMP or script sourced data and all 30 minute SNMP sourced devices are working correctly. 30 minute profile devices using script sourced data will run once when they are created and generate a graph but never run again. From the debug below it appears that the devices are either not checked or not flagged to be polled. Any ideas on why the 30 minute profile script-sourced devices are not being polled? What signals Spine that there is something to be polled?
The following is debug from the 30 minute device that doesn't run. The debug shows every 5 minutes, which I expect because it is never polled:
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] IPv4 address 192.168.1.100 (hostname.domain)
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] DEBUG: Entering ICMP Ping
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] DEBUG: Attempting to ping hostname.domain, seq 1 (Retry 0 of 2)
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] DEBUG: ICMP Device Alive, Try Count:1, Time:0.1318 ms
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] PING: Result ICMP: Device is Alive
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] HT[1] Device has no information for recache.
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] HT[1] Total Time: 0.23 Seconds
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3684] Device[272] HT[1] DEBUG: HOST COMPLETE: About to Exit Device Polling Thread Function
The following is debug from the 5 minute device using the same script and is running correctly:
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] IPv4 address 192.168.1.100 (hostname.domain)
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] DEBUG: Entering ICMP Ping
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] DEBUG: Attempting to ping hostname.domain, seq 0 (Retry 0 of 2)
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] DEBUG: ICMP Device Alive, Try Count:1, Time:0.4730 ms
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] PING: Result ICMP: Device is Alive
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] HT[1] Device has no information for recache.
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] HT[1] NOTE: There are '1' Polling Items for this Device
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] DEBUG: The NIFTY POPEN returned the following File Descriptor 7
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] HT[1] DS[2529] SCRIPT: /usr/bin/perl /var/lib/cacti/scripts/getData.pl 'DATA-ITEM', output: data:1234
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] HT[1] Total Time: 0.52 Seconds
2021/03/17 19:20:02 - SPINE: Poller[1] PID[3687] Device[280] HT[1] DEBUG: HOST COMPLETE: About to Exit Device Polling Thread Function
Poller not running for devices using scripts with different data profiles
Moderators: Developers, Moderators
Re: Poller not running for devices using scripts with different data profiles
Upgrade to 1.2.16 resolved the problem.
Who is online
Users browsing this forum: No registered users and 5 guests