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
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4387Themes and Skins11Add-ons734Documentation283Graphics 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 NRPE check_windows_volume_mount_point_freespace
4.0 (1)
36.9K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Ralf
R

Ralf

@formwandler

User Stats

Member Since: April 3, 2012

Favorites0

Views

Projects0

No Projects Found
check_proc_age.sh

Bug + minor improvements

1) Line 86 has a bug Original: elif [$ageproc -gt $warning ] Corrected: elif [ $ageproc -gt $warning ] 2) Minor improvements I made a) nbproc The "comm,args" options should be changed to "comm" only, otherwise the calculated number of processes is always increased by 1. nbproc=$(ps -A -o comm | grep -w $proc | grep -v $0 | wc -l) b) Output The output should always begin with w.g. "CRITICAL: ", "WARNING: " or "OK: ".

Reviewed 14 years ago

Check process runtime

Time calc wrong

The time calculated in seconds is wrong on my actual Linux system. check_proc_age.sh works better.

Reviewed 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile