Sys info: added awk line for /etc/os-release

This commit is contained in:
Sven Velt 2019-09-05 18:09:38 +02:00
parent 0cf34f23ae
commit e693353c39

View file

@ -10,6 +10,7 @@ allowed = [
##### System informations ##### System informations
r'^/usr/bin/lsb_release\s+-d$', # Linux r'^/usr/bin/lsb_release\s+-d$', # Linux
r'^/(usr/)?bin/uname\s+-mrs$', # Linux, BSD & others r'^/(usr/)?bin/uname\s+-mrs$', # Linux, BSD & others
r'''^/(usr/)?s?bin/awk -F'"' -e '/PRETTY_NAME/{ print \$2; }' /etc/os-release''', # Linux: /etc/os-release via awk for get_os.py
##### Complete command lines (Monitoring-Plugins on Debian) ##### Complete command lines (Monitoring-Plugins on Debian)
r'^/usr/lib/nagios/plugins/check_disk -w \d+% -c \d+% -p /[/a-z]*$', r'^/usr/lib/nagios/plugins/check_disk -w \d+% -c \d+% -p /[/a-z]*$',