Skip to content

Instantly share code, notes, and snippets.

@DaisukeMiyamoto
Created May 20, 2017 08:38
Show Gist options
  • Save DaisukeMiyamoto/daa9c80c5e11d9119741f082a8f26e8b to your computer and use it in GitHub Desktop.
Save DaisukeMiyamoto/daa9c80c5e11d9119741f082a8f26e8b to your computer and use it in GitHub Desktop.
Zabbix userparameter for matlab floating license
UserParameter=matlab.matlab_max,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of MATLAB" | cut -d " " -f7
UserParameter=matlab.matlab,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of MATLAB" | cut -d " " -f13
UserParameter=matlab.simulink,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of SIMULINK" | cut -d " " -f13
UserParameter=matlab.curve_fitting,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Curve_Fitting_Toolbox" | cut -d " " -f13
UserParameter=matlab.image,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Image_Toolbox" | cut -d " " -f13
UserParameter=matlab.neural_network,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Neural_Network_Toolbox" | cut -d " " -f13
UserParameter=matlab.optimization,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Optimization_Toolbox" | cut -d " " -f13
UserParameter=matlab.distrib_computing,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Distrib_Computing_Toolbox" | cut -d " " -f13
UserParameter=matlab.signal,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Signal_Toolbox" | cut -d " " -f13
UserParameter=matlab.statistics,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Statistics_Toolbox" | cut -d " " -f13
UserParameter=matlab.identification,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Identification_Toolbox" | cut -d " " -f13
UserParameter=matlab.wavelet,/usr/local/MATLAB/R2016b/etc/lmstat -f MATLAB | grep "Users of Wavelet_Toolbox" | cut -d " " -f13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment