Cacti doesn't respect data source step value?

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

Moderators: Developers, Moderators

Post Reply
Alekc
Posts: 2
Joined: Sat Apr 21, 2007 9:02 am

Cacti doesn't respect data source step value?

Post by Alekc »

Hi, I'm having following weird issue. Given following settings
Poller interval
Image

Data template example

Image

Data sources

Image

I would expect that data sources with Poller Interval of 30 seconds are interrogated once every 30 seconds. Instead i'm seeing following log info:

Code: Select all

07/12/2012 11:03:19 AM - CMDPHP: Poller[0] Host[19] DS[182] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hm,hq --device sda, output: hm:2024916 hq:2891593392
07/12/2012 11:03:19 AM - CMDPHP: Poller[0] Host[19] DS[180] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hs,ht --device sda, output: hs:158728032 ht:2893558784
07/12/2012 11:03:32 AM - CMDPHP: Poller[0] Host[19] DS[183] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hl,hp --device sda, output: hl:7429392 hp:530613900
07/12/2012 11:03:33 AM - CMDPHP: Poller[0] Host[19] DS[181] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hj,hk,hn,ho --device sda, output: hj:612858 hk:39357 hn:43867
684 ho:31317063
07/12/2012 11:03:49 AM - CMDPHP: Poller[0] Host[19] DS[182] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hm,hq --device sda, output: hm:2024916 hq:2891593952
07/12/2012 11:03:49 AM - CMDPHP: Poller[0] Host[19] DS[180] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hs,ht --device sda, output: hs:158728500 ht:2893559344
07/12/2012 11:04:03 AM - CMDPHP: Poller[0] Host[19] DS[183] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hl,hp --device sda, output: hl:7429392 hp:530615436
07/12/2012 11:04:05 AM - CMDPHP: Poller[0] Host[19] DS[181] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hj,hk,hn,ho --device sda, output: hj:612858 hk:39357 hn:43867
885 ho:31317197
07/12/2012 11:04:20 AM - CMDPHP: Poller[0] Host[19] DS[182] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hm,hq --device sda, output: hm:2024916 hq:2891594472
07/12/2012 11:04:20 AM - CMDPHP: Poller[0] Host[19] DS[180] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hs,ht --device sda, output: hs:158728932 ht:2893559864
07/12/2012 11:04:33 AM - CMDPHP: Poller[0] Host[19] DS[183] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hl,hp --device sda, output: hl:7429392 hp:530617092
07/12/2012 11:04:34 AM - CMDPHP: Poller[0] Host[19] DS[181] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hj,hk,hn,ho --device sda, output: hj:612858 hk:39357 hn:43867
936 ho:31317238
07/12/2012 11:04:50 AM - CMDPHP: Poller[0] Host[19] DS[182] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hm,hq --device sda, output: hm:2024916 hq:2891595112
07/12/2012 11:04:50 AM - CMDPHP: Poller[0] Host[19] DS[180] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hs,ht --device sda, output: hs:158729408 ht:2893560504
07/12/2012 11:05:02 AM - CMDPHP: Poller[0] Host[19] DS[183] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hl,hp --device sda, output: hl:7429392 hp:530618660
07/12/2012 11:05:03 AM - CMDPHP: Poller[0] Host[19] DS[181] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hj,hk,hn,ho --device sda, output: hj:612858 hk:39357 hn:43868
057 ho:31317326
07/12/2012 11:05:19 AM - CMDPHP: Poller[0] Host[19] DS[182] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hm,hq --device sda, output: hm:2024916 hq:2891595776
07/12/2012 11:05:19 AM - CMDPHP: Poller[0] Host[19] DS[180] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hs,ht --device sda, output: hs:158729940 ht:2893561168
07/12/2012 11:05:32 AM - CMDPHP: Poller[0] Host[19] DS[183] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hl,hp --device sda, output: hl:7429392 hp:530620052
07/12/2012 11:05:34 AM - CMDPHP: Poller[0] Host[19] DS[181] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hj,hk,hn,ho --device sda, output: hj:612858 hk:39357 hn:43868
283 ho:31317470
07/12/2012 11:05:49 AM - CMDPHP: Poller[0] Host[19] DS[182] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hm,hq --device sda, output: hm:2024916 hq:2891596992
07/12/2012 11:05:49 AM - CMDPHP: Poller[0] Host[19] DS[180] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hs,ht --device sda, output: hs:158730792 ht:2893562384
07/12/2012 11:06:03 AM - CMDPHP: Poller[0] Host[19] DS[183] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hl,hp --device sda, output: hl:7429392 hp:530622028
07/12/2012 11:06:05 AM - CMDPHP: Poller[0] Host[19] DS[181] CMD: /usr/bin/php -q /var/www/cacti/scripts/ss_get_by_ssh.php --host 192.168.0.254 --type diskstats --items hj,hk,hn,ho --device sda, output: hj:612858 hk:39357 hn:43868
381 ho:31317545
Where you can see that datasource is called for update every 15 seconds. It seems that poller use global poller setting instead of respecting value setted in data source. Is it a bug or I'm missing something?

Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti doesn't respect data source step value?

Post by gandalf »

IMHO, current implementation is bad. So it may very well happen, that you've found a bug. Please file a bug report along with all of your findings
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests