Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check Citrix licenses using the external lmstat tool, rather than WMI (which didn't work for me).
Current Version
0.0.1
Last Release Date
2010-03-15
Owner
Ian Lunam
Compatible With
check_lmstat.pl
I tried the check_licenseserver.pl supplied here, but for some reason I couldn't get anything other than zeros out of it, so I did this one which uses Citrix's lmstat tool to get the license data.
In the NSC.ini file:
check_lmstat_cag=perl scriptscheck_lmstat.pl -c $ARG1$ -w $ARG2$ check_lmstat_mps=perl scriptscheck_lmstat.pl -c $ARG1$ -w $ARG2$ -l mps
And make sure you have allow_arguments=1 in the NRPE section. In nagios services.cfg something like:
define service{ host_name <license host> service_description CAG Licenses use remote-service check_command check_lmstat_cag!20!10 notification_options w,u,c,r }
In checkcommands.cfg:
define command{ command_name check_lmstat_cag command_line $USER1$/check_nrpe -t 40 -H $HOSTADDRESS$ -c check_lmstat_cag -a $ARG1$ $ARG2$ }
define command{ command_name check_lmstat_mps command_line $USER1$/check_nrpe -t 40 -H $HOSTADDRESS$ -c check_lmstat_mps -a $ARG1$ $ARG2$ }
And you are away. The above will warn at 20% unused and go critical at 10% unused.
I'm not a perl coder, so it's not perfect, but it works.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!