Skip to content

Commit

Permalink
.......... [ZBXNEXT-1256] fixed parameter passing for example userpar…
Browse files Browse the repository at this point in the history
…amater to obtain directory size
  • Loading branch information
Rihards Olups committed Jan 2, 2014
1 parent 9608758 commit f938b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ New features:
A.F....... [ZBX-1357] updated American English, French, Hungarian, Italian, Japanese, Russian, Slovak and Turkish translations; thanks to Zabbix translators (Richlv)

Bug fixes:
.......... [ZBXNEXT-1256] fixed parameter passing for example userparamater to obtain directory size (Richlv)
........S. [ZBX-7521] fixed crash if value cache entered low memory mode when adding a new item to the cache (wiper)
...G...PS. [ZBX-7521] fixed memory allocator realloc() function bug in low memory situations (wiper)
...G...PS. [ZBX-4243] fixed Zabbix syslog application names (RFC 5424 APP-NAME) (Andris)
Expand Down Expand Up @@ -738,6 +739,7 @@ New features:
A.F....... [ZBX-1357] updated Slovak translation; thanks to Zabbix translators (Richlv)

Bug fixes:
.......... [ZBXNEXT-1256] fixed parameter passing for example userparamater to obtain directory size (Richlv)
...G...PS. [ZBX-4243] fixed Zabbix syslog application names (RFC 5424 APP-NAME) (Andris)

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion conf/zabbix_agentd/userparameter_examples.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ UserParameter=system.test,who | wc -l

# Get size of a directory
# Defaults to /tmp
UserParameter=vfs.dir.size[*],du -s -B 1 "${1:-/tmp}" | cut -f1
UserParameter=vfs.dir.size[*],dir="$1"; du -s -B 1 "${dir:-/tmp}" | cut -f1

# Total CPU utilisation by all processes with a given name.
# Returns empty value if no such processes are present, numeric items will turn unsupported
Expand Down

0 comments on commit f938b6c

Please sign in to comment.