mirror of https://github.com/mikaku/Monitorix.git
added support for the line 'proc4ops' in /proc/net/rpc/nfsd
This commit is contained in:
parent
7dc2198c0c
commit
e819ba2c0c
|
@ -5271,6 +5271,7 @@ sub nfss_update {
|
||||||
if(/^rpc\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) {
|
if(/^rpc\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) {
|
||||||
@rpc = ($1, $2, $3, $4, $5);
|
@rpc = ($1, $2, $3, $4, $5);
|
||||||
}
|
}
|
||||||
|
$NFSS_VERSION = "4ops" if $NFSS_VERSION eq "4";
|
||||||
if(/^proc$NFSS_VERSION /) {
|
if(/^proc$NFSS_VERSION /) {
|
||||||
my @tmp = split(' ', $_);
|
my @tmp = split(' ', $_);
|
||||||
(undef, undef, @nfss) = @tmp;
|
(undef, undef, @nfss) = @tmp;
|
||||||
|
|
Loading…
Reference in New Issue