[bdNOG] CACTI Graph Issue
Mohammad Shahjahan
bunty.ctg at hotmail.com
Sat Dec 12 12:57:30 BDT 2015
Dear Sir,
Yes it just showing zero data but GUI graph is showing.
I have configured cronjob as below
# vi /etc/cron.d/cacti
#*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1
--------------------------------------------------------
Engr. Mohammad Shahjahan
Member of Institute of Engineer Bangladesh
Membership Number: M/31195
Chittagong, Bangladesh
Contact Information: +8801752789798
--------------------------------------------------------
From: me at anuragbhatia.com
Date: Sat, 12 Dec 2015 12:22:56 +0530
Subject: Re: [bdNOG] CACTI Graph Issue
To: bunty.ctg at hotmail.com
CC: nog at bdnog.org
This means it is OK and able to fetch data.
What exactly you see in graphs - just blank graphs? If so, please ensure that you have cronjob configured to do polling every 5mins or so.
On Sat, Dec 12, 2015 at 12:17 PM, Mohammad Shahjahan <bunty.ctg at hotmail.com> wrote:
Dear Sir,
For specific interface i have got the following log:
RRDTool Command:
/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='SHAHJAHAN-DESK - Traffic - Po1' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti/rra/shahjahan-desk_traffic_in_27.rrd':'traffic_in':AVERAGE \
DEF:b='/usr/share/cacti/rra/shahjahan-desk_traffic_in_27.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdefe#002A97FF:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDTool Says:
OK
--------------------------------------------------------
Engr. Mohammad Shahjahan
Member of Institute of Engineer Bangladesh
Membership Number: M/31195
Chittagong, Bangladesh
Contact Information: +8801752789798
--------------------------------------------------------
From: me at anuragbhatia.com
Date: Sat, 12 Dec 2015 12:14:01 +0530
Subject: Re: [bdNOG] CACTI Graph Issue
To: bunty.ctg at hotmail.com
CC: nog at bdnog.org
Dear Mohammad
You can try opening Console > Graph Management > select any graph which is failing.
Next, click on "debug graph" on top right and that should give you basic idea on why it's failing.
On Sat, Dec 12, 2015 at 12:09 PM, Mohammad Shahjahan <bunty.ctg at hotmail.com> wrote:
Dear Brother,
I have configured cacti server in CentOS 7 without any error. But i am not able to see any graph result.
I need your help.
Thank you so much in advanced.
--------------------------------------------------------
Engr. Mohammad Shahjahan
Member of Institute of Engineer Bangladesh
Membership Number: M/31195
Chittagong, Bangladesh
Contact Information: +8801752789798
--------------------------------------------------------
_______________________________________________
nog mailing list
nog at bdnog.org
http://mailman.bdnog.org/mailman/listinfo/nog
--
Anurag Bhatia
anuragbhatia.com
PGP Key Fingerprint: 3115 677D 2E94 B696 651B 870C C06D D524 245E 58E2
--
Anurag Bhatia
anuragbhatia.com
PGP Key Fingerprint: 3115 677D 2E94 B696 651B 870C C06D D524 245E 58E2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bdnog.org/pipermail/nog/attachments/20151212/6d5cd40c/attachment.html>
More information about the nog
mailing list