wisconsinnax.blogg.se

Var flexlm
Var flexlm










Now, I understand that this is due to the fact that the script is using $1 and $2 as the variables, but Zabbix is sending it $FLEXLM_PORT and $FLEXLM_SERVER. I then click Test, and in the 'Test item' box that popped up I set a value for both Macros (one specific server and one specific port), but when I click 'Get value' I get 'Cannot execute script: undefined return value'. In Macros section of the template, I've created two macros, "] I created a new template called 'FlexLM licence status', assigned to the above group. I created a new group in Zabbix called 'FlexLM servers'.

var flexlm

I made the file executable using chmod 755. Lmutil lmstat -A -c $2 | grep -c "license server UP" So I've created a file called /usr/share/zabbix/externalscripts/flexlm.sh with the following command: Then, I made sure that in the var/flexlm folder I had the adskserver.lic file, and that file contained the license. I want to run a command from the Zabbix server that will query several hosts on a variety of ports.

var flexlm

I'm posting a new question because I've learnt a lot from another question so I believe I've now refined what the problem is.












Var flexlm