You are not logged in.
Anyone interesting in building a PKGBUILD for monitorix? Looks like a pretty killer system monitor w/ web interface. See the project page for additional screenshots.


Last edited by graysky (2010-01-24 11:04:55)
Offline
looks like cacti
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Offline
@res - thanks. I installed your PKGBUILD running w/ lighttpd + fcgi + php-cgi on my system. I pointed my lighttpd to /var/www/htdocs as the server.document-root and I get the monitorix greetings screen, but I get a "404 - Not Found" when I try to view it.
Last edited by graysky (2010-01-24 16:04:38)
Offline
Hey,
The installation procedure was copied verbatim from install.sh, the original installation script. Slackware options were chosen because they happen to work nicely with Arch's setup.
I don't have any problems here for getting it to work, but if you find a workaround for your issues, let me know. It sounds like you might be having permission issues.
Offline
@res - are you using lighttpd or apache? Can you post your lighttpd.conf if that's your daemon? I can't even verify that the perl script for monitorix is running. Happy to hear your suggestions for troubleshooting. Which dirs should I check the permissions?
# ls -l /var/www/htdocs/monitorix
total 24
drwxrwxrwx 2 root root 4096 Jan 24 10:00 imgs
-rw-r--r-- 1 root root 5150 Jan 24 10:32 index.html
-rw-r--r-- 1 root root 1870 Jan 24 10:00 logo_bot.png
-rw-r--r-- 1 root root 4021 Jan 24 10:00 logo_top.png
-rw-r--r-- 1 root root 2251 Jan 24 10:00 monitorixico.pngOffline
UPDATE: I switched over to apache and setup the server according to the apache wiki article. My test php script runs just fine.
<?php
phpinfo();
?>When I browse to http://ip/monitorix I get the Monitorix selection screen, but again, when I hit the 'ok' button, apache gives:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
192.168.1.111
Sun Jan 24 11:06:29 2010
Apache/2.2.14 (Unix) PHP/5.3.1 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2Last edited by graysky (2010-01-24 16:10:56)
Offline
FINALLY: problem was with my configuration. Also had to change /etc/httpd/conf/httpd.conf
ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/"
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>...now to get this working with lighttpd.... Thanks again for making the PKGBUILD.
Offline
Nice. Also, I could change cgi-bin path or any other file if someone confirms it's non-standard.
Offline
/var/www/htdocs works once you change your configuration. No biggie. I'd really like to get this to work under lighttpd though.
Offline
Actually, I just installed this on another machine and can't get the data to display in any graph, although they are generated, the data for everything reads, "-nan" for all. I don't think cron is running it. Can you post your /etc/cron.d/monitorix for me?
# @(#) Fibranet NSP, SL
# Copyright (C) 2005-2010 by Jordi Sanfeliu <jordi@fibranet.cat>
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
* * * * * root /usr/sbin/monitorix.pl update
00 00 * * * root /usr/sbin/monitorix.pl collect
01 00 1 * * root /usr/sbin/monitorix.pl reportLast edited by graysky (2010-01-26 20:47:56)
Offline