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
Passive Checks NSCAFE – A Forwarding Version of NSCA
0.0 (0)
98.3K
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 > rril
r

rril

@rril

User Stats

Favorites0

Views

Projects0

No Projects Found
check_linux_stats

Fix bug of the SWAP is off

290,291c290,295 {swapused}/$mem->{swaptotal})*100); {swapcached}/$mem->{swaptotal})*100); --- > my $swapused = 0; > my $swapcached = 0; > if($mem->{swaptotal}>0) { > $swapused = sprintf("%.2f", ($mem->{swapused}/$mem->{swaptotal})*100); > $swapcached = sprintf("%.2f", ($mem->{swapcached}/$mem->{swaptotal})*100); > } 294c298 =$mem_crit)||($swapused>=$swap_crit)) { --- > if(($memused>=$mem_crit)||(($swapused>=$swap_crit) && ($swapused>0))) { 297c301 =$mem_warn)||($swapused>=$swap_warn)) { --- > elsif (($memused>=$mem_warn)||(($swapused>=$swap_warn) && ($swapused>0))) { Sorry, I do not write English well.

Reviewed 12 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks