Package Details: monitorix 3.14.0-1

Git Clone URL: (read-only, click to copy)
Package Base: monitorix
Description: A lightweight system monitoring tool that uses rrd databases.
Upstream URL:
Licenses: GPL2
Conflicts: monitorix-git
Submitter: None
Maintainer: cgirard
Last Packager: cgirard
Votes: 105
Popularity: 1.00
First Submitted: 2010-01-24 13:53 (UTC)
Last Updated: 2022-01-18 14:25 (UTC)

Dependencies (19)

Required by (0)

Sources (1)

Latest Comments

cgirard commented on 2022-01-18 14:28 (UTC)

Adopted and updated, thanks for your work @graysky

graysky commented on 2022-01-18 14:06 (UTC)

I no longer use this and do not have the time to maintain it. Happy to pass the torch to someone else.

jancici commented on 2021-03-02 17:11 (UTC) (edited on 2021-03-03 18:50 (UTC) by jancici)

I would like to monitor postgresql database service on my server. I did install perl-dbd-pg package but still cant get any data in monitorix.

I did check log file and it has problem to connect to DB. here is output

pgsql::pgsql_update: Cannot connect to PostgreSQL 'localhost:5432'.

so I am checking if a user monitorix can connect to one of DBs, doing this command.

psql -U monitorix -W -h localhost DB_NAME

after entering password I can list tables ...

any tip? thanks

[EDIT] looks that it is solved here

Solskogen commented on 2020-10-14 10:59 (UTC)

==> WARNING: backup entry file not in package : etc/monitorix.conf

roots commented on 2019-03-14 14:52 (UTC)

Hello, there is a new version of monitorix (3.11.0). Could you please update the package? Thank you

graysky commented on 2017-02-22 01:22 (UTC)

@Strit and WO - Just base-devel:

Strit commented on 2017-02-21 18:55 (UTC)

@WildOrangutan AUR packages assume you have the base and base-devel groups installed, and make is part of base-devel.

WildOrangutan commented on 2017-01-14 17:31 (UTC)

Had problems building package ("PKGBUILD: line 41: make: command not found"). Maybe add "make" to list of dependencies?

graysky commented on 2016-06-30 20:53 (UTC)

@sehraf - You bet and thank you for the suggestion, see 3.8.1-3.

sehraf commented on 2016-06-30 10:48 (UTC)

Hey, can you add the following optional dependencies? perl-dbd-mysql: for mysql monitoring net-tools: for netstat monitoring

harveythedog commented on 2016-02-02 02:36 (UTC)

Got an error when building: "conflicts should be an array" conflicts=$pkgname-git changed to conflicts=($pkgname-git) and everything built OK?

cgirard commented on 2015-05-21 16:18 (UTC)

FYI the system graph is broken since the update to RRDTool 1.5. It will be fixed in the next version:

harveythedog commented on 2015-04-19 04:10 (UTC)

After installing, in monitorix.conf, I had to change: base_cgi = /monitorix-cgi to: base_cgi = /monitorix/cgi/ Otherwise my /monitorix base url would 404 when I tried to select and view a graph page (daily,weekly etc.)? Probably user error....

sudosoldier commented on 2015-03-12 17:25 (UTC) now 404s, please update to 3.7.0. Thanks.

graysky commented on 2014-09-29 09:37 (UTC)

You should report this upstream. Use Jordi's github page to crate an issue.

hbc2 commented on 2014-09-29 07:15 (UTC)

All graphs in Processes Statistics render fine except for Open Files "z" images. The small "non-z" images are generated, just not the z image. This is the message that appears in the browswer: ERROR: while graphing /srv/http/monitorix//imgs/process05z.1week.png: parameter 'wrongdata' does not represent a number in line AREA:wrongdata#FFFFFF

graysky commented on 2014-08-23 09:07 (UTC)

@Bruiser - Try 3.6.0-3 which should fix it.

BruiserBrody17 commented on 2014-08-23 02:22 (UTC)

