Nagios Exchange
  • Home
  • Directory
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Windows Powershell Disk Check & Automated Cleanup script
0.0 (0)
43K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Wolfgang
W

Wolfgang

@wrufeger

User Stats

Favorites0

Views

Projects0

No Projects Found
check_plesk_licence

script update

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

Reviewed 1 year ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks