Re: Issue : RRD files not created

Paulus Tamba <[email protected]> Tue, 10 Mar 2015 10:27:52 +0700
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
Hi Hendry,

Thanks. It appears that it’s the issue when importing the template.

All works now .

—
Regards,
Paulus Tamba


On Mar 9, 2015, at 3:00 PM, Hendry Leo <[email protected]> wrote:

> these lines are at fault
>> RRA:AVERAGE:0.5:1:0 \
>> RRA:AVERAGE:0.5:1:0 \
>> RRA:AVERAGE:0.5:1:0 \
> 
> it should not be duplicated and not supposed to end with 0
> the format should be
> RRA:AVERAGE:xff:steps:rows
> 
> just delete those lines and run the command again
> 
> regards
> Hendry Leo
> 
> On Fri, Mar 6, 2015 at 4:53 PM, Paulus Tamba <
> [email protected]> wrote:
> 
>> 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
>> 
>> 
> ------------------------------------------------------------------------------
> 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/mS8AAoJEDGm0oraFuLI5BEP/17YQ2/CLYuQNxWtaskFjNcH
SZxMMFqAPx2n6HR0B5o5t3hy27k5FzBbjes6200ibUARmKlc0k9s+/hXWm1wB1eJ
cCZhfiGzJjA+IDK6YrVM0xNWc+qAQtWum4nenoywMw8xZZPdhQ3gtwUidSFA07wn
WR+op2M4qpWHUAjytssqRMiaO04EHF/wgKF4IRDpTd1Gkx3ByeXt1iC4+hsQey1S
Tt5XND65iFEarNUd0Y9FAwcQyzZD2/qhSMemP2499G5xgafZd1M/s8fA2+C24587
pYoLnpH943x4Hi790FP9mqf6Vg41ygmK770DowBQQmxfVNo09+wGvfmFOLuvryiB
115BNt61yBh7bLhekzLimsRMRsOS+pUAu3q9wpWLbG8Ed24mYHKzhifLZavOZSrT
8rcPOa3sere+MoJG6kToysJQ+2pXQZvmZqzV+PZKgVOEefeUD+Bf2bf+l5Fb7jgF
KNG7q/8vdUhJXd6eqIr6KkGrdMWknwtojNZSYTo+Poq9wFWsWiVFHV3q9pnwqMVA
fqexOU1jpponxHA763ZIoFc30z/yqGH38eKou9LaQ1V6wWn+EBkihf7t07pXVYRJ
6G8PYGJgxRb36tJTI1gPzmMl8vc3/CohmgaIvQ41bYpgnMaRjOwyUSKTcJg3hVcZ
1ZmJUpGmmFqa80pLrlDK
=eGPi
-----END PGP SIGNATURE-----