Hi Paolo,

Thanks for your response.  I agree that Pedro Sanchez, author of
<http://www.pmacct.net/docs/cacti.html> is difficult to reach five
years after he wrote the paper.

Kind regards/ldv

On Fri, Aug 13, 2010 at 5:47 AM, Paolo Lucente <[email protected]> wrote:
> Hi Larry,
>
> Wanted just to say briefly the best person to support you is the author
> of that document (which btw is not on this list and not really reachable
> recently). I can't help you with that as i'm not too much into Cacti and
> pmacct seems to return expected results.
>
> I'm certainly available to collect feedback on that document and edit it
> accordingly. Perhaps is an idea to move it to the wiki so that everybody
> is potentially able to modify it.
>
> Cheers,
> Paolo
>
>
> On Thu, Aug 12, 2010 at 09:39:38AM -0500, Larry Vaden wrote:
>> First, thanks for the great software.
>>
>> 2nd, feel free to direct me to another list if that should be the case.
>>
>> Following the example at <http://www.pmacct.net/docs/cacti.html>, the
>> result is the infamous RED X (missing file) rather than the expected
>> graph.
>>
>> Centos 4.8, up to date, using pmacct-0.12.3 and cacti-0.8.7.e (g won't
>> run at the moment on CentOS 4.8).
>>
>> nfacctd is started with (as root)
>>
>> /usr/local/sbin/nfacctd -f /usr/local/etc/pmacctd.conf
>>
>> and the contents of /usr/local/etc/pmacctd.conf follow at the end of this 
>> post.
>>
>> The permission on the /tmp/in.pipe and /tmp/out.pipe are as follows
>>
>> [r...@saguaro cacti]# ls -l /tmp
>> total 16
>> drwxr-xr-x  3 root   root   4096 Aug  6 12:27 cactiupgrade
>> srwxrwxrwx  1 root   root      0 Aug 12 09:18 in.pipe
>> srwxrwxrwx  1 root   root      0 Aug 12 09:18 out.pipe
>>
>>
>> 'pmacct -s -p /tmp/in.pipe' and 'pmacct -s -p /tmp/out.pipe' return
>> the expected results when run as root.
>>
>> [cactiu...@saguaro ~]$ pmacct -s -p /tmp/in.pipe
>>
>> and
>>
>> [cactiu...@saguaro ~]$ pmacct -s -p /tmp/out.pipe
>>
>> and (after 'su - apache')
>>
>> -bash-3.00$ pmacct -s -p /tmp/in.pipe
>>
>> and
>>
>> -bash-3.00$ pmacct -s -p /tmp/out.pipe
>>
>> produce the expected results.
>>
>> There is no sign of the expected files in /var/www/html/cacti/rra:
>>
>> [r...@saguaro cacti]# ls -l /var/www/html/cacti/rra/localhost*
>> -rw-r--r--  1 cactiuser apache 3651280 Aug 12 09:30
>> /var/www/html/cacti/rra/localhost_load_1min_5.rrd
>> -rw-r--r--  1 cactiuser apache 1218368 Aug 12 09:30
>> /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd
>> -rw-r--r--  1 cactiuser apache 1218368 Aug 12 09:30
>> /var/www/html/cacti/rra/localhost_mem_swap_4.rrd
>> -rw-r--r--  1 cactiuser apache 1218368 Aug 12 09:30
>> /var/www/html/cacti/rra/localhost_proc_7.rrd
>> -rw-r--r--  1 cactiuser apache 8517104 Aug  6 12:20
>> /var/www/html/cacti/rra/localhost_rrdsprocessed_8.rrd
>> -rw-r--r--  1 cactiuser apache 2434824 Aug  6 12:20
>> /var/www/html/cacti/rra/localhost_total_9.rrd
>> -rw-r--r--  1 cactiuser apache 1218368 Aug 12 09:30
>> /var/www/html/cacti/rra/localhost_users_6.rrd
>> [r...@saguaro cacti]#
>>
>> The contents of /usr/local/etc/pmacctd.conf:
>>
>> [r...@saguaro cacti]# cat /usr/local/etc/pmacctd.conf
>> !
>> ! pmacct: In + Out
>> !
>> debug: false
>> daemonize: true
>> interface: eth0
>> plugin_buffer_size: 2048
>> plugin_pipe_size: 2048000
>> networks_file: /usr/local/etc/networks.def
>> ! temporarily remove mysql from plugins:
>> plugins: memory[in], memory[out]
>> aggregate[in]: dst_net
>> aggregate[out]: src_net
>> imt_path[in]: /tmp/in.pipe
>> imt_path[out]: /tmp/out.pipe
>> !
>> nfacctd_port: 2055
>> !
>> sql_db: pmacct
>> sql_table: acct
>> sql_table_version: 7
>> sql_passwd: redacted
>> sql_user: pmacct
>> ! from wiki OfficialExamples for sql optimization
>> sql_refresh_time: 300
>> sql_history: 5m
>> sql_history_roundoff: m
>> sql_dont_try_update: true
>>
>> Again, thanks for a great software!
>>
>> Kind regards/ldv
>>
>> Larry Vaden
>> Internet Texoma, Inc.
>> Serving Rural Texomaland Since 1995
>> We Care About Your Connection!
>>
>> _______________________________________________
>> pmacct-discussion mailing list
>> http://www.pmacct.net/#mailinglists
>
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists
>

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to