Re: Issue : RRD files not created

Paulus Tamba <[email protected]> Fri, 6 Mar 2015 16:53:38 +0700
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
Hi Hendry,

Thanks for your response. When i run the create command in CLI, it gives Invalid row count error. Any ideas on this?

> /srv/www/htdocs/cacti/rra/<device_name>_load_248.rrd \
> --step 300  \
> DS:load:GAUGE:600:0:100 \
> RRA:AVERAGE:0.5:1:0 \
> RRA:AVERAGE:0.5:1:0 \
> RRA:AVERAGE:0.5:1:0 \
> RRA:AVERAGE:0.5:1:4100 \
> RRA:AVERAGE:0.5:6:700 \
> RRA:AVERAGE:0.5:24:775 \
> RRA:AVERAGE:0.5:12:4100 \
> RRA:AVERAGE:0.5:288:797 \
> RRA:AVERAGE:0.5:1:230400 \
> RRA:MIN:0.5:1:4100 \
> RRA:MIN:0.5:6:700 \
> RRA:MIN:0.5:24:775 \
> RRA:MIN:0.5:288:797 \
> RRA:MAX:0.5:1:4100 \
> RRA:MAX:0.5:6:700 \
> RRA:MAX:0.5:24:775 \
> RRA:MAX:0.5:12:4100 \
> RRA:MAX:0.5:288:797 \
> RRA:LAST:0.5:1:4100 \
> RRA:LAST:0.5:6:700 \
> RRA:LAST:0.5:24:775 \
> RRA:LAST:0.5:288:797 \
>
ERROR: Invalid row count: 0


—
Regards,
Paulus Tamba


On Mar 6, 2015, at 4:47 PM, Hendry Leo <[email protected]> wrote:

