|
|
| Author |
Message |
pxk
Joined: 10 Sep 2006 Posts: 15
|
Posted: Thu Sep 21, 2006 8:31 pm Post subject: 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. |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 946 Location: B/CS Texas
|
Posted: Thu Sep 21, 2006 10:04 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
pxk
Joined: 10 Sep 2006 Posts: 15
|
Posted: Tue Sep 26, 2006 1:15 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 946 Location: B/CS Texas
|
Posted: Tue Sep 26, 2006 6:43 pm Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
pxk
Joined: 10 Sep 2006 Posts: 15
|
Posted: Tue Sep 26, 2006 7:02 pm Post subject: |
|
|
| Quote: | | 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. |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 946 Location: B/CS Texas
|
Posted: Tue Sep 26, 2006 7:48 pm Post subject: |
|
|
| pxk wrote: | | Quote: | | 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? |
|
| Back to top |
|
 |
pxk
Joined: 10 Sep 2006 Posts: 15
|
Posted: Tue Sep 26, 2006 8:44 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
pxk
Joined: 10 Sep 2006 Posts: 15
|
Posted: Tue Sep 26, 2006 9:14 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 946 Location: B/CS Texas
|
Posted: Wed Sep 27, 2006 11:07 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
pxk
Joined: 10 Sep 2006 Posts: 15
|
Posted: Thu Sep 28, 2006 5:56 pm Post subject: |
|
|
| Quote: | 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? |
|
| Back to top |
|
 |
pxk
Joined: 10 Sep 2006 Posts: 15
|
Posted: Thu Sep 28, 2006 6:32 pm Post subject: |
|
|
cigamit, I removed *everything* and reisntalled everything, now I see it.
Thanks. |
|
| Back to top |
|
 |
|