|
@@ -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:
|