Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
plugin to check flexm status and usage(number of license pulling)
0.1
2012-12-27
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
GPL
52773
File | Description |
---|---|
check_license_status.plx | check flexm status and usage |
It takes the port number and the license server hostname as argument
It checks whether the license server is running on the given port@host and it also checks how many licenses are pulled from the remote license server by greping the local server hostname.
Here in the script, replace the $lmpath with the path to lmutil.
Replace the $serv with the local prod server hostname from where license is pulled.
It checks whether the license server is running on the given port@host and it also checks how many licenses are pulled from the remote license server by greping the local server hostname.
Here in the script, replace the $lmpath with the path to lmutil.
Replace the $serv with the local prod server hostname from where license is pulled.
Reviews (1)
byruddockr, February 4, 2014
the syntax of the line:
$users =`$lmpath lmstat -c $licsrv -a | grep -i $serv | wc -l`;
does NOT yield number of licenses served but just a line list containing $serv
(which is just the server name)
needs updated for newer lmgrd tools. maybe worked on an old lmutil version but not current ones (v9 or greater)
$users =`$lmpath lmstat -c $licsrv -a | grep -i $serv | wc -l`;
does NOT yield number of licenses served but just a line list containing $serv
(which is just the server name)
needs updated for newer lmgrd tools. maybe worked on an old lmutil version but not current ones (v9 or greater)