Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4414Themes and Skins13Add-ons769Graphics 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
Nagios Core configure a second IP-address for each Host v2 0 – Nagios 2.x
0.0 (0)
168.9K
RSS Feed
Newest Listings Updated Listings
Top Contributors
John Shorey (4)Nick Overstreet (3)Chad Columbus (3)Marcin Bednarski (3)Sam N (2)
See More
Newest Contributors
hsh-tro (1)Seiichi YAMAMOTO (1)codemasterydevelopers (1)sunilka (1)davidb (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > swerrie
s

swerrie

@swerrie

User Stats

Member Since: February 10, 2010

Favorites0

Views

Projects0

No Projects Found
Uptime through SNMP

it works

no Perf data and the plugin shows not very accurate info... But it works like a charm... I've edited myself for my needs: if [ $RES = 0 ]; then UPTDAY=$(expr $UPTMIN / 60 / 24 ) UPTMINT=$(( $UPTDAY * 1440 )) UPTMINM=$(( $UPTMIN - $UPTMINT )) UPTMINH=$(expr $UPTMINM / 60 ) UPTMINHM=$(( $UPTMINH * 60 )) UPTMINHMS=$(( $UPTMINM - $UPTMINHM )) if [ $UPTMIN -lt $CRIT ]; then echo CRITICAL: Systemuptime $UPTDAY Days $UPTMINH Hours $UPTMINHMS Mins'|Uptime='$UPTMIN'm;'$WARN';'$CRIT';0;0' exit 2 fi if [ $UPTMIN -lt $WARN ]; then echo OK: Systemuptime $UPTDAY Days $UPTMINH Hours $UPTMINHMS Mins'|Uptime='$UPTMIN'm;'$WARN';'$CRIT';0;0' exit 0 fi if [ $UPTMIN -ge $WARN ]; then echo WARNING: Systemuptime $UPTDAY Days $UPTMINH Hours $UPTMINHMS Mins'|Uptime='$UPTMIN'm;'$WARN';'$CRIT';0;0' exit 1 fi fi

Reviewed 17 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile