haloe 0.4.0
Moderators: Developers, Moderators
haloe 0.4.0
Can someone tell me where you are meant to put haloe 0.4.0, as putthing it in the /plugins dierctory doesn't work.
I'm using cacti-0.8.6h and running the plugins monitor and thold happily, but haloe seems to be point to wrong directories.
Any information is welcome.
I'm using cacti-0.8.6h and running the plugins monitor and thold happily, but haloe seems to be point to wrong directories.
Any information is welcome.
I followed the instructions, just like the other two pluggins. They worked, however haloe seems to have broken paths.
If I'm in monitor for example, then click on the haloe link (yes link, the graphic can't be found to be displayed), it complains it can't find the path *from withing* the monitor directory. I had similar problems with the other two plugins till I realised I patched them with the wrong version, I used 6g rather than 6h.
I hope this helps. I don't know what other info to include, short of screen shots.
If I'm in monitor for example, then click on the haloe link (yes link, the graphic can't be found to be displayed), it complains it can't find the path *from withing* the monitor directory. I had similar problems with the other two plugins till I realised I patched them with the wrong version, I used 6g rather than 6h.
I hope this helps. I don't know what other info to include, short of screen shots.
What value do you have in your includes/config.php for $config['url_path'] and what do url (block out the domain) do you use to access Cacti. Also, what does the link point to when it is broken?pxk wrote:I followed the instructions, just like the other two pluggins. They worked, however haloe seems to have broken paths.
If I'm in monitor for example, then click on the haloe link (yes link, the graphic can't be found to be displayed), it complains it can't find the path *from withing* the monitor directory. I had similar problems with the other two plugins till I realised I patched them with the wrong version, I used 6g rather than 6h.
I hope this helps. I don't know what other info to include, short of screen shots.
$config["url_path"] = '/cacti/';What value do you have in your includes/config.php for $config['url_path'] and what do url (block out the domain) do you use to access Cacti. Also, what does the link point to when it is broken?
http://XXXXXX/cacti/index.php
This should be ok, every other plugin seems to work.
Also, what does the link point to when it is broken?pxk wrote:$config["url_path"] = '/cacti/';What value do you have in your includes/config.php for $config['url_path'] and what do url (block out the domain) do you use to access Cacti. Also, what does the link point to when it is broken?
http://XXXXXX/cacti/index.php
This should be ok, every other plugin seems to work.
That depends from where I click on the link (remember, it's only a link that shows up and not the tab graphic).
From the Console tab, I get: The requested URL /cacti/haloe.php was not found on this server.
From Graphs:The requested URL /cacti/haloe.php was not found on this server.
From Threshold: The requested URL /cacti/plugins/thold/haloe.php was not found on this server.
From Monitor: The requested URL /cacti/plugins/monitor/haloe.php was not found on this server.
From Discovery: The requested URL /cacti/plugins/discovery/haloe.php was not found on this server.
From the Console tab, I get: The requested URL /cacti/haloe.php was not found on this server.
From Graphs:The requested URL /cacti/haloe.php was not found on this server.
From Threshold: The requested URL /cacti/plugins/thold/haloe.php was not found on this server.
From Monitor: The requested URL /cacti/plugins/monitor/haloe.php was not found on this server.
From Discovery: The requested URL /cacti/plugins/discovery/haloe.php was not found on this server.
I think it's a problem with this part of the installation instructions.
3. -- This step adds a new syslog tab to the cacti pages --
3.a
open: top_header.php
find line beginning with: <a href="index.php"><img src="images/tab_console.gif" alt="Console" align="absmiddle" border="0"></a>
at end of line add:
<a href="haloe.php"><img src="images/tab_haloe.gif" alt="h.aloe syslogs" align="absmiddle" border="0"></a>
3.b
open: top_graph_header.php
find line beginning with: <?php if ($show_console_tab == true) {?><a href="index.php">
at end of line, before add:
<a href="haloe.php"><img src="images/tab_haloe.gif" alt="h.aloe syslogs" align="absmiddle" border="0"></a>
It seems it's written for 8.6g, I have 8.6h, hence the initial question of whether it works with that version or not.
My files don't contain lines *exactly* the same as the search listed above.
It looks like this:
<a href="<?php echo $config['url_path']; ?>index.php"><img src="<?php echo $config['url_path'];
?>images/tab_console.gif" alt="Console" align="absmiddle" border="0"></a><a href="<?php echo $config['url_path']; ?>graph_view.php"><img src="<?php echo $co
nfig['url_path']; ?>images/tab_graphs.gif" alt="Console" align="absmiddle" border="0"></a><a href="haloe.php"><img src="images/tab_haloe.gif" alt="h.aloe sys
logs" align="absmiddle" border="0"></a><?php
3. -- This step adds a new syslog tab to the cacti pages --
3.a
open: top_header.php
find line beginning with: <a href="index.php"><img src="images/tab_console.gif" alt="Console" align="absmiddle" border="0"></a>
at end of line add:
<a href="haloe.php"><img src="images/tab_haloe.gif" alt="h.aloe syslogs" align="absmiddle" border="0"></a>
3.b
open: top_graph_header.php
find line beginning with: <?php if ($show_console_tab == true) {?><a href="index.php">
at end of line, before add:
<a href="haloe.php"><img src="images/tab_haloe.gif" alt="h.aloe syslogs" align="absmiddle" border="0"></a>
It seems it's written for 8.6g, I have 8.6h, hence the initial question of whether it works with that version or not.
My files don't contain lines *exactly* the same as the search listed above.
It looks like this:
<a href="<?php echo $config['url_path']; ?>index.php"><img src="<?php echo $config['url_path'];
?>images/tab_console.gif" alt="Console" align="absmiddle" border="0"></a><a href="<?php echo $config['url_path']; ?>graph_view.php"><img src="<?php echo $co
nfig['url_path']; ?>images/tab_graphs.gif" alt="Console" align="absmiddle" border="0"></a><a href="haloe.php"><img src="images/tab_haloe.gif" alt="h.aloe sys
logs" align="absmiddle" border="0"></a><?php
Ah, there's the problem, you shouldn't be using those instructions at all, since the plugin doesn't require any modifications to Cacti work, that was the old "non-plugin" instructions. Seems I need to remove them.
Remove the code you added, and make sure your user has access to view the tab (Cacti permissions) and it should show up just fine.
Remove the code you added, and make sure your user has access to view the tab (Cacti permissions) and it should show up just fine.
Hmmm, now I don't see anything anywhere. Do I have to check a box somewhere?Ah, there's the problem, you shouldn't be using those instructions at all, since the plugin doesn't require any modifications to Cacti work, that was the old "non-plugin" instructions. Seems I need to remove them.
Remove the code you added, and make sure your user has access to view the tab (Cacti permissions) and it should show up just fine.
Who is online
Users browsing this forum: No registered users and 3 guests