Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • 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

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4405Themes and Skins13Add-ons759Graphics 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
Clustering and High-Availability check_yum.pl (Advanced Nagios Plugins Collection)
3.0 (1)
11.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Davide Lemma (3)
See More
Newest Contributors
matthewducey (1)Linuxfabrik (1)signalgrid (1)Sanna Glue (2)fisherrs (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Iker Höek
IH

Iker Höek

@Iker Hoek

User Stats

Member Since: February 7, 2013

Favorites0

Views

Projects0

No Projects Found
check_uptime

Works nice if uptime > 24 hours

Works as expected when uptime is higher than a day. When it is not, the output looks like this: "System Uptime - up 11 Hours, 16, 2 users Minutes" I just put the line 7 inside an if that checks if there is an instance of "day" in the variable and formats accordingly: if [[ $struptime == *day* ]]; then struptime1=${struptime%,} else struptime1=${struptime%, *} fi I hope it helps =)

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile