When I updated my cron and cacti's php path to run php from /usr/local/bin
my graphs weren't updating. When I ran php 5.2.5
/usr/local/bin/php /var/www/cacti/htdocs/poller.php
manually it exited immediately, but when I ran the older 4.x version
/usr/bin/php /var/www/cacti/htdocs/poller.php
It stayed running as it's supposed to.
Any obvious reasons why using php 5.2.5 appears to break things? I ran php
with as many debug options as I could find available from the command-line,
but nothing fruitful came of it.
Frank
-----Original Message-----
From: cacti-user-bounces@...
[mailto:cacti-user-bounces@...] On Behalf Of Frank Bulk -
iNAME
Sent: Friday, March 14, 2008 10:40 PM
To: 'Larry Adams'; Support requests/questions about cacti
Subject: Re: [cacti-user] Device page doesn't generate fully when interface
query is incomplete
Larry:
Thanks for the advice. I doubled the php.ini from 30 to 60, downloaded and
compiled PHP 5.2.5 and changed cacti's config to look at the new binary, but
the device still doesn't fully list out on the page.
Is there any way to manually run an interface query from the CLI? Any other
suggestions?
Frank
-----Original Message-----
From: Larry Adams [mailto:larryjadams@...]
Sent: Friday, March 14, 2008 8:42 PM
To: frnkblk@...; Support requests/questions about cacti
Subject: Re: [cacti-user] Device page doesn't generate fully when interface
query is incomplete
Edit /etc/php.ini and look for memory_limit. Next to it there is a
connection timeout. Increase that value. I think the PHP guys limit to
30 seconds by default. For that many interfaces, you need more time.
You should also be working with PHP 5.1++ and using SNMPv2 as it will be
"MUCH" faster.
TheWitness
Frank Bulk wrote:
> I tried to refresh the interface list of our BRAS which has about ~2500
> connections because there are so many Virtual-Access interfaces. Well,
this
> time the web page timed out, and now when I visit the device page, it
> doesn't generate fully:
> http://www.mtcnet.net/~fbulk/cacti-host.jpg
>
> I replicated the problem by creating a new device with the same IP, but
> wrong community string. The device was created well. Then I corrected
the
> community string, saved it, and then re-visited the device and queried all
> the interfaces. After about 60 to 120 seconds the page came up blank, and
> the same problem as the original host.
>
> Am I coming up against a certain timeout? How do I extract myself from
this
> state, where I can't even hit the device to requery the interfaces?
>
> Frank
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> cacti-user mailing list
> cacti-user@...
> https://lists.sourceforge.net/lists/listinfo/cacti-user
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
cacti-user mailing list
cacti-user@...
https://lists.sourceforge.net/lists/listinfo/cacti-user
|