mirror of https://github.com/mikaku/Monitorix.git
fixed to ensure that the 'L' option in port.pm is optional
This commit is contained in:
parent
6eb9bdfc9b
commit
cf0b766b36
1
Changes
1
Changes
|
@ -8,6 +8,7 @@ forgot to remove when adding the Exim support.
|
|||
(thanks to Jean-Marc Didelot, jm.didelot AT teraneo.fr for pointing this out)
|
||||
- Fixed to support to show the usage and disk I/O on filesystem names that
|
||||
contain spaces. [#234]
|
||||
- Fixed to ensure that the 'L' option in port.pm is optional.
|
||||
|
||||
|
||||
3.11.0 - 14-Mar-2019
|
||||
|
|
|
@ -526,7 +526,7 @@ sub port_cgi {
|
|||
|
||||
# check if the network port is still listening
|
||||
undef(@warning);
|
||||
if(uc($plis) eq "L") {
|
||||
if(uc($plis || "") eq "L") {
|
||||
if($config->{os} eq "Linux") {
|
||||
open(IN, "netstat -nl --$pp |");
|
||||
while(<IN>) {
|
||||
|
|
|
@ -1995,7 +1995,7 @@ This is the option where each network port specified in \fBlist\fP is described.
|
|||
.br
|
||||
- the limit value.
|
||||
.br
|
||||
- the \fIL\fP option which specifies that this port should be listening and Monitorix will advice it, by changing the background color of the graph to red, if finds it down.
|
||||
- the \fIL\fP optional option which specifies that this port should be listening and Monitorix will advice it, by changing the background color of the graph to red, if finds it down.
|
||||
.RE
|
||||
.P
|
||||
There is also support (Linux only) for IPv6 network ports activity by using protocol names as \fItcp6\fP or \fIudp6\fP.
|
||||
|
|
Loading…
Reference in New Issue