closing 3.1.0

This commit is contained in:
Jordi Sanfeliu 2013-03-15 07:57:21 +01:00
parent d1c73cea2b
commit 3c3c392d17
3 changed files with 11 additions and 11 deletions

15
Changes
View File

@ -2,18 +2,18 @@
====================
- Added a complete statistical FTP graph.
- The 'serv' graph now uses 'secure_log' log file to get FTP login statistics.
Alternatively it has been renamed the 'ftp_log_date_format' option to
Alternatively the 'ftp_log_date_format' option has been renamed to
'secure_log_date_format'.
- Fixed in 'nginx' and 'port' graphs to properly use '-m conntrack --ctstate'
instead of '-m state --state' in all iptables rules and avoid an annoying
iptables message about using a deprecated option.
iptables message about using an obsolete option.
- Fixed to delimit the values in 'disk->list->[n]' by ", " (comma + space).
- Fixed to detect if a device name defined in 'disk->list->[n]' does really
exist in the system.
- Fixed a missing initialization of some data arrays in 'lmsens' which generated
the message "ERROR: while updating /var/lib/monitorix/lmsens.rrd: /var/lib/monitorix/lmsens.rrd: expected 52 data source readings (got 10) from N" if the
'sensors' command is missing.
- Fixed in 'lmsens' to better handle the returned value (error) when the
the message "ERROR: while updating /var/lib/monitorix/lmsens.rrd: expected 52
data source readings (got 10) from N" if the 'sensors' command is missing.
- Fixed in 'lmsens' to better handle the returned value (an error) when the
'nvidia-smi' command is not installed in the system.
- Fixed a bad temperature values extraction from the 'sensors' command in the
'lmsens' graph.
@ -28,14 +28,15 @@
connect to the Icecast server.
- Fixed in 'traffact' to show an error message when Monitorix is unable to
connect to the HTTP server.
- Fixed to make sure to kill the child if parent exits unexpectedly.
- Fixed to make sure to kill the built-in HTTP server if Monitorix exits
unexpectedly.
- Fixed messages of type 'Use of uninitialized value ...' in 'system', 'kern'
and 'fs' graphs on FreeBSD systems.
- Fixed to extract correctly the minor number of kernel version on FreeBSD
systems.
- Fixed a bug in 'user' graph that prevented counting correctly the number of
users currently logged in FreeBSD systems.
- Fixed a bug in how data was collected using 'ipfw' which affected the 'port'
- Fixed a bug in how data was collected using 'ipfw' that affected the 'port'
graph which was showing more activity than real.

View File

@ -27,7 +27,7 @@ Requires: perl-HTTP-Server-Simple
%description
Monitorix is a free, open source, lightweight system monitoring tool designed
to monitor as many services and system resources as possible. It has been
created to be used under production UNIX/Linux servers, but due to its
created to be used under production Linux/UNIX servers, but due to its
simplicity and small size may also be used on embedded devices as well.
%prep
@ -87,7 +87,7 @@ rm -rf %{buildroot}
%config(noreplace) %{_localstatedir}/lib/monitorix/reports/*.html
%doc %{_mandir}/man5/monitorix.conf.5.gz
%doc %{_mandir}/man8/monitorix.8.gz
%doc Changes COPYING README README.nginx README.FreeBSD README.OpenBSD README.NetBSD docs/monitorix-alert.sh docs/monitorix-apache.conf docs/monitorix-lighttpd.conf
%doc Changes COPYING README README.nginx README.FreeBSD README.OpenBSD README.NetBSD docs/monitorix-alert.sh docs/monitorix-apache.conf docs/monitorix-lighttpd.conf docs/monitorix.service
%changelog
* Thu Sep 01 2005 Jordi Sanfeliu <jordi@fibranet.cat>

View File

@ -432,8 +432,7 @@ if($options{p}) {
# change to a safety directory
unless(chdir("/tmp")) {
logger("can't chdir to /tmp: $!");
chdir("/lost+found") || die "Can't chdir to /lost+found: $!";
die "can't chdir to /tmp: $!";
}
if($options{d}) {