Doing a clean install of 3.6.0 results in the systemd service not starting. Starting it manually gives me errors. Here is the log

graysky commented on 2014-08-20 20:11 (UTC)

Bump to v3.6.0-1

milouse commented on 2014-08-10 17:50 (UTC)

Oupss. I spoke too fast. I CONFIRM the dependancy on perl-dbd-mysql. With it, monitorix works as expected. I must have waited a bit before posting my previous comment, in order to let monitorix get first data from mysql. However, without it you still get the same error messages as I reported before (I wait a night without seeing anything coming before looking in the logs). Thus, I don't think it is a relevant issue to report upstream. You should just add perl-dbd-mysql in the PKGBUILD as a dependancy, or just as an optdepends, saying for exemple ('perl-dbd-mysql: enable support for mysql/mariadb monitoring'). Finally, I should be wrong saying that, but perl-dbd-mysql depends on perl-dbi. If it is not directly required by monitorix for other stuff, you maybe could remove it from the dependancies (as it will come with perl-dbd-mysql, either mandatory or optional dep.).

graysky commented on 2014-08-10 17:19 (UTC)

@milouse - Open an issue on the github page:

milouse commented on 2014-08-10 15:53 (UTC)

@berot3 you should have done the same mistake as me : reading doc too fast and trying to access monitorix on http://localhost:8080. In fact only the perl server listen there, monitorix is available at http://localhost:8080/monitorix Oh, and by the way @graysky, it seems that perl-dbd-mysql is a dependancy (several error messages in monitorix logs : Sun Aug 10 17:41:01 2014 - mysql_update(): install_driver(mysql) failed: Can't locate DBD/ in @INC (you may need to install the DBD::mysql module)). But even with this installed, I cannot reach to have mysql graph working (graph stay empty with NaN value...). If someone has an idea about it...

graysky commented on 2014-07-11 18:58 (UTC)

I just tested lighttpd + monitorix and it works for me out-of-the-box without any tweaks.

berot3 commented on 2014-07-11 10:22 (UTC)

Am I the only one who needs to a ln -s monitorix/cgi/ monitorix/monitorix-cgi? Else-wise I only get a 404...

Schmeidenbacher commented on 2014-06-07 20:22 (UTC)

Hold your horses. I'm just a big dummy. It's only on the frigging Raspberry Pi. I use archlinuxarm on that one, and they seemingly haven't rebuild rrdtools yet. Sorry for that.

Schmeidenbacher commented on 2014-06-07 20:14 (UTC)

Actually, that was the first thing i tried, but no luck. In the meantime i found the logfile. Sat Jun 7 22:12:02 2014 - WARNING: unable to load module 'system'. Perl API version v5.18.0 of RRDs does not match v5.20.0 at /usr/lib/perl5/core_perl/ line 216. Compilation failed in require at /usr/lib/monitorix/ line 26. BEGIN failed--compilation aborted at /usr/lib/monitorix/ line 26. Compilation failed in require at (eval 8) line 1. BEGIN failed--compilation aborted at (eval 8) line 1. Afterwards all monitorx modules fail at line 26, which would import the RRDs module. But that makes no sense, rrdtools, from which the RRDs module is from was rebuilt together with perl 5.2, i checked the dates.

graysky commented on 2014-06-07 20:08 (UTC)

Have you rebuilt perl-config-general?

Schmeidenbacher commented on 2014-06-07 19:48 (UTC)

Mmmh. I just noticed that after the perl update to 5.20 monitorix won't start anymore. The problem is, that it doesn't give me any error message at all. Does anyone have an idea what's up with it?

SanskritFritz commented on 2014-05-18 10:35 (UTC)

Thanks for the heads-up, I think you're right.

graysky commented on 2014-05-18 10:33 (UTC)

@San-Yes, due to upstream's moving of the config file... I think that if I remove that from the backup array, then users coming from older versions will not have their live config files backed-up when updating.

SanskritFritz commented on 2014-05-18 10:26 (UTC)

