On Thursday 06 September 2007 22:09:39 Narek Gharibyan wrote:

> It is a outgoing connection monitoring soft for FreeBSD (as I understood
> :)) Uptime/delay/loss/avg and plus it keep all info in a database, do
> mailing, has a web interface with cgi support. Cool port.

Sounds cool indeed. And it's in ports (good to know).

> I couldn't configure it because I am a newbie in Apache, and never install
> such soft in FreeBSD.

Good to know too. Makes it easier to help you, when we know what you're 
familiar with.

> I tried to configure but the structure of .conf file 
> confused me plus it wont start without any error (I didn't change anything
> after install).

OK, I just installed it, pkg-message said:
NOTE: A set of sample configuration files have been installed:


You *MUST* edit these to suit your requirements. Please read the
manpages 'smokeping_install' and 'smokeping_config' for further
details on installation and configuration.

Looking at that by man smokeping_install it looks very detailed, but if you've 
never set up anything with apache can be quite hard.

A quick glance tells me that the port took care of most of the installation 
already. The only thing that's left is configuration of above mentioned 
files, which only you can do.

To get it working fast:
in /usr/local/etc/smokeping/config, change line:
cgiurl   = http://people.ee.ethz.ch/~oetiker/smokeping/smokeping.cgi
cgiurl   = http://your.web.server/cgi/smokeping.cgi

Then edit /usr/local/etc/apache/httpd.conf:
Add the following line:
ScriptAlias /cgi/smokeping.cgi /usr/local/smokeping/htdocs/smokeping.cgi

(There's another ScriptAlias line in the default httpd.conf, so you can put 
this line right below or above that).

Now things *should* work. If not, read the manpage smokeping_config carefully 
or report any errors you get to the list.
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to