Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


haloe 0.4.0

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
pxk



Joined: 10 Sep 2006
Posts: 15

PostPosted: Thu Sep 21, 2006 8:31 pm    Post subject: haloe 0.4.0 Reply with quote

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

PostPosted: Thu Sep 21, 2006 10:04 pm    Post subject: Reply with quote

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

PostPosted: Tue Sep 26, 2006 1:15 am    Post subject: Reply with quote

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

PostPosted: Tue Sep 26, 2006 6:43 pm    Post subject: Reply with quote

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

PostPosted: Tue Sep 26, 2006 7:02 pm    Post subject: Reply with quote

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

PostPosted: Tue Sep 26, 2006 7:48 pm    Post subject: Reply with quote

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

PostPosted: Tue Sep 26, 2006 8:44 pm    Post subject: Reply with quote

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

PostPosted: Tue Sep 26, 2006 9:14 pm    Post subject: Reply with quote

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
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Wed Sep 27, 2006 11:07 pm    Post subject: Reply with 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.
Back to top
pxk



Joined: 10 Sep 2006
Posts: 15

PostPosted: Thu Sep 28, 2006 5:56 pm    Post subject: Reply with quote

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

PostPosted: Thu Sep 28, 2006 6:32 pm    Post subject: Reply with quote

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

Thanks.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group