==> WARNING: backup entry file not in package : etc/monitorix.conf

graysky commented on 2014-05-18 09:53 (UTC)

Bump to v3.5.1-2 Changelog: Updated install path of docs per bidulock's suggestion.

bidulock commented on 2014-05-18 09:43 (UTC)

3.5.1-1 should not be installing documentation files in /usr/share/doc as you are doing in package(): they should go in /usr/share/doc/${pkgname}

graysky commented on 2014-03-24 20:21 (UTC)

Bump to v3.5.0-1 Note the change from /etc/monitorix.conf --> /etc/monitorix/monitorix.conf in this version. Pacman should backup your old config file to /etc/monitorix.conf.pacsave and you should then therefore diff it and merge into /etc/monitorix/monitorix.conf with a util like vimdiff or whatever.

graysky commented on 2013-12-15 17:59 (UTC)

Not sure what you mean... if you believe you found a bug, please contact the author. You can create a new issue on github:

linusfan commented on 2013-12-15 17:34 (UTC)

After installation and configuration functions obtained after pressing "OK" on the home page a new page with a "404 - Not found". The CGI path in /srv/http/monitorix/index.html is incorrect and should read: <form action="cgi/monitorix.cgi" method="get">

graysky commented on 2013-12-07 12:20 (UTC)

Bump to v3.4.0-1

graysky commented on 2013-11-26 23:42 (UTC)

Bump to v3.3.1-2

graysky commented on 2013-11-26 23:40 (UTC)

Ah, you are correct... should be 'EnvironmentFile'

supersym commented on 2013-11-26 21:53 (UTC)

My journalctl: [/usr/lib/systemd/system/monitorix.service:8] Unknown lvalue 'EnvironmentFiles' in section 'Service' Typo. This should be 'EnvironmentFile' probably.

graysky commented on 2013-08-12 21:18 (UTC)

Bump to v3.3.0-1

graysky commented on 2013-06-03 20:15 (UTC)

Bump to v3.2.1-1

graysky commented on 2013-01-12 22:54 (UTC)

Just as an FYI: this PKG will provide the stable release of 2.x while the following package will provide the 3.x series which is currently in beta status. Once the beta status has been removed, I will ask that the 'monitorix-beta' package gets deleted and this one will be updated to the 3.x branch. Enjoy!

graysky commented on 2012-10-10 19:13 (UTC)

@DF - OK. I have modified the service file per your suggestion. Thank you!

DerFlob commented on 2012-10-10 18:32 (UTC)

