Hi, I have seen a couple of posts regarding FreeBSD and Cacti, but not a whole hell of a lot of response. Is there a inherent problem with FreeBSD and Cacti that is preventing it from working? Are there aditional packages or compatibility binaries/libraries that are required?
My Installation includes:
UCD-snmp version: 4.2.6
PHP 4.3.0 (cli) (built: Jan 8 2003 12:36:07)
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
Perl 5.005_03 built for i386-freebsd
Cacti 0.6.8a
FreeBSD 4.7-RELEASE
Problems with FreeBSD
Moderators: Developers, Moderators
Specifics?
It would help out a lot if you could provide specifics as to what sort of a problem you are having.
yes, this would be so I missed that part but I determined what my problem was.
The problem was that the graphs were not updating from cron, but were from the command line. It appears as though the working directory wasn't matching the required directory for the includes in cmd.php.
Basically I created a script that was run from cron instead containing the suggested cron entry preceded by cd <working directory>, and it hasn't failed since.
#/bin/bash
cd /usr/home/httpd/html/cacti
/usr/local/bin/php /usr/home/httpd/html/cacti/cmd.php
As a suggestion, have the includes be something like:
include("$base_path/include/config.php");
The problem was that the graphs were not updating from cron, but were from the command line. It appears as though the working directory wasn't matching the required directory for the includes in cmd.php.
Basically I created a script that was run from cron instead containing the suggested cron entry preceded by cd <working directory>, and it hasn't failed since.
#/bin/bash
cd /usr/home/httpd/html/cacti
/usr/local/bin/php /usr/home/httpd/html/cacti/cmd.php
As a suggestion, have the includes be something like:
include("$base_path/include/config.php");
Anybody add "FreeBSD Stats Grabber" (http://www.raxnet.net/downloads/scripts ... ats.pl.txt) to Cacti?
Who is online
Users browsing this forum: No registered users and 0 guests