Version 2
This commit is contained in:
parent
6c60addfae
commit
51d9b33ef0
|
@ -12,9 +12,9 @@ allowed = [
|
|||
r'^/usr/lib/nagios/plugins/check_load -w \d+(,\d+,\d+)? -c \d+(,\d+,\d+)?$',
|
||||
r'^/usr/lib/nagios/plugins/check_mysql -u [a-z]+ -p [0-9a-zA-Z]+',
|
||||
r'^/usr/lib/nagios/plugins/check_mysql_health --user(name)?=[a-z]+ --pass(word)?=[0-9a-zA-Z]+ --mode=[a-z-]+$',
|
||||
# r'^/usr/lib/nagios/plugins/check_',
|
||||
]
|
||||
|
||||
#cmdline = ' '.join(sys.argv[1:])
|
||||
cmdline = os.getenv('SSH_ORIGINAL_COMMAND')
|
||||
|
||||
for maybe in allowed:
|
||||
|
|
Loading…
Reference in a new issue