smokeping on slackware
Hi forum,
I am creeping slowly into dependency hell with slack' trying to install smokeping. it looks horribly like I may be forced to use another dist (Ubuntu?) so I can set up a smokeping server and a cgi web interface - any experience/help in getting slackware to support this is appreciated. I have tried cpan to get modules installed too, to no avail. http://oss.oetiker.ch/smokeping/doc/...nstall.en.html Also smokeping homepage Code:
.... |
This is not really a Slackware dependency; it's a Perl modules issue.
Installing the necessary Perl modules with CPAN should work: Code:
~# perl -MCPAN -e shell Code:
install FCGI As for RRDTool, the main site is here. It's a (relatively) simple matter of downloading the source and running ./configure && make && make install. This should work (again, you will need to be root to perform the final install step): Code:
cd /usr/src |
There is a slackbuild for rrdtool, also you can use sbopkg if you like.
|
Thanks for the explain' RE: the difference of dependencies and perl modules. I have built and installed smokeping and now config'ing. Will mark as solved once I have cgi up and tested. Thanks.
|
I have config'ed using smokeping homepage guide, then several others via google search etc;
I am getting a 403 forbidden when trying to browse to the url I have added to the apache alias (in this instance, http://127.0.1.1/smokeping) Any experience on this forum? - searches yield distribution specific threads on other forums but do not work when followed??? even as (web browser) root it fails with 403 forbidden? |
The user starting the web browser is not relevant, as the HTTP request is not authenticated.
The web browser contacts the web server (apache), which in turn tries to access and serve the files from the relevant directory. Apache on Slackware runs as the "apache" user. Does this user have access to the Smokeping files? |
I have 'chown -R apache.apache /path/to/smokeping/data'
and 'chown -R apache.apache /opt/smokeping/' restarted servers/daemons but still getting the 403 |
Is smokeping (I have never used it) a perl script using apache's mod_perl?
If yes, the latest mod_perl isn't compatible yet with httpd-2.4.x in slackware >= 14.0, supposing you're using that (we talked a little about it here in the forum), so you have to rebuild yourself httpd-2.2.x and then mod_perl. |
smokeping uses (fast)CGI (smokeping_cgi)for its' (SmokePing) webfrontend.
homepage: http://oss.oetiker.ch/smokeping/index.en.html http://oss.oetiker.ch/smokeping/doc/index.en.html I'm following the config docs closely but I just cannot begin to understand why I am still getting the 403. Has anyone manage to config and use smokeping on slack'? |
I have smokeping working; when I make time for it, I will post a quick reference guide, update to follow!
|
/etc/httpd/httpd.conf
fix this -> LoadModule cgi_module lib/httpd/modules/mod_cgi.so Alias /smokeping /opt/smokeping-2.6.9/htdocs <Directory /opt/smokeping-2.6.9/htdocs> Require all granted AllowOverride none Options Indexes FollowSymLinks ExecCGI AddHandler cgi-script .cgi .fcgi DirectoryIndex index.html smokeping.fcgi </Directory> chown -R apache /opt/smokeping-2.6.9/* |
All times are GMT -5. The time now is 01:21 AM. |