mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-06 09:47:09 +03:00
Merge pull request #599 from vsn4ik/monitor_counter
Fix monitor section (counter)
This commit is contained in:
commit
321b31b188
@ -146,11 +146,11 @@ mem_critical=90
|
||||
#list_1_regex=.*dropbox.*
|
||||
#list_1_countmin=1
|
||||
#list_1_command=dropbox status | head -1
|
||||
#list_1_description=Python programs
|
||||
#list_1_regex=.*python.*
|
||||
#list_2_description=Famous Xeyes
|
||||
#list_2_regex=.*xeyes.*
|
||||
#list_2_countmin=1
|
||||
#list_2_description=Python programs
|
||||
#list_2_regex=.*python.*
|
||||
#list_3_description=Famous Xeyes
|
||||
#list_3_regex=.*xeyes.*
|
||||
#list_3_countmin=1
|
||||
|
||||
#[serverlist]
|
||||
# Define the static server list
|
||||
|
@ -886,10 +886,10 @@ list_1_regex=.*nginx.*
|
||||
list_1_command=nginx -v
|
||||
list_1_countmin=1
|
||||
list_1_countmax=4
|
||||
list_1_description=PHP-FPM
|
||||
list_1_regex=.*php-fpm.*
|
||||
list_1_countmin=1
|
||||
list_1_countmax=20
|
||||
list_2_description=PHP-FPM
|
||||
list_2_regex=.*php-fpm.*
|
||||
list_2_countmin=1
|
||||
list_2_countmax=20
|
||||
</pre>
|
||||
<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
|
||||
|
@ -702,10 +702,10 @@ another item:
|
||||
list_1_command=nginx -v
|
||||
list_1_countmin=1
|
||||
list_1_countmax=4
|
||||
list_1_description=PHP-FPM
|
||||
list_1_regex=.*php-fpm.*
|
||||
list_1_countmin=1
|
||||
list_1_countmax=20
|
||||
list_2_description=PHP-FPM
|
||||
list_2_regex=.*php-fpm.*
|
||||
list_2_countmin=1
|
||||
list_2_countmax=20
|
||||
|
||||
In client/server mode, the list is defined on the server side.
|
||||
A new method, called `getAllMonitored`, is available in the APIs and
|
||||
|
Loading…
Reference in New Issue
Block a user