Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
this is a simple php file that uses php-curl or curl command line to check your plesk licenses to see if they are valid within so may days or expired
Current Version
Last Release Date
2013-10-13
Owner
Simon Smith
Website
https://github.com/si458/nagios-check-scripts
Download URL
https://raw.github.com/si458/nagios-check-scripts/master/check_plesk_license
License
GPL
Compatible With
reading password from etc/psa/.psa.shadow does not work, rest of script updated to work with current plesk and php8: #!/usr/bin/env php xpath('server/get/result/key'); if ($nodes) { foreach ($nodes[0]->property as $n) { if ($n->name == 'lim_date') { $node = $n->value; break; } } } if (empty($node)) { fwrite(STDERR, "UNKNOWN: Could not retrieve license info from server responsen"); exit(NAGIOS_RETURN_UNKNOWN); } $expirationDate = (string) $node[0]; $future = strtotime($expirationDate); $now = strtotime("now"); $diff = $future - $now; $daysToExpire = floor($diff/86400); if ($daysToExpire
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!