Search found 4 matches

by chk9
Fri Sep 19, 2014 9:32 pm
Forum: Scripts and Templates
Topic: bash script not populating rrd
Replies: 5
Views: 1696

Re: bash script not populating rrd

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: # m h dom mon dow command */5 * * * * ...
by chk9
Thu Sep 18, 2014 7:39 am
Forum: Scripts and Templates
Topic: bash script not populating rrd
Replies: 5
Views: 1696

Re: bash script not populating rrd

Ok found out selinux is not active: ~$ getsebool selinuxuser_ping getsebool: SELinux is disabled And running from the command prompt it works! ~$ 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...
by chk9
Tue Sep 16, 2014 11:55 am
Forum: Scripts and Templates
Topic: bash script not populating rrd
Replies: 5
Views: 1696

Re: bash script not populating rrd

Hmm does not looks like it's a permission issue:

Code: Select all

~$ sudo su www-data
[sudo] password for chris: 
$ /bin/bash /home/chris/b/vera-cacti-poll.sh eth0.2
rec:81332368296 snd:7127901568
Not sure where to check selinux issues :cry:
by chk9
Mon Sep 15, 2014 8:16 pm
Forum: Scripts and Templates
Topic: bash script not populating rrd
Replies: 5
Views: 1696

bash script not populating rrd

Newbie question. Running Version 0.8.8b on Ubuntu 14.04 I've created a new data input method using the following poller. My poller provides the following data: ~$ b/vera-cacti-poll.sh eth0.2 rec:81262822953 snd:7102042602 ~$ The poller cach shows: Vera WAN Script: /bin/bash /home/chris/b/vera-cacti-...