haloe 0.4.0

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
pxk
Posts: 15
Joined: Sun Sep 10, 2006 11:19 pm

haloe 0.4.0

Post by pxk »

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.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

The folder /plugins/haloe/ is correct.

What isn't working? Did you give yourself permissions (in Cacti) to view the plugin? Did you import the SQL file? More information is needed before we can help you.
pxk
Posts: 15
Joined: Sun Sep 10, 2006 11:19 pm

Post by pxk »

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.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

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.
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
Posts: 15
Joined: Sun Sep 10, 2006 11:19 pm

Post by pxk »

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?
$config["url_path"] = '/cacti/';

http://XXXXXX/cacti/index.php

This should be ok, every other plugin seems to work.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

pxk wrote:
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?
$config["url_path"] = '/cacti/';

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
Posts: 15
Joined: Sun Sep 10, 2006 11:19 pm

Post by pxk »

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.
pxk
Posts: 15
Joined: Sun Sep 10, 2006 11:19 pm

Post by pxk »

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: &nbsp;<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: &nbsp;<?php if ($show_console_tab == true) {?><a href="index.php">
at end of line, before &nbsp; 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:

&nbsp;<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
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

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.
pxk
Posts: 15
Joined: Sun Sep 10, 2006 11:19 pm

Post by pxk »

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.
Hmmm, now I don't see anything anywhere. Do I have to check a box somewhere?
pxk
Posts: 15
Joined: Sun Sep 10, 2006 11:19 pm

Post by pxk »

cigamit, I removed *everything* and reisntalled everything, now I see it.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests