Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
09/16/2014 01:05:01 AM - CMDPHP: Poller[0] Host[0] DS[8] CMD: /bin/bash /home/chris/b/vera-cacti-poll.sh eth0.2, output: U
09/16/2014 01:05:01 AM - CMDPHP: Poller[0] Host[0] DS[8] WARNING: Result from CMD not valid. Partial Result: U
Could be multiple different things. First check these.
1. Permissions, make sure the poller user has permissions to execute that script
2. Selinux, its a pox
3. Check the commands inside the script, the poller user needs permission to run any commands in there too.
~$ sudo su www-data
$ php /usr/share/cacti/site/poller.php --force --debug
09/18/2014 08:30:15 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '14', Max Runtime '298', Poller Runs: '1'
09/18/2014 08:30:15 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q --define suhosin.memory_limit=512M "/usr/share/cacti/site/cmd.php" 0 1]
Waiting on 1 of 1 pollers.
09/18/2014 08:30:15 AM - POLLER: Poller[0] Parsed MULTI output field 'rec:81796546621' [map rec->rec]
09/18/2014 08:30:15 AM - POLLER: Poller[0] Parsed MULTI output field 'snd:7300759405' [map snd->snd]
Waiting on 1 of 1 pollers.
09/18/2014 08:30:15 AM - POLLER: Poller[0] Parsed MULTI output field 'snd:7300759405' [map snd->snd]
09/18/2014 08:30:15 AM - POLLER: Poller[0] Parsed MULTI output field 'rec:81796546621' [map rec->rec]
Anyone with another suggestion how to solve this issue?
Any debug tips to try?
I'm not getting the difference between the scheduler from within cacti and cron?!
I got a work around for now, by adding the poller to a cron job, but it's not as it should be setup: