Code: Select all
header("Content-Type: text/html; charset=\"UTF-8\"");
Code: Select all
ob_start();
Moderators: Developers, Moderators
Code: Select all
header("Content-Type: text/html; charset=\"UTF-8\"");
Code: Select all
ob_start();
zoemu wrote:I also have problem with realtime on windows cacti installation. The Image is broken and when I try to run the image URL
http://cactiserver/cacti/plugins/realti ... 1255630915
I get 0 on the browser.
It's version 4.0 and brand new plugin install..al folders have permissions
Please PM your full files.shd wrote:Here's one little addition to Realtime 0.4 for it to work with Microsoft Internet Explorer 7.x and 8.x. Addto the file graph_ajax_rt.php after lineCode: Select all
header("Content-Type: text/html; charset="UTF-8"");
Internet Explorer is sensitive to the codepage of AJAX response.Code: Select all
ob_start();
Code: Select all
ERROR: opening '/usr/local/share/cacti/cache/realtime_29_5.rrd': No such file or directory, referer: http://xxx.xxx.xx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=20
Code: Select all
/usr/local/bin/php plugins/realtime/poller_rt.php --graph=9 --interval=15
That looks like a permission issue. The www user needs full perms to the cache folder.nl0pvm wrote:Hi,
I'm running the 0.40 version or the realtime plugin now and still have got the "no rrd is created issue" my httpd_error.log shows me:
I've tried running theCode: Select all
ERROR: opening '/usr/local/share/cacti/cache/realtime_29_5.rrd': No such file or directory, referer: http://xxx.xxx.xx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=20
command manually and that does work (when ran from the /usr/local/share/cacti directory as the www user (using su -m www). That does work suddenly an rrd is created and a graph is visualised and even updated with data when i run the command multiple times. Though (with the popup still open) the www user runs the command continuously but data is never added. Could this be a "environment variables issue"? (and how to debug this further?Code: Select all
/usr/local/bin/php plugins/realtime/poller_rt.php --graph=9 --interval=15
Hi,TheWitness wrote:Might be FreeBSD's security. It's know to be pretty tight. If you can get with N3NCY. He's the expert.
TheWitness
Code: Select all
/* do NOT run this script through a web browser */
if (!isset($_SERVER["argv"][0]) || isset($_SERVER['REQUEST_METHOD']) || isset($_SERVER['REMOTE_ADDR'])) {
die("<br><strong>This script is only meant to run at the command line.</strong>");
}
Code: Select all
die()
Code: Select all
error_log('text',0);
I did what yu suggested, but I'm Still getting the same problem. A broken Image. I get the same proble with IE7,8 and Firefox...TheWitness wrote:Please PM your full files.shd wrote:Here's one little addition to Realtime 0.4 for it to work with Microsoft Internet Explorer 7.x and 8.x. Addto the file graph_ajax_rt.php after lineCode: Select all
header("Content-Type: text/html; charset="UTF-8"");
Internet Explorer is sensitive to the codepage of AJAX response.Code: Select all
ob_start();
Thanks,
TheWitness
Code: Select all
SNMP Version At line 1 in (none) Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
Users browsing this forum: No registered users and 0 guests