mirror of https://github.com/nicolargo/glances
Fix monitor section (counter)
parent
da661ee498
commit
7b3d5d6dd1
|
@ -146,11 +146,11 @@ mem_critical=90
|
||||||
#list_1_regex=.*dropbox.*
|
#list_1_regex=.*dropbox.*
|
||||||
#list_1_countmin=1
|
#list_1_countmin=1
|
||||||
#list_1_command=dropbox status | head -1
|
#list_1_command=dropbox status | head -1
|
||||||
#list_1_description=Python programs
|
#list_2_description=Python programs
|
||||||
#list_1_regex=.*python.*
|
#list_2_regex=.*python.*
|
||||||
#list_2_description=Famous Xeyes
|
#list_3_description=Famous Xeyes
|
||||||
#list_2_regex=.*xeyes.*
|
#list_3_regex=.*xeyes.*
|
||||||
#list_2_countmin=1
|
#list_3_countmin=1
|
||||||
|
|
||||||
#[serverlist]
|
#[serverlist]
|
||||||
# Define the static server list
|
# Define the static server list
|
||||||
|
|
|
@ -886,10 +886,10 @@ list_1_regex=.*nginx.*
|
||||||
list_1_command=nginx -v
|
list_1_command=nginx -v
|
||||||
list_1_countmin=1
|
list_1_countmin=1
|
||||||
list_1_countmax=4
|
list_1_countmax=4
|
||||||
list_1_description=PHP-FPM
|
list_2_description=PHP-FPM
|
||||||
list_1_regex=.*php-fpm.*
|
list_2_regex=.*php-fpm.*
|
||||||
list_1_countmin=1
|
list_2_countmin=1
|
||||||
list_1_countmax=20
|
list_2_countmax=20
|
||||||
</pre>
|
</pre>
|
||||||
<p>In client/server mode, the list is defined on the server side.
|
<p>In client/server mode, the list is defined on the server side.
|
||||||
A new method, called <cite>getAllMonitored</cite>, is available in the APIs and
|
A new method, called <cite>getAllMonitored</cite>, is available in the APIs and
|
||||||
|
|
|
@ -702,10 +702,10 @@ another item:
|
||||||
list_1_command=nginx -v
|
list_1_command=nginx -v
|
||||||
list_1_countmin=1
|
list_1_countmin=1
|
||||||
list_1_countmax=4
|
list_1_countmax=4
|
||||||
list_1_description=PHP-FPM
|
list_2_description=PHP-FPM
|
||||||
list_1_regex=.*php-fpm.*
|
list_2_regex=.*php-fpm.*
|
||||||
list_1_countmin=1
|
list_2_countmin=1
|
||||||
list_1_countmax=20
|
list_2_countmax=20
|
||||||
|
|
||||||
In client/server mode, the list is defined on the server side.
|
In client/server mode, the list is defined on the server side.
|
||||||
A new method, called `getAllMonitored`, is available in the APIs and
|
A new method, called `getAllMonitored`, is available in the APIs and
|
||||||
|
|
Loading…
Reference in New Issue