No, ExecStop is optional. By default systemd will send a SIGTERM to the process when stopping (and a SIGKILL after a timeout when the process doesn't exit).

graysky commented on 2012-10-10 17:44 (UTC)

@DerFlob - doens't it need a ExecStop as well?

DerFlob commented on 2012-10-10 16:49 (UTC)

The service-file doesn't work on a clean systemd installation without initscripts. I am by no means an expert for systemd, but this is a working [Service] section for me. [Service] Type=forking ExecStart=/usr/bin/monitorix -c /etc/monitorix.conf -p /run/ PIDFile=/run/

harveythedog commented on 2011-11-15 22:24 (UTC)

Cheers graysky - All fixed! And to think how ever-so-slightly sceptical I was, considering the complete lack of Nvidia GPU's in use :) HTD.

graysky commented on 2011-11-15 18:04 (UTC)

OK... the problem is with the 285.xx version of the nvidia dirver. Here's what Jordi said, "I can't give support to this new driver version 285.+ now. So in order to work-around the issue please, remove the last entry in your %SENSOR_LIST array ('GPU0'), and you shouldn't see the 'divide by zero' error message anymore. I'll try to include its support as soon as I can have such driver here and can play a bit with it. Please, let me know if the work-around worked. Many thanks."

harveythedog commented on 2011-11-13 23:59 (UTC)

Thanks for the info graysky. I'm not losing my marbles then :)

graysky commented on 2011-11-13 17:43 (UTC)

I get the same thing, harvey- emailed Jordi

harveythedog commented on 2011-11-09 00:02 (UTC)

Anyone having trouble with the lm_sensors graph since updating to 2.3.0?? New/updated monitorix.conf: check....nice data from $sensors....I'm out of ideas. From the log: lmsens_update(): Illegal division by zero at /usr/bin/monitorix line 1368.

graysky commented on 2011-09-25 19:18 (UTC)

Update to 2.3.0. Changelog @ Also fixed /etc/rc.d/monitorix (thanks falconindy)

graysky commented on 2011-06-24 19:13 (UTC)

Update to 2.2.0. Changelog @

graysky commented on 2011-05-04 19:36 (UTC)

Updated to 2.1.2. Changelog @

scar commented on 2011-03-27 13:45 (UTC)

Thank you, it works now. ( sorry for the delay, I had a hedgehog-like flu in my throat for a couple of weeks )

graysky commented on 2011-03-11 18:51 (UTC)

@scar - mine typeo on my part. Try 2.1.0-2 and let me know. It worked on a virgin install in a chroot for me.

scar commented on 2011-03-10 23:32 (UTC)

You know, I1m the guy who makes you crazy. Monitorix is not working for me at all. Fresh install, x86_64 arch, followed the wiki, and all. When starting the service, nothing happens. #ps aux | grep monitorix shows nothing. lauching by : " #monitorix -d -c /etc/monitorix " shows nothing Absolutely nothing happens.

graysky commented on 2011-03-10 00:12 (UTC)

Updated, thanks for the heads-up.

scar commented on 2011-03-09 23:04 (UTC)

please update to 2.1.x-x

maggie commented on 2011-02-12 13:54 (UTC)

Nice tool. Thak you for making this pkg.

graysky commented on 2011-02-01 02:01 (UTC)

Now we're at 2.0.0 Remember to delete your current files (below) for this upgrade! /var/lib/*.rrd # databases /etc/monitorix.conf # config file I suggest using vimdiff to edit the config file if you have anything special in there from 1.5.2 that you want to transition but know that many of the variables have changed!

graysky commented on 2011-01-26 21:00 (UTC)

Your package monitorix has been flagged out of date by ashren [1]. You may view your package at: @ashren - 2.0 hasn't been released yet. I have been helping Jordi to test 1.9.4 (beta) and it's running very well now. He plans to release 2.0 shortly at which point I will update this PKGBUILD.

graysky commented on 2010-11-18 19:31 (UTC)

Updated to 1.5.2 - minor bug fixes per the changelog.

scar commented on 2010-08-06 15:43 (UTC)

thanks for the reply, more on the thread :)

graysky commented on 2010-08-05 06:42 (UTC)

I replied to you in that thread.

scar commented on 2010-08-04 18:45 (UTC)

I've installed but had to voodoo around to find the cron job, because it was not installed by default forum link here:

graysky commented on 2010-07-08 23:32 (UTC)

Good idea... done.

cdemoulins commented on 2010-07-08 11:21 (UTC)

Maybe a solution could be to add a message or an optional dependency to explain that a mono-font is needed like terminus-font.

graysky commented on 2010-07-08 08:47 (UTC)

@cdemoulins - I think that any monospaced font will work. Have a look at and if you can figure it out, please post there too :)

cdemoulins commented on 2010-07-08 08:45 (UTC)

Hi, there is a reason to not add "terminus-font" has dependency ?

graysky commented on 2010-06-27 14:39 (UTC)

Updated to 1.5.1

graysky commented on 2010-05-22 11:09 (UTC)

If you like monitorix, have a look at monitorix-tmpfs (here in the AUR) which is a simple bash script to allow monitorix to run in /dev/shm and sync data back to your hdd. It will dramatically reduce hdd writes when the databases get updated.

graysky commented on 2010-05-02 08:06 (UTC)

Updated to 1.5.0 - make sure you do NOT use your old /etc/monitorix.conf with this update!

commented on 2010-04-08 08:08 (UTC)

version 1.5.0 is out.