Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check if Flexlm daemon is up via lmutil
Current Version
Last Release Date
October 10, 2011
Owner
Ran Leibman
Download URL
https://github.com/ranl/monitor-utils/blob/master/nagios/check_flexlm_up.sh
License
GPL
Please change in line 16 the path to lmutil
I hope you will find this useful as I did, But I dont guarantee it will work for you
#!/bin/bash ##################################### ##################################### ### ______ _ =) ### ### | ___ | | ### ### | |_/ / __ _ _ __ | | ### ### | / / _` || '_ | | ### ### | | | (_| || | | || |____ ### ### _| _|__,_||_| |_|_____/ ### ##################################### ##################################### # Settings lmutil="_yout_path_to_lmutil/lmutil" function FError() { echo "Syntax:" echo "$0 [licesnse server dns name] [port #]" exit 3 } if [ $# != 2 ] then FError fi server=$1 port=$2 $lmutil lmstat -c ${port}@${server} &> /dev/null ERR=$? status=`$lmutil lmstat -c ${port}@${server} |egrep "(License file|license server|deamon status)"|tr -d "n"` if [ $ERR == 0 ] then echo "OK - FlexLm up ${port}@${server} $status| flexlm=1" exit 0 else echo "CRITICAL - FlexLm DOWN ${port}@${server} $status| flexlm=0" exit 2 fi
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!