[afnog] Cacti not graphing
Christiana Toluwanimi Olayinka
titoluwanimi at yahoo.com
Mon Feb 16 17:03:57 UTC 2009
Hi Catalin,
Thanx so much for the manual. I had to reinstall using the manual and I could now view my graph.
Cheers,
---------------------------
Christiana T. Olayinka
Tel:+234-2-8105156
08062209650
--- On Thu, 2/12/09, Catalin Miclaus <catalin at starcomms.com> wrote:
From: Catalin Miclaus <catalin at starcomms.com>
Subject: RE: [afnog] Cacti not graphing
To: titoluwanimi at yahoo.com
Cc: afnog at afnog.org, "Peter Koinange" <peter.koinange at ke.wananchi.com>
Date: Thursday, February 12, 2009, 2:30 AM
Dear Christiana,
I would recommend using below how-to for Cacti.
http://www.nmsworld.com/UNIX/Cacti.htm
Best Regards
Catalin Miclaus
ISP-Data Ops.
Starcomms Ltd.
Mobile:+234-702-800-0733
Email : catalin at starcomms.com
Web : www.starcomms.com
From: afnog-bounces at afnog.org [mailto:afnog-bounces at afnog.org] On Behalf Of Christiana Toluwanimi Olayinka
Sent: Thursday, February 12, 2009 11:03 AM
To: Peter Koinange
Cc: afnog at afnog.org
Subject: Re: [afnog] Cacti not graphing
Hi Peter,
I did a fresh install of cacti from the port.
I have confirmed that the cron is working. The error as shown in the mail to root is pasted below:
Subject: Cron <root at yaba> cacti /usr/local/bin/php /usr/local/share/cacti/poller.php > /dev/null 2>&1
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
cacti: not found
I tried to adduser cacti on the freebsd machine but it complained that the login name cacti exit.
What can I do?
Cheers,
---------------------------
Christiana T. Olayinka
Tel:+234-2-8105156
08062209650
--- On Fri, 2/6/09, Peter Koinange <peter.koinange at ke.wananchi.com> wrote:
From: Peter Koinange <peter.koinange at ke.wananchi.com>
Subject: Re: [afnog] Cacti not graphing
To: titoluwanimi at yahoo.com
Date: Friday, February 6, 2009, 4:36 AMTry this */5 * * * * cactiuser /usr/local/bin/php >/usr/local/www/apache22/data/cacti/poller.php remove the > /dev/null 2>&1 at the end and wait 10 minutes, lok atthe mail sent too use root is there are any error the mail will list them k ----- "Christiana Toluwanimi Olayinka" <titoluwanimi at yahoo.com>wrote: > Pardon me. I forgot to mention earlier that I deinstall my port> installation and reinstalled cacti into the document root.> > > > Cheers,> ---------------------------> Christiana T. Olayinka> Tel:+234-2-8105156> 08062209650> > --- On Fri, 2/6/09, Peter Koinange <peter.koinange at ke.wananchi.com>> wrote:> > > From: Peter Koinange <peter.koinange at ke.wananchi.com>> Subject: Re: [afnog] Cacti not graphing> To: titoluwanimi at yahoo.com> Date: Friday, February 6, 2009, 3:48 AM> > Christina> > your /etc/crontab shoud be> > */5 * * * * cactiuser /usr/local/bin/php>
/usr/local/share/cacti/poller.php> > /dev/null 2>&1> > > Peter> > ----- "Christiana Toluwanimi Olayinka"<titoluwanimi at yahoo.com>> wrote:> > > Patrick,> >> > My border is that the cron job for poller.php does not seem to be> > working. I set the cron as root. The entry in my /etc/crontab is> > pasted> > below:> >> > */5 * * * * cactiuser /usr/local/bin/php> > /usr/local/www/apache22/data/cacti/poller.php > /dev/null2>&1> >> > How may I get it runing?> >> >> > Cheers,> > ---------------------------> > Christiana T. Olayinka> > Tel:+234-2-8105156> > 08062209650> >> > --- On Thu, 2/5/09, Patrick Okui <pokui at psg.com> wrote:> >> >> > From: Patrick Okui <pokui at psg.com>> > Subject: Re: [afnog] Cacti not graphing> > To: "Christiana Toluwanimi Olayinka"> <titoluwanimi at yahoo.com>> > Cc: afnog at afnog.org> > Date: Thursday, February 5, 2009, 10:28 PM> >> > Good morning Christiana,> >> > Please keep afnog@ cc'ed.> >> > On 2/6/09 6:16 AM, Christiana Toluwanimi
Olayinka wrote:> > > Patrick sorry i have t revisit this subject.> > >> > > My findings:> > >> > > 1. When I manually do> > > /usr/local/bin/php /usr/local/share/cacti/poller.php --debug> --force> > > The output is as pasted below:> > >> > > 02/05/2009 11:20:33 PM - POLLER: Poller[0] WARNING: Cron is outof> > sync> > > with the Poller Interval! The Poller Interval is '300'> seconds,> > with> > a> > > maximum of a '300' second Cron, but 1443 seconds havepassed> since> > the> > > last poll!> > > OK u:0.00 s:0.01 r:0.99> > > OK u:0.00 s:0.01 r:1.00> > > 02/05/2009 11:20:34 PM - SYSTEM STATS: Time:1.1347Method:cmd.php> > > Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:4> > > RRDsProcessed:2> > >> > > 2. When I manually do as in (1) above, the *.rrd file is created> but> > I> > > could only view an empty graph. This does not have to do withbad> > smnp> > > data source as I have tried for several other devices.> >> >> > Graph data will
remain blank for at least two runs of the poller> over> > the poller interval. If your cron job is fine, then just check the> > graphs after 15min.> >> >> > > What do u think I can do. I want to make reinstallation my last> > resort> > >> > > Cheers,> >> >> > --> > patrick.> >> >> > _______________________________________________> > afnog mailing list> > http://afnog.org/mailman/listinfo/afnog
DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any form of dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited if you are not the intended recipient of this e-mail. Please note that e-mails are susceptible to change. STARCOMMS PLC shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. STARCOMMS PLC does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. STARCOMMS PLC reserves the right to monitor all e-mail communications, whether related to the
business of STARCOMMS or not, through its internal or external networks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20090216/e21e5e63/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 22034 bytes
Desc: image001.png
URL: <http://afnog.org/pipermail/afnog/attachments/20090216/e21e5e63/attachment-0001.png>
More information about the afnog
mailing list