> My response is too fast
> your log clearly say that you are using cmd.php
> 
> Can you create the problematic rrd using CLI?
> Turn On Data Source Debug Mode and you can see the CLI command to create
> the rrd
> go to http://yourhost/cacti/data_sources.php?action=ds_edit&id=<rrd
> id>&debug=1
> 
> Regards
> Hendry Leo
> 
> On Fri, Mar 6, 2015 at 4:43 PM, Hendry Leo <[email protected]>
> wrote:
> 
>> I was once run into this kind of problem using spine, where spine will not
>> create rrd file, but can update if the rrd file was already created.
>> The workaround is to use cmd.php
>> if performance is the issue, then you can switch back to spine after the
>> rrd is created
>> 
>> Regards
>> Hendry Leo
>> 
>> On Fri, Mar 6, 2015 at 4:30 PM, Paulus Tamba <
>> [email protected]> wrote:
>> 
>>> Hi,
>>> 
>>> I’m having issue with one of the devices we monitor with cacti. I’m
>>> trying to get graph for hrProcessLoad from an SNMP device, but the rrd is
>>> not created. I’ve searched the web, but most of the suggestion is about
>>> permission issue of <htdocs>/cacti/rra which I have confirmed to be not the
>>> issue. I’m running 0.8.8c on SLES 11 SP3.
>>> 
>>> Here’s the output from cacti.log about the poller. As seen, the poller is
>>> able to retrieve the value from the device, issue a rrdtool create command,
>>> and rrdtool update command. But there’s not graph created
>>> 
>>> 03/06/2015 04:25:02 PM - CMDPHP: Poller[0] Host[17] DS[248] SNMP: v2:
>>> <ip_address>, dsname: load, oid: .1.3.6.1.2.1.25.3.3.1.2.768, output: 21
>>> 03/06/2015 04:25:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool
>>> update /srv/www/htdocs/cacti/rra/<device_name>_traffic_in_243.rrd
>>> --template traffic_in:traffic_out 1425633902:0:0
>>> 03/06/2015 04:25:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool
>>> update /srv/www/htdocs/cacti/rra/<device_name>_traffic_in_244.rrd
>>> --template traffic_in:traffic_out 1425633902:0:0
>>> 03/06/2015 04:25:02 PM - CMDPHP: Poller[0] Time: 0.5505 s, Theads: N/A,
>>> Hosts: 9
>>> 03/06/2015 04:25:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool
>>> update /srv/www/htdocs/cacti/rra/<device_name>_traffic_in_242.rrd
>>> --template traffic_out:traffic_in 1425633902:2188400294:2188400294
>>> 03/06/2015 04:25:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool
>>> create /srv/www/htdocs/cacti/rra/<device_name>_load_248.rrd   --step 300
>>> DS:load:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:0  RRA:AVERAGE:0.5:1:0
>>> RRA:AVERAGE:0.5:1:0  RRA:AVERAGE:0.5:1:4100  RRA:AVERAGE:0.5:6:700
>>> RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:12:4100  RRA:AVERAGE:0.5:288:797
>>> RRA:AVERAGE:0.5:1:230400  RRA:MIN:0.5:1:4100  RRA:MIN:0.5:6:700
>>> RRA:MIN:0.5:24:775  RRA:MIN:0.5:288:797  RRA:MAX:0.5:1:4100
>>> RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:12:4100
>>> RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:4100  RRA:LAST:0.5:6:700
>>> RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797
>>> 03/06/2015 04:25:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool
>>> update /srv/www/htdocs/cacti/rra/<device_name>_load_248.rrd --template load
>>> N:21
>>> 
>>> Both graph debug mode as well as apache2 error_log complains about
>>> 
>>> ERROR: opening '/srv/www/htdocs/cacti/rra/<device_name>_load_248.rrd': No
>>> such file or directory
>>> 
>>> Strangely enough, I’m able to traffic information graph from the same
>>> device, which is quite frustrating.
>>> 
>>> Any pointers on where else I should look?
>>> 
>>> —
>>> Regards,
>>> Paulus Tamba
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub
>>> for all
>>> things parallel software development, from weekly thought leadership
>>> blogs to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> cacti-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/cacti-user
>>> 
>>> 
>> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> cacti-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cacti-user

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
cacti-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cacti-user
signature.asc (application/pgp-signature, 842 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJU+XkmAAoJEDGm0oraFuLIBX8P/jg7eneQ6UhBikIMNTnkfTue
Nb0C9DPpoS7wIpyoLhczkoep6S8lsWXMAY2JbGR8VOgN4xYj/ndSKTNxJgflUqP9
RdXA4xvruBrD2u5ObDaNpYKqM4BpDIQsAOJaYrdL4Lji9AuCqYucp/Z3qPOm1uLw
MsrHYJi9ApyQfyUyF2Xx8bAhEbv14xkdJMf7lxtlSSvgNvP/gunf5YodpbxUfxjn
POOLeatPZNhg+gvxuIy/fYshxwZBtVq3DEy9BmYo87Gv1P2bCOh7jSOsob4ziiRl
zYhXm1U4zRUGVhsRekuD6tDwcKsb7c/+asGE30/2AWHgALlos5xX/ZP90dT6Lvu2
aTneZGaYUeKLnRHdHVLB9iveDlg6WkliAgnC/q7wDWZSHKGqvinWWb8x6Xcwo+Ya
tCAsm6ZB/tRAIlcsIUGXNSyDITRN6JjkcKs0pKNTsW0Qlc9b5bh/YhXJuWjlA7+y
lWuIcWCGPnjvXtV0RIsgAqGdU1io8vNFwSqBJY6mnjoDsPUGkLhTGisoyt3sKAPj
ILze6EsRDlnRX+NaDs/ciKgRzf8zFMHrbZcVfAVMR6oU9wE+vV1ytQCMxXBMn4DV
h1zeBCPtXERVoHnSSkztHQ0WgjUXehliAE0hEThWrIUliLEMo/npFmxseXfYMPHr
/sZFqUIowC8Py0it6wbn
=Wgwe
-----END PGP SIGNATURE-----