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    


Need help installing

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
mbalcerak



Joined: 08 Jul 2008
Posts: 6

PostPosted: Tue Jul 08, 2008 9:39 am    Post subject: Need help installing Reply with quote

i am currently using cacti 0.8.7b and I'm trying to install weathermap and cannot figure it out, cacti is installed in /usr/local/cacti under fedora 9 and weathermap is extracted to /usr/local/cacti/plugins/weathermap

however i cannot figure out how to make the tab show up next to the graphs tab inc cacti, please help!!
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Tue Jul 08, 2008 9:52 am    Post subject: Reply with quote

Did you read the installation instructions?

especially the part about the monkey.
Back to top
mbalcerak



Joined: 08 Jul 2008
Posts: 6

PostPosted: Tue Jul 08, 2008 10:15 am    Post subject: Reply with quote

uh ... no
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Tue Jul 08, 2008 10:43 am    Post subject: Reply with quote

Then read the installation instructions. That's why I wrote them.

There isn't really a monkey part.
Back to top
mbalcerak



Joined: 08 Jul 2008
Posts: 6

PostPosted: Tue Jul 08, 2008 12:24 pm    Post subject: Reply with quote

where are they located i can't seem to find them...
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Tue Jul 08, 2008 12:47 pm    Post subject: Reply with quote

mbalcerak wrote:
where are they located i can't seem to find them...


In the docs directory, or on the website.
Back to top
mbalcerak



Joined: 08 Jul 2008
Posts: 6

PostPosted: Tue Jul 08, 2008 2:39 pm    Post subject: Reply with quote

i finally got php-gd installed and everything in in the check.php looks good, but i keep getting this error:

Code:
php ./weathermap --config myconfigfile.conf --output mymap.png --htmloutput mymap.html
PHP Warning:  require_once(Console/Getopt.php): failed to open stream: No such file or directory in /usr/local/cacti/plugins/weathermap/weathermap on line 8
PHP Fatal error:  require_once(): Failed opening required 'Console/Getopt.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/cacti/plugins/weathermap/weathermap on line 8


line 8 looks like this btw:

Code:
require_once 'Console/Getopt.php';
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Tue Jul 08, 2008 3:44 pm    Post subject: Reply with quote

OK - this bit might not be in the manual.

You need to install PEAR, which is PHP's standard library. On most OS, it's part of PHP. I guess on fedora it isn't. The RPM will be called something like php-pear or just pear. (looks like it's php-pear).

I'll make sure that's in the next version. For what it's worth, you only actually need it for the command-line version, not for the cacti plugin.
Back to top
mbalcerak



Joined: 08 Jul 2008
Posts: 6

PostPosted: Wed Jul 09, 2008 7:48 am    Post subject: Reply with quote

when i try i add the

Code:
$plugins = array();
$plugins[] = 'monitor';
$plugins[] = 'weathermap';


to the config.php and global.php it does nothing.

how can i make the weathermap tab showup in cacti?

installing php-pear fixed the other problem though, thanks!!
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Wed Jul 09, 2008 7:55 am    Post subject: Reply with quote

if you added the "$plugins = array()" part too, that sounds like you haven't installed the plugin architecture.
Back to top
mbalcerak



Joined: 08 Jul 2008
Posts: 6

PostPosted: Wed Jul 09, 2008 8:55 am    Post subject: Reply with quote

also a bigger problem at the moment, the date on the system was incorrect, now that its current it doesn't want to run the poller anymore, any idea how to fix it?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group